Closed millerg23 closed 1 year ago
@bms63 @rossfarrugia I followed instructions in README file, but I can't generate the .man
files, it ERRORs each time I run devtools::document()
. The instructions are out of date, as the programs are in dev
folder not inst/dat_scripts
, so maybe there have been other changes?? Any guidance appreciated, thanks.
I got devtools::document()
to work again, but checks still failing...
@bms63 I think I know what the issue is. But how did you get devtools::document()
to work?
@bms63 ah "raw_ae" is commented out, thats how devtools::document()
is working!
lol that was a mistake - still playing around
ha, I thought you had worked some magic. In the data.R
file for admiral_ae
header should have #' @source \url{https://github.com/pharmaverse/admiral.test/blob/main/data/admiral_ae.rda}
. I think thats where the checks were failing. But I can't get devtools::document()
to work. I get:
> devtools::document()
Updating admiral.test documentation
ℹ Loading admiral.test
Error: 'raw_ae' is not an exported object from 'namespace:admiral.test'
Thanks for looking into this.
@bms63 I re-created the "raw_ae" dataset in the console, and devtools::document()
worked!
Just waiting on the checks running.
Thanks very much for your help.
@bms63 should I add this to NEWS.md ?
Yes please put in something for the news - also nice to link admiralophtha packagedown site in the news :)
I saw your message on SLACK, shall we hold off merging to devel
or we can run downstream checks from devel
.
There are other datasets to update/add for Ophthalmology.
I saw your message on SLACK, shall we hold off merging to
devel
or we can run downstream checks fromdevel
. There are other datasets to update/add for Ophthalmology.
I think this is okay to merge. It will get tested on our functions and templates when we use @devel in our PRs in those packages anyways. So we should get info back very quickly.
Thank you for your Pull Request!
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request.
styler::style_file()
to style R and Rmd filesdevtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers)R CMD check
locally and address all errors and warnings -devtools::check()