generated from pharmaverse/admiraltemplate
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Deprecating functions we no longer use. * Update NEWS.md * lintr update * warning update * Update quote.R * Update NEWS.md * Update WORDLIST * Update NEWS.md
- Loading branch information
Showing
9 changed files
with
87 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ admiraltemplate | |
admiralxxx | ||
advs | ||
anonymized | ||
cli | ||
cmd | ||
codebase | ||
codeowner | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# warn_if_vars_exist Test 1: warning if a variable already exists in the input dataset | ||
|
||
Code | ||
warn_if_vars_exist(dm, "AGE") | ||
Condition | ||
Warning: | ||
Variable "AGE" already exists in the dataset. | ||
|
||
--- | ||
|
||
Code | ||
warn_if_vars_exist(dm, c("AGE", "AGEU", "ARM")) | ||
Condition | ||
Warning: | ||
Variables "AGE", "AGEU", and "ARM" already exist in the dataset. | ||
|
||
--- | ||
|
||
Code | ||
warn_if_vars_exist(dm, c("AAGE", "AGEU", "ARM")) | ||
Condition | ||
Warning: | ||
Variables "AGEU" and "ARM" already exist in the dataset. | ||
|
||
# warn_if_invalid_dtc Test 2: Warning if vector contains unknown datetime format | ||
|
||
Code | ||
warn_if_invalid_dtc(dtc = "20210406T12:30:30") | ||
Condition | ||
Warning: | ||
Dataset contains incorrect datetime format: --DTC may be incorrectly imputed on row(s) | ||
* Row 1 : --DTC = 20210406T12:30:30 | ||
* ISO representations of the form YYYY-MM-DDThh:mm:ss.ddd are expected, e.g., 2003-12-15T13:15:17.123. Missing parts at the end can be omitted. Missing parts in the middle must be represented by a dash, e.g., 2003---15. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters