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 <- intersect(colnames(ins

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 > setwd(