Skip to content

Commit 40922bb

Browse files
author
maechler
committed
assert known warning
git-svn-id: https://svn.r-project.org/R/trunk@89094 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent a212f32 commit 40922bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/reg-tests-1e.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ stopifnot( print(
23872387
vapply(L, \(.) identical(.$f0 - .$f0, .$f), NA) ) )
23882388
## were all FALSE : diff(fnm, 2,5) was not a matrix
23892389
m <- ts(matrix(1)) # ts-matrix boundary case
2390-
d1 <- m - lag(m, -1) # warning: non-intersecting series
2390+
assertWarnV(d1 <- m - lag(m, -1)) # "non-intersecting series"
23912391
d2 <- diff(m)
23922392
stopifnot(identical(d1,d2), identical(dim(d1), 0:1))
23932393
## both d1 & d2 were *not* matrix in R <= 4.5.2

0 commit comments

Comments
 (0)