r - How to get install() in devtools to look for dependencies in several .libPaths -


i using install function in devtools-package handle installation of r-package building, conveniently handle installation within r.

my .libpaths() setup follows: first directory-path in .libpaths() install own packages , packages not on cran., while second directory-path contains lot of common packages cran, installed sysadmin.

i wish install package in first directory-path in .libpath(), packages in .libpaths() , install packages not found in of them. however, running install() (or install_github()) in devtools re-installs packages in first directory-path, have installed in second directory-path in libpaths(). not desired behavior, , ineffective package depends on quite lot of other packages.

when running "r cmd install package" command line, packages not found in second (or first) directory-path installed (in first one). desired behavior, , how want install in devtools operate. none of input arguments install() seems fix behavior.

does know whether possible accomplish command line behavior devtools-install? make install() dependencies in other .libpaths() directories before deciding install them?

i on ubuntu 16.04 r version 3.3.1.

any pointers in right direction highly appreciated.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -