[R] g++ error causes non-zero exit status for package installation

Dirk Eddelbuettel edd @ending from debi@n@org
Sat Jan 5 18:40:48 CET 2019


On 5 January 2019 at 09:14, William Dunlap via R-help wrote:
| You would get these errors ("R: file or directory not found, version: file
| or directory not found...") if you had a ~/.Rprofile file containing the
| line 'cat(version$version.string, sep="\n").

Well spotted -- very much so. That is bound to break use within src/Makevars
and alike. If you must do something in ~/.Rprofile either make it silent, or
make it conditional based on if (interactive()) { ...that_code_here... }

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-help mailing list