You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install some specific packages (geosphere, and fullRankMatrix), I get the following error:
> pak::pkg_install("fullRankMatrix")
→ Will install 1 package.
→ Will download 1 package with unknown size.
+ fullRankMatrix 0.1.0 [dl]
ℹ Getting 1 pkg with unknown size
✔ Cached copy of fullRankMatrix 0.1.0 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build
✔ No downloads needed, all packages are cached
Error:
! error in pak subprocess
Caused by error in `verify_extracted_package(filename, pkg_cache)`:
!
/tmp/RtmpayG4sq/file1ab472c47dc/src/contrib/x86_64-pc-linux-gnu-ubuntu-22.04/4.4/fullRankMatrix_0.1.0.tar.gz
is not a valid R package, it is an empty archive.
Type .Last.error to see the more details.
install.packages works normally. This was previously described in a closed issue (#518). Just as the author of that issue, I don't have storage limitations.
I'm running R from a container that was create from the following Dockerfile:
This issue happens when the first path in .libPaths() is not writable by the user.
For Rocker container images, currently this happens because the user's writable library is set as the last path. See this issue: rocker-org/rocker-versioned2#857
One solution is to re-order the library paths so that the user's writable library is set as the first path. Something like:
When trying to install some specific packages (geosphere, and fullRankMatrix), I get the following error:
install.packages
works normally. This was previously described in a closed issue (#518). Just as the author of that issue, I don't have storage limitations.I'm running R from a container that was create from the following Dockerfile:
The text was updated successfully, but these errors were encountered: