From 404c94944d32c85b3dc563a353363669e72fdf19 Mon Sep 17 00:00:00 2001 From: ProfessorP Date: Fri, 20 Dec 2024 02:52:51 -0500 Subject: [PATCH] fixed spelling error --- R/derive_param_tte.R | 2 +- man/censor_source.Rd | 2 +- man/event_source.Rd | 2 +- man/tte_source.Rd | 2 +- tests/testthat/test-derive_param_tte.R | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/derive_param_tte.R b/R/derive_param_tte.R index eafb6ffcb6..541c083192 100644 --- a/R/derive_param_tte.R +++ b/R/derive_param_tte.R @@ -892,7 +892,7 @@ extend_source_datasets <- function(source_datasets, #' An optional named list returned by `exprs()` defining additional variables #' that the input dataset is sorted on after `date`. #' -#' Persmitted Values: list of variables created by `exprs()` e.g. `exprs(ASEQ)`. +#' Permitted Values: list of variables created by `exprs()` e.g. `exprs(ASEQ)`. #' #' @keywords source_specifications #' @family source_specifications diff --git a/man/censor_source.Rd b/man/censor_source.Rd index 4738cb95e0..bc6ea0365a 100644 --- a/man/censor_source.Rd +++ b/man/censor_source.Rd @@ -43,7 +43,7 @@ character string, a numeric value, an expression, or \code{NA}.} An optional named list returned by \code{exprs()} defining additional variables that the input dataset is sorted on after \code{date}. -Persmitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} +Permitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} } \value{ An object of class \code{censor_source}, inheriting from class \code{tte_source} diff --git a/man/event_source.Rd b/man/event_source.Rd index e9db5b48b3..c17c6c313e 100644 --- a/man/event_source.Rd +++ b/man/event_source.Rd @@ -37,7 +37,7 @@ character string, a numeric value, an expression, or \code{NA}.} An optional named list returned by \code{exprs()} defining additional variables that the input dataset is sorted on after \code{date}. -Persmitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} +Permitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} } \value{ An object of class \code{event_source}, inheriting from class \code{tte_source} diff --git a/man/tte_source.Rd b/man/tte_source.Rd index 28802cc6b1..17d52d8969 100644 --- a/man/tte_source.Rd +++ b/man/tte_source.Rd @@ -43,7 +43,7 @@ character string, a numeric value, an expression, or \code{NA}.} An optional named list returned by \code{exprs()} defining additional variables that the input dataset is sorted on after \code{date}. -Persmitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} +Permitted Values: list of variables created by \code{exprs()} e.g. \code{exprs(ASEQ)}.} } \value{ An object of class \code{tte_source} diff --git a/tests/testthat/test-derive_param_tte.R b/tests/testthat/test-derive_param_tte.R index 5a4da6a137..03547ad754 100644 --- a/tests/testthat/test-derive_param_tte.R +++ b/tests/testthat/test-derive_param_tte.R @@ -1001,7 +1001,7 @@ input is sorted descending", { mutate(STUDYID = "AB42") # Sort the input AE dataset in descending order by AESEQ - #to confirm that the order argument re-sorts it correctly. + # to confirm that the order argument re-sorts it correctly. ae <- tibble::tribble( ~USUBJID, ~AESTDTC, ~AESEQ, ~AESER, ~AEDECOD, "01", "2021-01-03", 2, "Y", "Cough", @@ -1014,7 +1014,7 @@ input is sorted descending", { ) %>% arrange(desc(AESEQ)) # Intentionally sort descending to test the order argument - result <- derive_param_tte( + result <- derive_param_tte( dataset_adsl = adsl, start_date = TRTSDT, event_conditions = list(event_source(