When I try this:
R -e "pak::pkg_install('local::/mnt/source/Biobase.tar.gz', lib='/tmp/BUILD')"
It fails with:
> pak::pkg_install('local::/mnt/source/Biobase.tar.gz', lib='/tmp/BUILD')
Error:
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
* local::/mnt/source/Biobase.tar.gz: ! pkgdepends resolution error for local::/mnt/source/Biobase.tar.gz.
Caused by error:
! Line starting 'Biobase/DESCRIPTION ...' is malformed!
---
Backtrace:
1. pak::pkg_install("local::/mnt/source/Biobase.tar.gz", lib = "/tmp/BUILD")
2. pak:::remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), …
3. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { …
2. get("pkg_install_make_plan", asNamespace("pak"))(...)
3. prop$stop_for_solution_error()
4. private$plan$stop_for_solve_error()
5. pkgdepends:::pkgplan_stop_for_solve_error(self, private)
6. base::throw(new_error("Could not solve package dependencies:\n", msg, …
7. | base::signalCondition(cond)
8. global (function (e) …
Execution halted
But the classic:
R CMD INSTALL --library=/tmp/BUILD /mnt/source/Biobase.tar.gz
will work.
Source for the file:
https://www.bioconductor.org/packages/release/bioc/src/contrib/Biobase_2.72.0.tar.gz
R: 4.6.0
packages:
> installed.packages()
Package LibPath Version Priority
pak "pak" "/home/r-build/mein-R" "0.9.5" NA
base "base" "/usr/lib64/R/library" "4.6.0" "base"
boot "boot" "/usr/lib64/R/library" "1.3-32" "recommended"
class "class" "/usr/lib64/R/library" "7.3-23" "recommended"
cluster "cluster" "/usr/lib64/R/library" "2.1.8.2" "recommended"
codetools "codetools" "/usr/lib64/R/library" "0.2-20" "recommended"
compiler "compiler" "/usr/lib64/R/library" "4.6.0" "base"
datasets "datasets" "/usr/lib64/R/library" "4.6.0" "base"
foreign "foreign" "/usr/lib64/R/library" "0.8-91" "recommended"
graphics "graphics" "/usr/lib64/R/library" "4.6.0" "base"
grDevices "grDevices" "/usr/lib64/R/library" "4.6.0" "base"
grid "grid" "/usr/lib64/R/library" "4.6.0" "base"
KernSmooth "KernSmooth" "/usr/lib64/R/library" "2.23-26" "recommended"
lattice "lattice" "/usr/lib64/R/library" "0.22-9" "recommended"
MASS "MASS" "/usr/lib64/R/library" "7.3-65" "recommended"
Matrix "Matrix" "/usr/lib64/R/library" "1.7-5" "recommended"
methods "methods" "/usr/lib64/R/library" "4.6.0" "base"
mgcv "mgcv" "/usr/lib64/R/library" "1.9-4" "recommended"
nlme "nlme" "/usr/lib64/R/library" "3.1-169" "recommended"
nnet "nnet" "/usr/lib64/R/library" "7.3-20" "recommended"
parallel "parallel" "/usr/lib64/R/library" "4.6.0" "base"
rpart "rpart" "/usr/lib64/R/library" "4.1.27" "recommended"
spatial "spatial" "/usr/lib64/R/library" "7.3-18" "recommended"
splines "splines" "/usr/lib64/R/library" "4.6.0" "base"
stats "stats" "/usr/lib64/R/library" "4.6.0" "base"
stats4 "stats4" "/usr/lib64/R/library" "4.6.0" "base"
survival "survival" "/usr/lib64/R/library" "3.8-6" "recommended"
tcltk "tcltk" "/usr/lib64/R/library" "4.6.0" "base"
tools "tools" "/usr/lib64/R/library" "4.6.0" "base"
utils "utils" "/usr/lib64/R/library" "4.6.0" "base"
When I try this:
R -e "pak::pkg_install('local::/mnt/source/Biobase.tar.gz', lib='/tmp/BUILD')"It fails with:
But the classic:
R CMD INSTALL --library=/tmp/BUILD /mnt/source/Biobase.tar.gzwill work.
Source for the file:
https://www.bioconductor.org/packages/release/bioc/src/contrib/Biobase_2.72.0.tar.gz
R: 4.6.0
packages: