Skip to content

Commit

Permalink
docs: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
advieser committed Dec 18, 2024
1 parent 51ca6c8 commit ee257d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/check_operators.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#' Logical AND and OR operators for `check_*`-functions from [`checkmate`][`checkmate::checkmate`].
#'
#' @param lhs,rhs (`function()`)\cr
#' `check_*`-functions that return either `TRUE` or an error message.
#' `check_*`-functions that return either `TRUE` or an error message as a `character(1)`.
#'
#' @return Either `TRUE` or a `character(1)`.
#'
#' @name check_operators
#' @examples
#' library(checkmate)
#'
#' x = c(0, 1, 2, 3)#
#' x = c(0, 1, 2, 3)
#' check_numeric(x) %check&&% check_names(names(x), "unnamed") # is TRUE
#' check_numeric(x) %check&&% check_true(all(x < 0)) # fails
#'
Expand Down
4 changes: 2 additions & 2 deletions man/check_operators.Rd

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

0 comments on commit ee257d0

Please sign in to comment.