Re: [Rd] tools::package_dependencies problems

2020-10-16 Thread Bill Dunlap
Have you tried using the 'db' argument to tools::package_dependencies? rbind the common columns of installed.packages() and available.packages() and use that as the package database. installed <- installed.packages() available <- available.packages() commonCols <-

Re: [Rd] tools::package_dependencies problems

2020-10-16 Thread Gabriel Becker
Hi Spencer, You just need an available.packages matrix which reflects the reality you want to test against. There are probably various ways of getting one of these, but switchr allows you to build repositories off of many things including local directories, so you could do something like >

[Rd] tools::package_dependencies problems

2020-10-16 Thread Spencer Graves
Hello, All: tools::package_dependencies('Ecfun') failed to find how my development version of Ecfun was using rJava, which generated errors in "R CMD build Ecfun". This is because package_dependencies by default uses CRAN and ignores locally installed packages. What do you think