Skip to content
Prev 6547 / 12125 Next

[R-pkg-devel] Undeclared packages ... in Rd xrefs

On 02/02/2021 9:13 a.m., Ulrike Gr?mping wrote:
It creates small problems, not serious ones. You just need to make sure 
that a version of your package is available when those packages are 
installed for testing.  So things need to happen in something like this 
order on a totally new machine:

  - install the "hard" dependencies for your package.
  - install your package
  - install the "soft" dependencies for your package.

I just discovered that the remotes::install_deps(dependencies = TRUE) 
function can't currently do things in the right order, but 
remotes::install_local(dependencies = TRUE) is fine.  I didn't check the 
base function install.packages(dependencies = TRUE).

Duncan Murdoch