Downloading greta package failed

Hello!

I am having trouble installing most packages, this is the error message when I try to install the package 'greta':

install.packages("greta", dependencies = FALSE)

There is a binary version available but the source version is later:
binary source needs_compilation
greta 0.3.0 0.3.1 FALSE

installing the source package ‘greta’

essai de l'URL 'https://mirror.ibcp.fr/pub/CRAN/src/contrib/greta_0.3.1.tar.gz'
Content type 'application/x-gzip' length 882526 bytes (861 KB)

downloaded 861 KB

ERROR: dependency ‘tensorflow’ is not available for package ‘greta’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/greta’
    Warning in install.packages :
    installation of package ‘greta’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/j4/4l_t2r9n50g01rvgzkf8j5_80000gn/T/Rtmp7hPlwZ/downloaded_packages’

Thank you for your help!

I think you should run install.packages("greta", dependencies = TRUE). It looks like the installation is failing because the tensorflow package is not installed.

Also, looks like you might be running R 3.4. If you're able, I strongly recommend updating to a newer version of R. The most recent version is R 4.0.2.

https://cran.r-project.org/

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.