Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Local instalation" of the package #21

Open
Vincent-Poitras opened this issue Oct 5, 2021 · 0 comments
Open

"Local instalation" of the package #21

Vincent-Poitras opened this issue Oct 5, 2021 · 0 comments

Comments

@Vincent-Poitras
Copy link

Hi,

I don't have administrator rights and I cannot install the package simply using install.packages("worldmet"), which yields

'lib = "...../compilers_and_tools/R/4.0.5/lib64/R/library"' is not writable


To fix this problem I tried to do a "local installation" install.packages("worldmet","/path_to_my_local_folder"), which don't work either:

Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: install.packages -> startsWith -> contrib.url
Execution halted


I tried (without being sure what I am doing) different things, e.g.
install.packages("https://cran.r-project.org/src/contrib/worldmet_0.9.5.tar.gz","/path_to_my_local_folder",dependencies=TRUE)
But this still not working:

inferring 'repos = NULL' from 'pkgs'
trying URL 'https://cran.r-project.org/src/contrib/worldmet_0.9.5.tar.gz'
Content type 'application/x-gzip' length 388109 bytes (379 KB)

downloaded 379 KB

ERROR: dependencies ‘openair’, ‘doParallel’, ‘foreach’, ‘purrr’, ‘dplyr’, ‘leaflet’, ‘tidyr’, ‘readr’ are not available for package ‘worldmet’
removing ‘/path_to_my_local_folder’


It is possible to indicate me how to install the worldmet package and its depencies in a "local directory", I am pretty sure I am not the only one with this issue.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant