Closed CeresBarros closed 1 year ago
On windows, you can set an option to prevent checking source versions. From https://stat.ethz.ch/R-manual/R-devel/library/base/html/options.html:
install.packages.check.source
: Used by install.packages (and indirectly update.packages) on platforms which support binary packages. Possible values "yes" and "no", with unset being equivalent to "yes".
If installing the latest development
versions, prebuild packages can be installed from our R-universe repo:
options(repos = c("https://predictiveecology.r-universe.dev/", getOption("repos")))
Apparently the issue was related to 1) Rtools being installed but not well configured 2) R version too old (4.1.3)
However your points are great, thanks @achubaty
I've recently helped someone install
SpaDES.core
and I think there may be an issue related to lack of admin access and being able to install packages from source.Here's an outline of the issue (which I can't reproduce on my machine)
The last line failed as
quickPlot
andreproducible
could not be installed. Before failure we saw the message that the source version fo the packages was more recent than the binary.We circumvented the issue by installing the probelmatic dependencies with
install.packages
which had no issues and (I'm pretty sure) installed the source versions of the packages.I'm unsure what the problem is, as I can't reproduce -- I will try to make another windows user account (with no admin priviledges) to test.