I planned to switch a forecasting class to RStudio Cloud but am getting the error below when loading the {anytime} package, which also causes some installations from Github to fail. I have the tidyverse and tidyverts installed, but the error happens even if it is the only installed package in the user library. It seems to happen with both R 4.0.0 and 3.6.3.
loading {anytime}:
Restarting R session...
library(anytime)
Failed to create bus connection: No such file or directory
Warning message:
In system("timedatectl", intern = TRUE) :
running command 'timedatectl' had status 1
When installing the latest dev version of {fable}, eveything is fine until this point:
** byte-compile and prepare package for lazy loading
Failed to create bus connection: No such file or directory
Error: package or namespace load failed for ‘fabletools’:
.onLoad failed in loadNamespace() for 'anytime', details:
call: system("timedatectl", intern = TRUE)
error: (converted from warning) running command 'timedatectl' had status 1
Error: package ‘fabletools’ could not be loaded
Execution halted
ERROR: lazy loading failed for package ‘fable’
*removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/fable’
*restoring previous ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/fable’
Error: Failed to install 'fable' from GitHub:
(converted from warning) installation of package ‘/tmp/RtmpIJ22iY/file18b7fadf0a8/fable_0.2.1.9000.tar.gz’ had non-zero exit status
I have not used RStudio Cloud much, so this is probably user error.