pacman icon indicating copy to clipboard operation
pacman copied to clipboard

"lib is not writable" error when installing several packages

Open etrh opened this issue 7 years ago • 1 comments

When I run pacman::p_install("Rserve", "som", "ROCR", "KEGGgraph", character.only = T), I get the following error:

Warning in utils::install.packages(package, ...) : 'lib = "ROCR"' is not writable

Interestingly, when I run this command: pacman::p_install("ROCR", "Rserve", "som", "KEGGgraph", character.only = T), the error changes to:

Warning in utils::install.packages(package, ...) : 'lib = "som"' is not writable

However, the following works without an error:

pacman::p_install("ROCR")

This also works:

utils::install.packages("ROCR")

etrh avatar Jun 13 '18 11:06 etrh

I'm having the same problem. I also get errors if I try calling it with a vector of packages such as p_install(c("foo", "bar"), character.only = TRUE)

jonathan-g avatar Aug 28 '22 21:08 jonathan-g