Re: [Rd] LOGNAME env var in the check code

2021-11-18 Thread Kurt Hornik
> Gábor Csárdi writes: Thanks. c81206 changes to use user <- Sys.info()[["effective_user"]] which afawct should always give the same as the uname for files created by the current user. Pls check: if not, we can go for something like foo <- function() { writeLines("ABC", tf <-

Re: [Rd] LOGNAME env var in the check code

2021-11-17 Thread Kurt Hornik
> Gábor Csárdi writes: > While trying to reproduce a NOTE for > * checking for new files in some other directories ... NOTE > I noticed that the check code uses > Sys.getenv("LOGNAME") > to query the name of the current user. However on many systems this is > not set, so this is the empty

[Rd] LOGNAME env var in the check code

2021-11-16 Thread Gábor Csárdi
While trying to reproduce a NOTE for * checking for new files in some other directories ... NOTE I noticed that the check code uses Sys.getenv("LOGNAME") to query the name of the current user. However on many systems this is not set, so this is the empty string, and then no NOTE is shown.