-
Notifications
You must be signed in to change notification settings - Fork 12
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
Document R6 class using new roxygen feature #84
Comments
I haven't seen that. Excellent! |
There an issue to fix here ==> devtools::document(roclets = c('rd', 'collate', 'namespace'))
Updating crrri documentation
Loading crrri
Error in .f(.x[[i]], ...) :
R6 class (EventEmitter) without source references. If you use the `installed` load method in `DESCRIPTION`, then try re-installing the package with option '--with-keep.source'. E.g. `install.packages(..., INSTALL_OPTS = "--with-keep.source")`.
Calls: suppressPackageStartupMessages ... extract_r6_self_data -> rbind -> extract_r6_methods -> map_int -> .f
Ex�cution arr�t�e
Exited with status 1. Should look into it. |
It seems we have a special case somewhere not handled by roxygen2 R6 support |
And we have the issue above only with the default load method in # does not work
roxygen2::roxygenise(load_code = "pkgload")
# works
roxygen2::roxygenise(load_code = "source") We could use |
Note to self: |
This is now possible to document R6 method using roxygen.
https://roxygen2.r-lib.org/articles/rd.html#r6
We have already documented but it could be an improvement and easier to maintain.
I hope the help page is organized clearer also.
Just putting this here as an idea for when we have time.
The text was updated successfully, but these errors were encountered: