Description
Hi,
I'm working with a package that has REDCapR in its Imports field.
If I install this package with install.packages()
, it does not install checkmate.
And yet, normal use of REDCapR (calling REDCapR::redcap_variables()
) contains calls (via ::
to functions in checkmate), which fail with errors since checkmate is not installed.
Though the R-exts manual is a bit ambiguous in places (like where it says "Namespaces accessed by the ‘::’ and ‘:::’ operators must be listed here, or in ‘Suggests’ or ‘Enhances’", it is also clear that "[t]he ‘Suggests’ field uses the same syntax as ‘Depends’ and lists packages that are not necessarily needed."
In the case I describe, the checkmate package is clearly needed so I believe this is a bug and that checkmate should be moved from Suggests to Imports.
Activity