-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
Per Creating R package with Rcpp: errors, it was noted that the CRAN check fails capriciously on the description file along with: documentation failure and dependency check issues.
Using Rcpp.package.skeleton()
under the current CRAN build, Rcpp has the following CRAN check errors:
0 errors | 3 warnings | 2 notes
checking whether package ‘an2’ can be installed ... WARNING
checking Rd files ... WARNING
prepare_Rd: an2-package.Rd:26: All text must be in a section
prepare_Rd: an2-package.Rd:32-34: Dropping empty section \examples
checking Rd cross-references ... WARNING
Unknown package ‘<pkg>’ in Rd xrefs
checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘Rcpp’
All declared Imports should be used.
Dirk already set up a patch for the description check update-pkg-skeleton (see PR #471) leading to new Rcpp skeleton packages having:
checking Rd files ... WARNING
prepare_Rd: anRpackage-package.Rd:26: All text must be in a section
prepare_Rd: anRpackage-package.Rd:32-34: Dropping empty section \examples
checking Rd cross-references ... WARNING
Unknown package ‘<pkg>’ in Rd xrefs
checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘Rcpp’
All declared Imports should be used.
I would highly suggest the addition of importFrom(Rcpp,evalCpp)
to the NAMESPACE
file so that users are only forced to modify one file the *-package.Rd
.
Metadata
Metadata
Assignees
Labels
No labels