Skip to content

Commit 931ee9e

Browse files
committed
# 98 add Edorado's changes
1 parent da5fd1b commit 931ee9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ Test data (ADaM) for the pharmaverse family of packages
1111

1212
# Purpose
1313

14-
To provide a one-stop-shop to create ADaM test data in the pharmaverse family of packages.
14+
To provide a one-stop-shop for ADaM test data in the pharmaverse family of packages.
1515

1616
# Package Contents
1717

18-
The ADaM datasets of this package are populated by an action that executes the `{admiral}`, `{admiralonco}`, `{admiralophtha}`, `{admiralvaccine}` and `{admiralpeds}` templates and saves the resulting datasets here. This action can be triggered manually by the package maintainers in two scenarios:
18+
The ADaM datasets in this package are populated by an action that executes the `{admiral}`, `{admiralonco}`, `{admiralophtha}`, `{admiralvaccine}` and `{admiralpeds}` templates and saves the resulting datasets here. This action can be triggered manually by the package maintainers in two scenarios:
1919
- Regularly, upon new releases of these packages;
2020
- Ad-hoc, whenever templates in the above packages have been updated but releases are far away in the calendar. In this case, the ADaM datasets are created using the development version of the templates.
2121

data-raw/create_adams_data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ run_template <- function(tp) {
134134
# write labels
135135
data <- write_labels(data, dataset_name, suffix)
136136

137-
# save file to pharmaverseadam data dir (pharmaverseadam/data/adae.rda)
137+
# save file to pharmaverseadam data dir (pharmaverseadam/data/\<adamname\>.rda)
138138
save_rda(data, file_path = output_adam_path, new_name = dataset_name)
139139

140140
# write doc
@@ -186,7 +186,7 @@ for (pkg in packages_list) {
186186
upgrade = "always", force = TRUE
187187
)
188188
}
189-
# find templates scripts and rum them
189+
# find templates scripts and run them
190190
#
191191
# find path to ADaM templates for the installed pkg (ex: ~/R/86_64...library/4.4/admiral/templates)
192192
templates_path <- file.path(system.file(package = pkg), "templates")

0 commit comments

Comments
 (0)