Closed Robinlovelace closed 1 hour ago
As shown here, pak still tries to upgrade the package even with the upgrade arg set to FALSE: https://github.com/geocompx/docker/actions/runs/10953278326/job/30413287861#step:8:368
After switching from exactly the same command with remotes it worked so this looks like a bug to me:
remotes::install_github("geocompx/geocompkg", dependencies = TRUE, upgrade = FALSE)
This is not a bug in pak, but an interaction with conda. If you are building non-conda R packages with an active conda, the build can fail. Even loading them can fail. Deactivate conda while you are using non-conda R, especially when you are installing packages.
As shown here, pak still tries to upgrade the package even with the upgrade arg set to FALSE:
Because httr2 requires a newer version of curl.
After switching from exactly the same command with remotes it worked so this looks like a bug to me:
Probably because remotes is not very smart, so just ignores the versioned requirements.
Because httr2 requires a newer version of curl.
Ah OK makes sense now.
We're working on a container that contained the following:
For some reason, it failed to install curl, as shown here and in subsequent error message: https://github.com/geocompx/docker/actions/runs/10944692306/job/30387186965#step:8:233
Wondering if it's something to do with the fact we're using
pixi
to install R here, but thought these unexpected error messages may be of use.More confusing is that, as far as I can tell, the error persists after asking
pak
not to upgrade anything:I get the same error message after that.