Skip to content
Prev 8890 / 12125 Next

[R-pkg-devel] Problem with package containing spatial data

On 09/02/2023 3:56 a.m., Ivan Krylov wrote:
Specifying a package in the Imports field of DESCRIPTION guarantees that 
it will be available to load, but doesn't load it.  Importing something 
from it via the NAMESPACE triggers a load, as does executing code like 
pkg::fn, or explicitly calling loadNamespace("pkg"), or loading a 
package that does one of these things.
Workarounds for the check complaints are discussed here, among other 
places:  https://stackoverflow.com/a/75384338/2554330 .

Duncan Murdoch