Skip to content

Clear the outstanding R CMD check and roxygen2 warnings - #442

Merged
EmilHvitfeldt merged 2 commits into
mainfrom
fix-check-notes
Aug 28, 2026
Merged

EmilHvitfeldt merged 2 commits into
mainfrom
fix-check-notes

Conversation

@EmilHvitfeldt

Copy link
Copy Markdown
Member

devtools::document() was warning that the eleven build_tree_formula() methods needed registration, and devtools::check() reported a NOTE for the undeclared catboost dependency in the vignettes, which arrived with the CatBoost support in #179. Registering the methods with @exportS3Method keeps the generic internal, and moving the CatBoost vignette to vignettes/articles/ is the usual way to document a package that cannot be declared in Suggests (catboost is not on CRAN and has no CRAN-style repository to point Additional_repositories at). The article still builds to the same website URL, so the existing cross-references are unaffected.

devtools::check() is now clean: 0 errors, 0 warnings, 0 notes.

roxygen2 warned that each method needed an @export or @exportS3Method tag.
The generic stays internal, so @exportS3Method registers the methods
without exporting them.
catboost is not on CRAN and has no CRAN-style repository to declare in
Additional_repositories, so shipping the vignette left R CMD check with
an unstated vignette dependency NOTE. The article still builds to the
same URL on the website.
@EmilHvitfeldt
EmilHvitfeldt merged commit 8fd4452 into main Aug 28, 2026
9 checks passed
@EmilHvitfeldt
EmilHvitfeldt deleted the fix-check-notes branch August 28, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant