Skip to content

Commit

Permalink
base::isFALSE() is better (very slightly different)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaechler committed May 20, 2022
1 parent 4992cfa commit cfbf040
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export(gsub_files)
export(in_dir)
export(install_dir)
export(install_github)
export(isFALSE)
export(is_CRAN_incoming)
export(is_R_CMD_check)
export(is_abs_path)
Expand Down
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ in_dir = function(dir, expr) {
}

#' Test if an object is identical to \code{FALSE}
#'
#' *NO LONGER* exported: base::isFALSE() is faster and better,
#' when FALSE has an attribute: base::isFALSE(c(a = FALSE)) is TRUE
#' A simple abbreviation of \code{identical(x, FALSE)}.
#' @param x An R object.
#' @export
#' @examples
#' library(xfun)
#' isFALSE(TRUE) # false
Expand Down
20 changes: 0 additions & 20 deletions man/isFALSE.Rd

This file was deleted.

0 comments on commit cfbf040

Please sign in to comment.