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

roxygen2 suggests @exportS3method but then does not accept the tag #1675

Open
LukasWallrich opened this issue Nov 9, 2024 · 1 comment
Open

Comments

@LukasWallrich
Copy link

LukasWallrich commented Nov 9, 2024

#' @exportS3method
as.data.frame.bibliography <- function(x, ...) {
#...
}

produces

✖ import_export_helpers.R:1148: @exportS3method is not a known tag.
✖ import_export_helpers.R:1150: S3 method `as.data.frame.bibliography` needs
  @export or @exportS3method tag.

It works with @export, and I am not sure if @exportS3method would do anything different - so it might just be about removing that from the second error message?

@maxheld83
Copy link
Member

I think this a typo, try:

#' exportS3Method

(capitalised M)

discussed earlier/fixed in #1591

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

No branches or pull requests

2 participants