From 30ddc81fb2642f812dd8bb1cb00a76832b3763e4 Mon Sep 17 00:00:00 2001 From: Lionel Henry Date: Fri, 31 May 2024 13:41:04 +0200 Subject: [PATCH] Redocument --- man/bare-type-predicates.Rd | 5 +++-- man/type-predicates.Rd | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/man/bare-type-predicates.Rd b/man/bare-type-predicates.Rd index 10f400afa7..90a8df9483 100644 --- a/man/bare-type-predicates.Rd +++ b/man/bare-type-predicates.Rd @@ -54,8 +54,9 @@ a data frame is a list, but not a bare list. \itemize{ \item The predicates for vectors include the \code{n} argument for pattern-matching on the vector length. -\item Like \code{\link[=is_atomic]{is_atomic()}} and unlike base R \code{is.atomic()}, -\code{is_bare_atomic()} does not return \code{TRUE} for \code{NULL}. +\item Like \code{\link[=is_atomic]{is_atomic()}} and unlike base R \code{is.atomic()} for R < 4.4.0, +\code{is_bare_atomic()} does not return \code{TRUE} for \code{NULL}. Starting in +R 4.4.0, \code{is.atomic(NULL)} returns FALSE. \item Unlike base R \code{is.numeric()}, \code{is_bare_double()} only returns \code{TRUE} for floating point numbers. } diff --git a/man/type-predicates.Rd b/man/type-predicates.Rd index 1e2b5b5e0e..aac486611b 100644 --- a/man/type-predicates.Rd +++ b/man/type-predicates.Rd @@ -57,8 +57,8 @@ Compared to base R functions: \itemize{ \item The predicates for vectors include the \code{n} argument for pattern-matching on the vector length. -\item Unlike \code{is.atomic()}, \code{is_atomic()} does not return \code{TRUE} for -\code{NULL}. +\item Unlike \code{is.atomic()} in R < 4.4.0, \code{is_atomic()} does not return \code{TRUE} for +\code{NULL}. Starting in R 4.4.0 \code{is.atomic(NULL)} returns FALSE. \item Unlike \code{is.vector()}, \code{is_vector()} tests if an object is an atomic vector or a list. \code{is.vector} checks for the presence of attributes (other than name).