search for: loclatime

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

Did you mean: localtime
2017 May 17
3
problem running test on a system without /etc/localtime
....timezone function (location = TRUE) { tz <- Sys.getenv("TZ", names = FALSE) if (!location || nzchar(tz)) return(Sys.getenv("TZ", unset = NA_character_)) >> lt <- normalizePath("/etc/localtime") [remainder of the code skkipped] File /etc/loclatime is optional and is not guaranteed to be present on any platform. And anyway, it is a good idea to first check that file exists before calling normalizePath. Sure, this can be worked around by setting TZ environment variable, but that causes tests to fail in another place: [builder at localhost...
2017 May 17
0
problem running test on a system without /etc/localtime
...> { > tz <- Sys.getenv("TZ", names = FALSE) > if (!location || nzchar(tz)) > return(Sys.getenv("TZ", unset = NA_character_)) >>> lt <- normalizePath("/etc/localtime") > [remainder of the code skkipped] > > File /etc/loclatime is optional and is not guaranteed to be present on > any platform. And anyway, it is a good idea to first check that file > exists before calling normalizePath. Looking at the code (https://github.com/wch/r-source/blob/R-3-4-branch/src/library/base/R/datetime.R#L26), could it be that mustWor...
2017 May 17
1
problem running test on a system without /etc/localtime
...("TZ", names = FALSE) >> if (!location || nzchar(tz)) >> return(Sys.getenv("TZ", unset = NA_character_)) >>>> lt <- normalizePath("/etc/localtime") >> [remainder of the code skkipped] >> >> File /etc/loclatime is optional and is not guaranteed to be present on >> any platform. And anyway, it is a good idea to first check that file >> exists before calling normalizePath. > Looking at the code > (https://github.com/wch/r-source/blob/R-3-4-branch/src/library/base/R/datetim...