Skip to content
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

Avoid R cmd check NOTEs about some internal functions #240

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

jgabry
Copy link
Member

@jgabry jgabry commented Feb 1, 2024

Discovered these when checking using CRAN's win-builder service: https://win-builder.r-project.org/r47PXKC5r0Wa/00check.log

  • rbind in base R has different arguments than the rbind method defined in loo_subsample.R. But we don't need to make an S3 method for rbind, we can just use a regular function

  • need to register all S3 methods even if generic is not exported

* rbind in base R has different arguments than the method defined here. But we don't need to make an S3 method for rbind, we can just use a regular function

* need to register all S3 methods even if generic is not exported

* I also converted some function names that start with `.` to be consistent with other package code.
@jgabry jgabry merged commit 0d53b04 into master Feb 2, 2024
6 checks passed
@jgabry jgabry deleted the fix-r-cmd-check-issues branch February 2, 2024 00:06
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.

None yet

1 participant