diff --git a/DESCRIPTION b/DESCRIPTION index 990f7d4..7bae247 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -29,9 +29,8 @@ Suggests: rmarkdown, sessioninfo, testthat (>= 3.1) -VignetteBuilder: knitr Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.2 Language: en-US diff --git a/inst/report-templates/rmarkdown-1/report-1.html b/inst/report-templates/rmarkdown-1/report-1.html index 5467a99..e375254 100644 --- a/inst/report-templates/rmarkdown-1/report-1.html +++ b/inst/report-templates/rmarkdown-1/report-1.html @@ -13,51 +13,4417 @@
## Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
+## ℹ Please use `"results"` instead of `.data$results`
+## This warning is displayed once every 8 hours.
+## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
+## generated.
+## Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
+## ℹ Please use `"record_id_linked"` instead of `.data$record_id_linked`
+## This warning is displayed once every 8 hours.
+## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
+## generated.
+## Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
+## ℹ Please use `"data_collector"` instead of `.data$data_collector`
+## This warning is displayed once every 8 hours.
+## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
+## generated.
+## Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
+## ℹ Please use `"baseline_date"` instead of `.data$baseline_date`
+## This warning is displayed once every 8 hours.
+## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
+## generated.
+
+
1 rules(s) are disabled for this report:
To enable/disable a rule, set the active
element in the yaml checks file to “true” or “false”.
To enable/disable a rule, set the active
element in the
+yaml checks file to “true” or “false”.
11 smells have been sniffed. 3 violation(s) were found.
-A smell test won’t validate a specific record (like the rules above), but it will make sure the overall dataset smells as expected.
+A smell test won’t validate a specific record (like the +rules above), but it will make sure the overall dataset smells as +expected.
+ | Smell Name | -+ | Priority | -+ | The dataset smells fresh when (the)… | -+ | Legal Boundaries | -+ | Value | -+ | Pass |
---|---|---|---|---|---|---|---|---|---|---|---|
+ | definitive diagnosis | -+ | 1 | --The proportion of study participants diagnosed with malnutrition associated with Chronic Renal Disease is 100% (i.e., everyone) + | +The proportion of study participants diagnosed with malnutrition +associated with Chronic Renal Disease is 100% (i.e., everyone) | -+ | [1.00, 1.00] | -+ | 1.00 | -+ | TRUE |
+ | dialysis adequacy | -+ | 1 | --Mean Kt/V value is within the normal range (i.e., between 1.2 and 5) + | +Mean Kt/V value is within the normal range (i.e., between 1.2 +and 5) | -+ | [1.2, 5.0] | -+ | 1.92 | -+ | TRUE |
+ | normalized protein catabolic rate | -+ | 1 | -+ | Mean Normalized Protein Catabolic Rate (nPCR) is <= 1.2g/kg/day | -+ | [0.0, 1.2] | -+ | 0.931 | -+ | TRUE |
+ | serum cholesterol levels at baseline | -+ | 1 | -+ | Mean cholesterol levels range is between 100 and 140mg/dl at baseline | -+ | [100, 140] | -+ | 134.1 | -+ | TRUE |
+ | age | -+ | 2 | -+ | Mean participant age is between 20 and 60 years | -+ | [20, 60] | -+ | 44.4 | -+ | TRUE |
+ | bmi at baseline | -+ | 2 | -+ | Mean BMI is between 18 and 24 | -+ | [18, 24] | -+ | 24.9 | -+ | FALSE |
+ | females | -+ | 2 | -+ | Proportion of female participants is about half the sample | -+ | [0.40, 0.60] | -+ | 0.444 | -+ | TRUE |
+ | males | -+ | 2 | -+ | Proportion of male participants is about half the sample | -+ | [0.40, 0.60] | -+ | 0.556 | -+ | TRUE |
+ | nutritional counseling | -+ | 2 | -+ | Most patients agreed to receiving nutritional counseling | -+ | [0.85, 0.99] | -+ | 0.889 | -+ | TRUE |
+ | serum creatinine level at baseline | -+ | 2 | -+ | Mean serum creatinine level is between 3mg/dl and 15mg/dl at baseline | -+ | [3, 15] | -+ | 23.2 | -+ | FALSE |
+ | serum prealbumin level at baseline | -+ | 2 | -+ | Mean serum pre-albumin level is between 31mg/dl and 39mg/dl at baseline | -+ | [32, 39] | -+ | 23.7 | -+ | FALSE |
Rule Name | -Priority | -Error Message | -Violation Count | +Rule Name | +Priority | +Error Message | +Violation Count |
---|---|---|---|---|---|---|---|
baseline prealbumin levels | -1 | -Serum pre-albumin level of all enrolled patients do not meet the study criterion | -10 | +baseline prealbumin levels | +1 | +Serum pre-albumin level of all enrolled patients do not meet the study criterion | +10 |
hospitalization reason | -1 | -Patient was hospitalized but reason and the date of hospitalization is missing | -2 | +hospitalization reason | +1 | +Patient was hospitalized but reason and the date of hospitalization is missing | +2 |
missing serum marker levels | -1 | -Relevant nutritional serum markers are missing | -3 | +missing serum marker levels | +1 | +Relevant nutritional serum markers are missing | +3 |
npcr | -2 | -NPCR at completion is missing | -1 | +npcr | +2 | +NPCR at completion is missing | +1 |
optimal daily protein intake | -2 | -Daily protein intake is optimal but one of the nutritional marker is not within the normal range | -7 | +optimal daily protein intake | +2 | +Daily protein intake is optimal but one of the nutritional marker is not within the normal range | +7 |
recommended npcr range | -2 | -NPCR values are not within the recommended range at completion | -10 | +recommended npcr range | +2 | +NPCR values are not within the recommended range at completion | +10 |
serum prealbumin levels 1 | -2 | -Baseline prealbumin levels are not missing however levels were not carefully monitored in the subsequent visit | -15 | +serum prealbumin levels 1 | +2 | +Baseline prealbumin levels are not missing however levels were not carefully monitored in the subsequent visit | +15 |
serum prealbumin levels 2 | -2 | -Baseline prealbumin levels and pre-albumin levels during the 1st visit are not missing however levels in the next reading are missing | -0 | +serum prealbumin levels 2 | +2 | +Baseline prealbumin levels and pre-albumin levels during the 1st visit are not missing however levels in the next reading are missing | +0 |
serum prealbumin levels completion data | -2 | -Baseline prealbumin levels are not missing however readings are not carefully monitored at completion | -0 | +serum prealbumin levels completion data | +2 | +Baseline prealbumin levels are not missing however readings are not carefully monitored at completion | +0 |
baseline first visit lab parameters | -3 | -Serum prealbumin levels are low and protein intake at baseline is less than optimal | -0 | +baseline first visit lab parameters | +3 | +Serum prealbumin levels are low and protein intake at baseline is less than optimal | +0 |
daily first visit lab and workup parameters | -3 | -In-addition to baseline & visit lab protein parameters, blood work-up npcr levels are also low | -0 | +daily first visit lab and workup parameters | +3 | +In-addition to baseline & visit lab protein parameters, blood work-up npcr levels are also low | +0 |
daily protein intake | -3 | -npcr levels in study have not improved as intended | -0 | +daily protein intake | +3 | +npcr levels in study have not improved as intended | +0 |
npcr comparison | -3 | -NPCR at completion is not greater than npcr at baseline | -2 | +npcr comparison | +3 | +NPCR at completion is not greater than npcr at baseline | +2 |
serum prealbumin levels expectations | -3 | -serum prealbumin levels are not missing however subsequent readings did not come as expected | -0 | +serum prealbumin levels expectations | +3 | +serum prealbumin levels are not missing however subsequent readings did not come as expected | +0 |
Smell Name | -Priority | -The dataset smells fresh when (the)... | -Legal Boundaries | -Value | -Pass | +Smell Name | +Priority | +The dataset smells fresh when (the)... | +Legal Boundaries | +Value | +Pass |
---|---|---|---|---|---|---|---|---|---|---|---|
definitive diagnosis | -1 | -The proportion of study participants diagnosed with malnutrition associated with Chronic Renal Disease is 100% (*i.e.*, everyone) | -[1.00, 1.00] | -1.00 | -TRUE | +definitive diagnosis | +1 | +The proportion of study participants diagnosed with malnutrition associated with Chronic Renal Disease is 100% (*i.e.*, everyone) | +[1.00, 1.00] | +1.00 | +TRUE |
dialysis adequacy | -1 | -Mean Kt/V value is within the normal range (*i.e.*, between 1.2 and 5) | -[1.2, 5.0] | -1.92 | -TRUE | +dialysis adequacy | +1 | +Mean Kt/V value is within the normal range (*i.e.*, between 1.2 and 5) | +[1.2, 5.0] | +1.92 | +TRUE |
normalized protein catabolic rate | -1 | -Mean Normalized Protein Catabolic Rate (nPCR) is <= 1.2g/kg/day | -[0.0, 1.2] | -0.931 | -TRUE | +normalized protein catabolic rate | +1 | +Mean Normalized Protein Catabolic Rate (nPCR) is <= 1.2g/kg/day | +[0.0, 1.2] | +0.931 | +TRUE |
serum cholesterol levels at baseline | -1 | -Mean cholesterol levels range is between 100 and 140mg/dl at baseline | -[100, 140] | -134.1 | -TRUE | +serum cholesterol levels at baseline | +1 | +Mean cholesterol levels range is between 100 and 140mg/dl at baseline | +[100, 140] | +134.1 | +TRUE |
age | -2 | -Mean participant age is between 20 and 60 years | -[20, 60] | -44.4 | -TRUE | +age | +2 | +Mean participant age is between 20 and 60 years | +[20, 60] | +44.4 | +TRUE |
bmi at baseline | -2 | -Mean BMI is between 18 and 24 | -[18, 24] | -24.9 | -FALSE | +bmi at baseline | +2 | +Mean BMI is between 18 and 24 | +[18, 24] | +24.9 | +FALSE |
females | -2 | -Proportion of female participants is about half the sample | -[0.40, 0.60] | -0.444 | -TRUE | +females | +2 | +Proportion of female participants is about half the sample | +[0.40, 0.60] | +0.444 | +TRUE |
males | -2 | -Proportion of male participants is about half the sample | -[0.40, 0.60] | -0.556 | -TRUE | +males | +2 | +Proportion of male participants is about half the sample | +[0.40, 0.60] | +0.556 | +TRUE |
nutritional counseling | -2 | -Most patients agreed to receiving nutritional counseling | -[0.85, 0.99] | -0.889 | -TRUE | +nutritional counseling | +2 | +Most patients agreed to receiving nutritional counseling | +[0.85, 0.99] | +0.889 | +TRUE |
serum creatinine level at baseline | -2 | -Mean serum creatinine level is between 3mg/dl and 15mg/dl at baseline | -[3, 15] | -23.2 | -FALSE | +serum creatinine level at baseline | +2 | +Mean serum creatinine level is between 3mg/dl and 15mg/dl at baseline | +[3, 15] | +23.2 | +FALSE |
serum prealbumin level at baseline | -2 | -Mean serum pre-albumin level is between 31mg/dl and 39mg/dl at baseline | -[32, 39] | -23.7 | -FALSE | +serum prealbumin level at baseline | +2 | +Mean serum pre-albumin level is between 31mg/dl and 39mg/dl at baseline | +[32, 39] | +23.7 | +FALSE |