diff --git a/DESCRIPTION b/DESCRIPTION index d03ef741..ae411c68 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: simtrial Type: Package Title: Clinical Trial Simulation -Version: 1.0.1 +Version: 1.0.2 Authors@R: c( person("Keaven", "Anderson", email = "keaven_anderson@merck.com", role = c("aut")), person("Yujie", "Zhao", email = "yujie.zhao@merck.com", role = c("aut","cre")), @@ -67,5 +67,5 @@ Suggests: LinkingTo: Rcpp Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 Config/testthat/edition: 3 diff --git a/man/early_zero.Rd b/man/early_zero.Rd index 44b47fa1..4255bed4 100644 --- a/man/early_zero.Rd +++ b/man/early_zero.Rd @@ -19,7 +19,7 @@ A list of parameters of the zero early weighting function Zero early weighting function } \examples{ -\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(gsDesign2) # Example 1: Unstratified ---- diff --git a/man/get_analysis_date.Rd b/man/get_analysis_date.Rd index 8501755e..6922d2f0 100644 --- a/man/get_analysis_date.Rd +++ b/man/get_analysis_date.Rd @@ -79,7 +79,7 @@ dates determined solely by Condition 1, Condition 2, Condition 3, Condition 4 and Condition 5, respectively. } \examples{ -\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(gsDesign2) alpha <- 0.025 diff --git a/man/get_cut_date_by_event.Rd b/man/get_cut_date_by_event.Rd index 70145a85..6c1ef8d2 100644 --- a/man/get_cut_date_by_event.Rd +++ b/man/get_cut_date_by_event.Rd @@ -20,7 +20,7 @@ is never reached, the final \code{cte} at which an event occurs. Get date at which an event count is reached } \examples{ -\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(dplyr) # Use default enrollment and calendar cut date diff --git a/man/randomize_by_fixed_block.Rd b/man/randomize_by_fixed_block.Rd index 4e2a2684..93d02b91 100644 --- a/man/randomize_by_fixed_block.Rd +++ b/man/randomize_by_fixed_block.Rd @@ -23,7 +23,7 @@ The final block will be a partial block if \code{n} is not an exact multiple of the block length. } \examples{ -\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(dplyr) # Example 1 diff --git a/man/sim_fixed_n.Rd b/man/sim_fixed_n.Rd index ba2d26f0..76642a14 100644 --- a/man/sim_fixed_n.Rd +++ b/man/sim_fixed_n.Rd @@ -82,7 +82,7 @@ for data cutoff: } } \examples{ -\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(dplyr) library(future) diff --git a/man/sim_gs_n.Rd b/man/sim_gs_n.Rd index 6aba6aca..53bb0a26 100644 --- a/man/sim_gs_n.Rd +++ b/man/sim_gs_n.Rd @@ -87,7 +87,7 @@ WARNING: This experimental function is a work-in-progress. The function arguments will change as we add additional features. } \examples{ -\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("gsDesign2", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(gsDesign2) # Parameters for enrollment diff --git a/man/sim_pw_surv.Rd b/man/sim_pw_surv.Rd index d7fc5c8e..b74dae25 100644 --- a/man/sim_pw_surv.Rd +++ b/man/sim_pw_surv.Rd @@ -71,7 +71,7 @@ Default arguments are set up to allow very simple implementation of a non-proportional hazards assumption for an unstratified design. } \examples{ -\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("dplyr", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(dplyr) # Example 1 diff --git a/man/simtrial-package.Rd b/man/simtrial-package.Rd index 582a39db..a3cec1e1 100644 --- a/man/simtrial-package.Rd +++ b/man/simtrial-package.Rd @@ -43,7 +43,7 @@ Other contributors: \item Amin Shirazi [contributor] \item Cole Manschot [contributor] \item Larry Leon [contributor] - \item Merck & Co., Inc., Rahway, NJ, USA and its affiliates (02891sr49) [copyright holder] + \item Merck & Co., Inc., Rahway, NJ, USA and its affiliates (\href{https://ror.org/02891sr49}{ROR}) [copyright holder] } }