search for: r_build_logname

Displaying 4 results from an estimated 4 matches for "r_build_logname".

2019 Jan 25
2
Patch idea: an environment variable for setting the user ID
...> > user <- Sys.getenv("R_BUILD_USERNAME") > > if (!nzchar(user)) user <- Sys.info()["user"] > > if(user == "unknown") user <- Sys.getenv("LOGNAME") > > Yep, something along these lines should be possible. > R_BUILD_USER or R_BUILD_LOGNAME may seem more natural though ... > > Best > -k > > > > > Will Landau > > -- > > wlandau.github.io > > linkedin.com/in/wlandau > > github.com/wlandau > > > [[alternative HTML version deleted]] > > > _____________________________...
2018 Nov 11
2
Patch idea: an environment variable for setting the user ID
To R-devel, In `R CMD build`, the ID of the user is automatically inserted into the DESCRIPTION file, e.g. Packaged: 2018-11-06 14:01:50 UTC; <MY USER ID> This is problematic for those of us who work in corporate settings. We must not divulge our user IDs in the packages we develop and release. Jim Hester pointed out that these two lines in `add_build_stamp_to_description_file()`
2018 Nov 12
0
Patch idea: an environment variable for setting the user ID
...write the default behavior? > user <- Sys.getenv("R_BUILD_USERNAME") > if (!nzchar(user)) user <- Sys.info()["user"] > if(user == "unknown") user <- Sys.getenv("LOGNAME") Yep, something along these lines should be possible. R_BUILD_USER or R_BUILD_LOGNAME may seem more natural though ... Best -k > Will Landau > -- > wlandau.github.io > linkedin.com/in/wlandau > github.com/wlandau > [[alternative HTML version deleted]] > ______________________________________________ > R-devel at r-project.org mailing list > https:/...
2019 Nov 22
0
Patch idea: an environment variable for setting the user ID
...getenv("R_BUILD_USERNAME") > > > if (!nzchar(user)) user <- Sys.info()["user"] > > > if(user == "unknown") user <- Sys.getenv("LOGNAME") > > > > Yep, something along these lines should be possible. > > R_BUILD_USER or R_BUILD_LOGNAME may seem more natural though ... > > > > Best > > -k > > > > > > > > > Will Landau > > > -- > > > wlandau.github.io > > > linkedin.com/in/wlandau > > > github.com/wlandau > > > > > [[alternative HT...