From b3426cd2ba70571471bddb6e88a47898ba223430 Mon Sep 17 00:00:00 2001 From: hornik Date: Sun, 19 Jan 2025 15:09:27 +0000 Subject: [PATCH] Say that matrix-like is not vector-like. git-svn-id: https://svn.r-project.org/R/trunk@87594 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/library/base/man/difftime.Rd | 1 + src/library/base/man/sets.Rd | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/library/base/man/difftime.Rd b/src/library/base/man/difftime.Rd index d40920c32b2..4fb0391f2c8 100644 --- a/src/library/base/man/difftime.Rd +++ b/src/library/base/man/difftime.Rd @@ -27,6 +27,7 @@ \alias{units.difftime} \alias{units<-.difftime} \alias{time interval} % used by mean.Rd +\alias{summary.difftime} \description{ Time intervals creation, printing, and some arithmetic. The \code{\link{print}()} method calls these \dQuote{time differences}. diff --git a/src/library/base/man/sets.Rd b/src/library/base/man/sets.Rd index b3c0ce4cc0d..d8479a80a58 100644 --- a/src/library/base/man/sets.Rd +++ b/src/library/base/man/sets.Rd @@ -43,7 +43,8 @@ is.element(el, set) to character vectors). Starting with \R 4.5.0, operands of the \dQuote{same kind} (in the sense that \code{\link{isa}(x, class(y))} or \code{\link{isa}(y, class(x))} which appear to be - \dQuote{vector-like} (in the sense that subscripting \code{x} and/or + \dQuote{vector-like} (in the sense that \code{dim(x)} has length at + most one, and subscripting \code{x} and/or \code{y} by \code{0L} leaves the class unchanged) are no longer transformed. In particular, union, intersection and set difference of two factors now give factors (see the examples).