nelsopet / Fog_Desert

0 stars 0 forks source link

ecole package dependencies break on a Mac #1

Open nelsopet opened 3 years ago

nelsopet commented 3 years ago

When trying to run the NMS_Clean.R , I can't update the needed packages. I think this may stem from the Rtools issues.

install.packages("mgcv")

There is a binary version available but the source version is later: binary source needs_compilation mgcv 1.8-36 1.8-37 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes installing the source package ‘mgcv’

trying URL 'https://cran.rstudio.com/src/contrib/mgcv_1.8-37.tar.gz' Content type 'application/x-gzip' length 1175506 bytes (1.1 MB)

downloaded 1.1 MB

The downloaded source packages are in ‘/private/var/folders/4s/7zn1sydd5p531v8qcyn_rsfc0000gq/T/RtmphQiIhb/downloaded_packages’

phytomosaic commented 3 years ago

Package mgcv appears to already exist on the machine; this is testable by running require(mgcv).

nelsopet commented 3 years ago

Yes but the package is v 1.8.1 and ecole requires a newer version hence the need to install a new version.

nelsopet commented 3 years ago

devtools::install_github("https://github.com/phytomosaic/ecole") Downloading GitHub repo phytomosaic/ecole@HEAD ✓ checking for file ‘/private/var/folders/4s/7zn1sydd5p531v8qcyn_rsfc0000gq/T/RtmphQiIhb/remotes77e13d87ab7/phytomosaic-ecole-78e9969/DESCRIPTION’ ... ─ preparing ‘ecole’: ✓ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘ecole_0.8-2021.tar.gz’