Skip to content

Commit 1d016f6

Browse files
committed
Reduce computation time in examples
1 parent 9d2f18b commit 1d016f6

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: spatstat.linnet
2-
Version: 3.3-2.025
3-
Date: 2025-11-25
2+
Version: 3.3-2.026
3+
Date: 2025-11-26
44
Title: Linear Networks Functionality of the 'spatstat' Family
55
Authors@R: c(person("Adrian", "Baddeley",
66
role = c("aut", "cre", "cph"),
@@ -25,7 +25,7 @@ Authors@R: c(person("Adrian", "Baddeley",
2525
person("Ottmar", "Cronie",
2626
role = "ctb"))
2727
Maintainer: Adrian Baddeley <[email protected]>
28-
Depends: R (>= 3.5.0), stats, graphics, grDevices, methods, utils, spatstat.data (>= 3.1-9), spatstat.univar (>= 3.1-5), spatstat.geom (>= 3.6-1), spatstat.random (>= 3.4-3), spatstat.explore (>= 3.6-0), spatstat.model (>= 3.4-2.023)
28+
Depends: R (>= 3.5.0), stats, graphics, grDevices, methods, utils, spatstat.data (>= 3.1-9), spatstat.univar (>= 3.1-5), spatstat.geom (>= 3.6-1), spatstat.random (>= 3.4-3), spatstat.explore (>= 3.6-0), spatstat.model (>= 3.4-2.026)
2929
Imports: Matrix, spatstat.utils (>= 3.1-5), spatstat.sparse (>= 3.1)
3030
Suggests: goftest, locfit, spatstat (>= 3.4)
3131
Description: Defines types of spatial data on a linear network

NEWS

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

2-
CHANGES IN spatstat.linnet VERSION 3.3-2.025
2+
CHANGES IN spatstat.linnet VERSION 3.3-2.026
33

44
OVERVIEW
55

inst/doc/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
4141
"2025-07-24" "3.3-0" 150 328 0 13326 3270
4242
"2025-07-24" "3.3-1" 150 328 0 13326 3270
4343
"2025-09-24" "3.3-2" 150 328 0 13356 3270
44-
"2025-11-25" "3.3-2.025" 158 363 0 14737 3270
44+
"2025-11-26" "3.3-2.026" 158 363 0 14737 3270

inst/info/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
4141
"2025-07-24" "3.3-0" 150 328 0 13326 3270
4242
"2025-07-24" "3.3-1" 150 328 0 13326 3270
4343
"2025-09-24" "3.3-2" 150 328 0 13356 3270
44-
"2025-11-25" "3.3-2.025" 158 363 0 14737 3270
44+
"2025-11-26" "3.3-2.026" 158 363 0 14737 3270

man/qqplot.lppm.Rd

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,16 @@
252252
\code{\link{lppm}}
253253
}
254254
\examples{
255-
X <- unmark(chicago)
256-
if(interactive()) X <- X[c(FALSE,TRUE)]
257-
258-
fit <- lppm(X ~ x + y)
255+
if(online <- interactive()) {
256+
X <- unmark(chicago)
257+
fit <- lppm(X ~ x + y)
258+
ns <- 100
259+
} else {
260+
X <- runiflpp(20, simplenet)
261+
fit <- lppm(X ~ y)
262+
ns <- 4
263+
}
259264

260-
ns <- if(interactive()) 100 else 4
261265
qqplot.lppm(fit, nsim=ns)
262266
qqplot.lppm(fit, nsim=ns, type="pearson")
263267

0 commit comments

Comments
 (0)