diff --git a/DESCRIPTION b/DESCRIPTION index 5a08f5e1..6b846b3d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -61,7 +61,7 @@ Config/testthat/edition: 3 Config/testthat/parallel: false NeedsCompilation: no Roxygen: list(markdown = TRUE, r6 = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 VignetteBuilder: knitr, rmarkdown Collate: 'Condition.R' diff --git a/NAMESPACE b/NAMESPACE index 71371801..36aee40f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -72,6 +72,7 @@ export(SamplerUnif) export(as.data.table) export(assert_param_set) export(condition_as_string) +export(condition_test) export(default_values) export(domain_assert) export(domain_check) diff --git a/R/ps_replicate.R b/R/ps_replicate.R index fb9a9497..5fe00660 100644 --- a/R/ps_replicate.R +++ b/R/ps_replicate.R @@ -2,7 +2,7 @@ #' #' @description #' Repeat a [`ParamSet`] a given number of times and thus create a larger [`ParamSet`]. -#' By default, the resulting parameters are prefixed with the string `"repX.", where `X` counts up from 1. +#' By default, the resulting parameters are prefixed with the string `"repX."`, where `X` counts up from 1. #' It is also possible to tag parameters by their original name and by their prefix, making grouped retrieval e.g. using `$get_values()` easier. #' #' @param set ([`ParamSet`])\cr diff --git a/man/ps_replicate.Rd b/man/ps_replicate.Rd index 8c118e71..0939b71c 100644 --- a/man/ps_replicate.Rd +++ b/man/ps_replicate.Rd @@ -39,7 +39,8 @@ Whether to add a tag of the form \code{"param_"} to each parameter in the re } \description{ Repeat a \code{\link{ParamSet}} a given number of times and thus create a larger \code{\link{ParamSet}}. -By default, the resulting parameters are prefixed with the string \verb{"repX.", where }X\verb{counts up from 1. It is also possible to tag parameters by their original name and by their prefix, making grouped retrieval e.g. using}$get_values()` easier. +By default, the resulting parameters are prefixed with the string \code{"repX."}, where \code{X} counts up from 1. +It is also possible to tag parameters by their original name and by their prefix, making grouped retrieval e.g. using \verb{$get_values()} easier. } \examples{ pset = ps(