From cdcc8e616afe243cd7c54e15713c86f818a52626 Mon Sep 17 00:00:00 2001 From: mb706 Date: Wed, 17 Jul 2024 11:33:51 +0200 Subject: [PATCH] cran submit --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/ParamSet.R | 2 +- man/ParamSet.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ad897c6b..5bee3673 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Type: Package Package: paradox Title: Define and Work with Parameter Spaces for Complex Algorithms -Version: 1.0.0-9000 +Version: 1.0.1 Authors@R: c(person(given = "Michel", family = "Lang", diff --git a/NEWS.md b/NEWS.md index 16bad2ce..0a70b902 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# paradox 1.0.0-9000 +# paradox 1.0.1 * Performance improvements. diff --git a/R/ParamSet.R b/R/ParamSet.R index b680fdba..db2a9753 100644 --- a/R/ParamSet.R +++ b/R/ParamSet.R @@ -365,7 +365,7 @@ ParamSet = R6Class("ParamSet", }, #' @description - #' \pkg{checkmate}-like test-function. Takes a [`data.table`]. + #' \pkg{checkmate}-like test-function. Takes a [`data.table`][data.table::data.table]. #' For each row, return `FALSE` if the given `$constraint` is not satisfied, `TRUE` otherwise. #' Note this is different from satisfying the bounds or types given by the `ParamSet` itself: #' If `x` does not satisfy these, an error will be thrown, given that `assert_value` is `TRUE`. diff --git a/man/ParamSet.Rd b/man/ParamSet.Rd index d83d9e75..9e6e9517 100644 --- a/man/ParamSet.Rd +++ b/man/ParamSet.Rd @@ -439,7 +439,7 @@ Should be \code{TRUE} unless this was already checked before.} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-ParamSet-test_constraint_dt}{}}} \subsection{Method \code{test_constraint_dt()}}{ -\pkg{checkmate}-like test-function. Takes a \code{\link{data.table}}. +\pkg{checkmate}-like test-function. Takes a \code{\link[data.table:data.table]{data.table}}. For each row, return \code{FALSE} if the given \verb{$constraint} is not satisfied, \code{TRUE} otherwise. Note this is different from satisfying the bounds or types given by the \code{ParamSet} itself: If \code{x} does not satisfy these, an error will be thrown, given that \code{assert_value} is \code{TRUE}.