Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for change in is.atomic() of R 4.4 #1691

Merged
merged 2 commits into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions R/types.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#' * The predicates for vectors include the `n` argument for
#' pattern-matching on the vector length.
#'
#' * Unlike `is.atomic()`, `is_atomic()` does not return `TRUE` for
#' `NULL`.
#' * Unlike `is.atomic()` in R < 4.4.0, `is_atomic()` does not return `TRUE` for
#' `NULL`. Starting in R 4.4.0 `is.atomic(NULL)` returns FALSE.
#'
#' * Unlike `is.vector()`, `is_vector()` tests if an object is an
#' atomic vector or a list. `is.vector` checks for the presence of
Expand Down Expand Up @@ -197,8 +197,9 @@ is_bool <- function(x) {
#' * The predicates for vectors include the `n` argument for
#' pattern-matching on the vector length.
#'
#' * Like [is_atomic()] and unlike base R `is.atomic()`,
#' `is_bare_atomic()` does not return `TRUE` for `NULL`.
#' * Like [is_atomic()] and unlike base R `is.atomic()` for R < 4.4.0,
#' `is_bare_atomic()` does not return `TRUE` for `NULL`. Starting in
#' R 4.4.0, `is.atomic(NULL)` returns FALSE.
#'
#' * Unlike base R `is.numeric()`, `is_bare_double()` only returns
#' `TRUE` for floating point numbers.
Expand Down
Loading