-
Notifications
You must be signed in to change notification settings - Fork 17
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
Move as.data.frame to separate function page and deprecate parameter "quantities" #364
Comments
Tackle this after or with #356 |
I've started with this on https://github.com/adokter/bioRad/tree/as.data.frame, but it is unclear to how I should bundle as.data.frame <- function(x, row.names = NULL, optional = FALSE,
quantities = names(x$data), suntime = TRUE,
geo = TRUE, elev = -0.268, lat = NULL,
lon = NULL, ...) {
UseMethod("as.data.frame", x)
} (similar to |
Indeed I believe you should only define the S3 method, because But you can document both in the same same page, for example by adding This is an example of a S3 as.data.frame method of a different ropensci package: |
Ok, great! Will try to adapt. |
Currently this function is listed on vp.R and vpts.R, with duplicate documentation.
quantities
The text was updated successfully, but these errors were encountered: