What is the correct way to handle Remote dependencies for R CMD check?

519 Views Asked by At

I'm trying to check a package with a dependency on a private repo stored on github that I'm specifying as a Remotes in the DESCRIPTION file. E.g.:

Imports: 
  dplyr, 
  .... 
Remotes: 
  geebioso/rpackage

I've already set the appropriate environment variables for installing from github and have checked that I can document and install my package locally using devtools (including the Remotes dependency).

When I run rcmdcheck::rcmdcheck() I get the following warning:

'::' or ':::' import not declared from: 'rpackage'

I'd like to get rid of this particular warning, but still keep error_on='warning' and check the Imports dependencies.

What's the correct way to handle this?

Thanks in advance!

0

There are 0 best solutions below