Displaying 1 result from an estimated 1 matches for "r28867164".
2018 May 06
0
Sys.timezone (timedatectl) unnecessarily warns loudly
...uot;Etc/UTC"
#Warning message:
#In system("timedatectl", intern = TRUE) :
# running command 'timedatectl' had status 1
There was small discussion where I initially put comment about it in:
https://github.com/wch/r-source/commit/9866ac2ad1e2f1c4565ae829ba33b5b98a08d10d#r28867164
Below patch makes timedatectl call silent, both suppressWarnings and
ignore.stderr are required to deal with R warning, and warning printed
directly to console from timedatectl.
diff --git src/library/base/R/datetime.R src/library/base/R/datetime.R
index 6b34267936..b81c049f3e 100644
--- src/libr...