[R-pkg-devel] API client package failing due to API authentication
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Thu Oct 26 18:37:37 CEST 2023
On 26 October 2023 at 11:14, Cole Johanson wrote:
| My package https://github.com/cole-johanson/smartsheetr requires an
| environment variable, the API access token, to run most of the functions.
| The steps for setting this are documented in the README, but my package is
| being auto-rejected by CRAN for failing the examples.
|
| I have wrapped the examples with the roxygen2 tag *\dontrun*, but it is
| still attempting to run the examples.
|
| Should I report this as a false positive, or is there a step I am missing?
You should not attempt to run the examples when they could fail e.g. when no
API key is present as it the case for CRAN.
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-package-devel
mailing list