Closed kmshort closed 3 years ago
Hi @kmshort
I've never seen this and I am unsure what is happening. You can also try to install condiments
from the devel branch of bioconductor? I would not be too worried about this though, it looks like it's related to differences between the internal time zones of your R session and your computer.
If you want to insure there is no obvious issues, you can run the vignette and see if you can reproduce the results.
Best
Hi @HectorRDB
Indeed you are correct. If I first do Sys.setenv(TZ="Australia/Melbourne")
, condiments does not complain.
This is most odd - I wonder what part of condiments is causing this. I have found the root cause of it though, is that systemd is not the bootstrapper for loading the linux kernel in WSL2. The workaround for R is to set its own time environment as I've found above.
So it seems as though a call to timedatectl is the culprit that's triggering the issue in R.
This is interesting because in baseR, Sys.time() and Sys.date() report the current time and date without issue; so base R is more robust in that manner. It seems as though some improvement of timedatectl to not solely rely on systemd would be useful.
I went through your Description. It looks like it's coming from your Ecume dependency. Ecume uses library(caret). From there, it gets complicated.
I think the easiest workaround is just to set the environment time in R. Thanks @HectorRDB .
best regards, Kieran
Thanks for doing an in-depth look!! I'm closing this issue but feel free to reopen if needed
Hi HectorRDB,
I'm using WSL Ubuntu 21.04, with R4.1 RC compiled with znver3 optimisations using g++11.
I've used
devtools::install_git("https://github.com/HectorRDB/condiments")
I've installed trajectory utils, tradeseq and slingshot without any problems (as well as many many many other R packages which are fine). However installing condiments I've come into an odd warning.
Much of the front half of the compilation works fine, but in the back half, I start getting odd errors, which all seem to involve "timedatectl".
For example, when 'recipes' is being installed, this happens:
When it's all finished and installed,
I haven't yet actually tried to do anything meaningful, but I'm wondering if you might know what's going on here? I'm not sure what "systemd" should have to do with it?
many thanks, K