search for: no_such_dir

Displaying 3 results from an estimated 3 matches for "no_such_dir".

2020 Mar 19
2
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
..., or is that intentional? The short version. Shouldn't: $ R_LIBS_USER='' Rscript --vanilla -e ".libPaths()" [1] "/home/hb/R/x86_64-pc-linux-gnu-library/4.0" [2] "/home/hb/software/R-devel/trunk/lib/R/library" give the same output as: $ R_LIBS_USER="no_such_dir" Rscript --vanilla -e ".libPaths()" [1] "/home/hb/software/R-devel/trunk/lib/R/library" ? The long version: R_LIBS_SITE='no_such_dir' and R_LIBS_USER='' is set up at the very end of tools:::setRlibs(): setRlibs <- ... c(paste0("R_LIBS=&q...
2020 Mar 19
1
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
...R_LIBS_USER. However, contrary > > What makes you think that? AFAIK --as-cran just sets a bunch of the (nearly > countless) environment variables (all described in R Inst+Admin, as I recall) > to a set of values "close to" values CRAN uses. 1. --as-cran sets R_LIBS_SITE='no_such_dir' and R_LIBS_USER='', whereas without --as-cran they're not set. 2. --as-cran sets R_LIBS_USER='no_such_dir' on Windows and there it is masked, i.e. tests scripts do NOT see user's personal library because print(Sys.getenv("R_LIBS_USER")) is reported as "&...
2020 Mar 19
0
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
...Dirk | The short version. Shouldn't: | | $ R_LIBS_USER='' Rscript --vanilla -e ".libPaths()" | [1] "/home/hb/R/x86_64-pc-linux-gnu-library/4.0" | [2] "/home/hb/software/R-devel/trunk/lib/R/library" | | give the same output as: | | $ R_LIBS_USER="no_such_dir" Rscript --vanilla -e ".libPaths()" | [1] "/home/hb/software/R-devel/trunk/lib/R/library" | | ? | | The long version: | | R_LIBS_SITE='no_such_dir' and R_LIBS_USER='' is set up at the very | end of tools:::setRlibs(): | | setRlibs <- | ... |...