Closed StefanThoma closed 1 month ago
Package | Line Rate | Health |
---|---|---|
admiral | 97% | ✔ |
Summary | 97% (4728 / 4859) | ✔ |
@bms63 & @manciniedoardo In the ad_adpp template:
pp$PPSTRESC
is not a character variable but of type double
.
all.equal(pp$PPSTRESC, pp$PPSTRESN) is TRUE except for attributes.
Is this an error?
All values are numeric, so ADPP AVALC is also all numeric. Therefore, AVALC should not be mapped in the template, right? Or would we expect non-numeric information in pp datasets in general?
@bms63 & @manciniedoardo In the ad_adpp template:
pp$PPSTRESC
is not a character variable but of typedouble
. all.equal(pp$PPSTRESC, pp$PPSTRESN) is TRUE except for attributes. Is this an error?All values are numeric, so ADPP AVALC is also all numeric. Therefore, AVALC should not be mapped in the template, right? Or would we expect non-numeric information in pp datasets in general?
@jeffreyad any thoughts?
@bms63 & @manciniedoardo In the ad_adpp template:
pp$PPSTRESC
is not a character variable but of typedouble
. all.equal(pp$PPSTRESC, pp$PPSTRESN) is TRUE except for attributes. Is this an error?All values are numeric, so ADPP AVALC is also all numeric. Therefore, AVALC should not be mapped in the template, right? Or would we expect non-numeric information in pp datasets in general?
AVALC should always be character. Perhaps this is a mistake in the PP dataset.
@bms63 & @manciniedoardo In the ad_adpp template:
pp$PPSTRESC
is not a character variable but of typedouble
. all.equal(pp$PPSTRESC, pp$PPSTRESN) is TRUE except for attributes. Is this an error? All values are numeric, so ADPP AVALC is also all numeric. Therefore, AVALC should not be mapped in the template, right? Or would we expect non-numeric information in pp datasets in general?@jeffreyad any thoughts?
Thanks, I put in a PR to update pp$PPSTRESC
Thanks @jeffreyad!! we might need to use remotes for pharmaversesdtm @StefanThoma to get the latest once it is merged in.
Thanks @jeffreyad!! we might need to use remotes for pharmaversesdtm @StefanThoma to get the latest once it is merged in.
For ADPP I just remove AVALC altogether.
Something amiss with the code style and the templates
Something amiss with the code style and the templates
Thanks, should be good now!
Thanks again @StefanThoma for jumping in on this one!!
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
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. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the
main
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesinst/cheatsheet/admiral_cheatsheet.pptx
and re-upload a PDF version of it to the same folder.devtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
under the header# admiral (development version)
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers). A Developer Notes section is available inNEWS.md
for tracking developer-facing issues.pkgdown::build_site()
and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.lintr::lint_package()
R CMD check
locally and address all errors and warnings -devtools::check()