pharmaverse / admiral.test

Test SDTM data for use with admiral
Other
2 stars 1 forks source link

Closes #99 optha ae aelat@devel #104

Closed millerg23 closed 1 year ago

millerg23 commented 1 year ago

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.

millerg23 commented 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.

bms63 commented 1 year ago

I got devtools::document() to work again, but checks still failing...

millerg23 commented 1 year ago

@bms63 I think I know what the issue is. But how did you get devtools::document() to work?

millerg23 commented 1 year ago

@bms63 ah "raw_ae" is commented out, thats how devtools::document() is working!

bms63 commented 1 year ago

lol that was a mistake - still playing around

millerg23 commented 1 year ago

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.

millerg23 commented 1 year ago

@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.

millerg23 commented 1 year ago

@bms63 should I add this to NEWS.md ?

bms63 commented 1 year ago

Yes please put in something for the news - also nice to link admiralophtha packagedown site in the news :)

millerg23 commented 1 year ago

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.

bms63 commented 1 year ago

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 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.