-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checkmate
should be in Imports or Depends, not Suggests
#255
Comments
@dtenenba, I absolutely agree. I'm guessing I suggested checkmate when it was in only minor functions. And now you're right that it's in critical REDCapR functions. Thanks for diagnosing the problem and explaining things so clearly. The code passes the tests on my local machine. Assuming Travis & AppVeyor are cool, I'll pull them into the master branch within GitHub within the hour. (i.e., run @dtenenba (or anyone else), do you have an opinion whether I should resubmit to CRAN just for this? I still remember getting Ripleyed when I resubmitted to CRAN twice within a three-month period. |
@wibeasley I can't speak for CRAN but when I worked for Bioconductor we would not let packages in that had this problem. If you can handle the Ripleying then I say resubmit. |
And thanks for the quick fix! |
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.
@vortexing
The text was updated successfully, but these errors were encountered: