The current instructions for managing local packages built from source in both the README on CRAN and the instructions on RStudio’s github page guide the user to set the path to the local repository using packrat::set_opts(local.repos = ...)
and then install using packrat::install_local()
.
After creating a subdirectory of my project folder to be the local repository, this has lead me to try the following:
packrat::install_local
the same way I would use install.packages
, e.g.: install_local("myPackage_0.10.4.tar.gz")
. After which packrat::status()
complains that “No package ‘myPackage’ found in local repositories specified.”install_local("myPackage")
which doesn’t work.myPackage
. This works, but I’m not sure if its correct?Some clarity in the instructions as to what exactly a “local repository” means would be helpful.
--
You received this message because you are subscribed to the Google Groups "packrat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packrat-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to Technical Support & Indemnification for R