Skip to content

Commit 9e597ca

Browse files
author
maechler
committed
update for r88161
git-svn-id: https://svn.r-project.org/R/trunk@88174 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 2b29e52 commit 9e597ca

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

tests/Examples/stats-Ex.Rout.save

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
R Under development (unstable) (2025-01-24 r87624) -- "Unsuffered Consequences"
2+
R Under development (unstable) (2025-04-22 r88173) -- "Unsuffered Consequences"
33
Copyright (C) 2025 The R Foundation for Statistical Computing
44
Platform: aarch64-apple-darwin24.2.0
55

@@ -17986,6 +17986,35 @@ attr(,"response")
1798617986
[1] 1
1798717987
attr(,".Environment")
1798817988
<environment: R_GlobalEnv>
17989+
>
17990+
> ## use of '::' in terms to be marked as special is *wrong*
17991+
> ff <- list(y ~ offset(w) + x1 + s(x2),
17992+
+ y ~ stats::offset(w) + x1 + mgcv::s(x2))
17993+
> tt <- lapply(ff, terms, specials = c("s", "mgcv::s"))
17994+
> lapply(tt, attr, "offset")
17995+
[[1]]
17996+
[1] 2
17997+
17998+
[[2]]
17999+
NULL
18000+
18001+
> lapply(tt, attr, "specials")
18002+
[[1]]
18003+
[[1]]$s
18004+
[1] 4
18005+
18006+
[[1]]$`mgcv::s`
18007+
NULL
18008+
18009+
18010+
[[2]]
18011+
[[2]]$s
18012+
NULL
18013+
18014+
[[2]]$`mgcv::s`
18015+
NULL
18016+
18017+
1798918018
>
1799018019
>
1799118020
>

0 commit comments

Comments
 (0)