I want to develop a private local package on a RStudio server but it seems configured in a way that makes that impossible.
I know that as a simple user I cannot install a package from the outside (eg. CRAN or git). But I have been thinking that I can make my own in order to build and use a set of private tools.
I can create a new package project but when I want to build it, I have the following message:
* installing to library ‘/srv/commun/rstudio-server/libpath_root/R/library/4.1.2’
Erreur : ERROR: no permission to install to directory ‘/srv/commun/rstudio-server/libpath_root/R/library/4.1.2’
Exited with status 1.
Is there any workaround other than sourcing files to build a set of functions?
What can I ask to the RStudio server administrator to allow me to make a local package?
From the comments, here is a comprehensive answer:
~/R-local-lib/One can set that in the Project Options of the RStudio menus.
~/.Rprofile: