Skip to content

Commit

Permalink
#1826 Calculate Creatinine Clearance: Remove Special Characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyad committed May 10, 2023
1 parent 4deee83 commit 1d2d50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions R/compute_kidney.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#'
#' Expected Values:
#'
#' `"SI"` `"CV"` `"umol/L"` `"µmol/L"` `"mg/dL"`
#' `"SI"` `"CV"` `"umol/L"` `"mg/dL"`
#'
#' @param age Age (years)
#'
Expand Down Expand Up @@ -141,8 +141,7 @@
compute_egfr <- function(creat, creatu = "SI", age, wt, sex, race = NULL, method) {
assert_numeric_vector(creat)
assert_character_vector(creatu, values = c(
"SI", "CV", "mg/dL", "umol/L",
"µmol/L", NA_character_
"SI", "CV", "mg/dL", "umol/L", NA_character_
))
assert_numeric_vector(age)
assert_character_vector(sex, values = c("M", "F"))
Expand Down
2 changes: 1 addition & 1 deletion man/compute_egfr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d2d50a

Please sign in to comment.