Skip to content

Commit 6ad84ad

Browse files
Merge pull request #170 from pharmaverse/devel
CRAN feedback revisions #168
2 parents 70b6270 + a5be774 commit 6ad84ad

6 files changed

+5
-21
lines changed

DESCRIPTION

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Authors@R: c(
66
person("Tim", "Barnett", email = "[email protected]", role = c("cph","aut", "cre")),
77
person("Nathan", "Rees", email = "[email protected]", role = c("aut")),
88
person("Alana", "Harris", email = "[email protected]", role = c("aut")))
9-
Description: Functions for applying a datacut to SDTM.
9+
Description: Supports the process of applying a cut to Standard Data Tabulation Model (SDTM),
10+
as part of the analysis of specific points in time of the data, normally as part of
11+
investigation into clinical trials. The functions support different approaches of
12+
cutting to the different domains of SDTM normally observed.
1013
License: Apache License (>= 2)
1114
Encoding: UTF-8
1215
Language: en-US

man/datacutr-package.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/examplemodular.Rmd

-2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,4 @@ cut_data <- purrr::map(
114114
115115
# Add on data which is not cut
116116
final_data <- c(cut_data, no_cut_list, list(dcut = dcut))
117-
118-
list2env(final_data, envir = globalenv())
119117
```

vignettes/examplewrapped.Rmd

-5
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,4 @@ cut_data <- process_cut(
7878
cut_var = DCUTDTM,
7979
special_dm = TRUE
8080
)
81-
82-
83-
# Save cut SDTMs to environment -------------------------------------------
84-
85-
list2env(cut_data, envir = globalenv())
8681
```

vignettes/modular.Rmd

-2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,4 @@ cut_data <- purrr::map(
188188
Lastly, we create the final list of all the cut SDTM data, adding in the SDTM where no cut was needed.
189189
```{r, message=FALSE, warning=FALSE}
190190
final_data <- c(cut_data, no_cut_list, list(dcut = dcut))
191-
192-
list2env(final_data, envir = globalenv())
193191
```

vignettes/wrapper.Rmd

-10
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ this wrapped approach may not be suitable if you wish to enable any study or pro
2727
* [Create DCUT Dataset](#dcut)
2828
* [Pre-process Datasets](#preprocess)
2929
* [Process Data Cut](#processcut)
30-
* [Save Final Cut Datasets](#save)
3130

3231
## Read in Data {#readdata}
3332

@@ -99,12 +98,3 @@ cut_data <- process_cut(
9998
special_dm = TRUE
10099
)
101100
```
102-
103-
104-
## Save Final Cut Datasets {#save}
105-
106-
If necessary, we can save all of the cut SDTM datasets to the R environment.
107-
108-
```{r, message=FALSE, warning=FALSE}
109-
list2env(cut_data, envir = globalenv())
110-
```

0 commit comments

Comments
 (0)