Skip to content

Commit cca480b

Browse files
committed
More tests; ready for CRAN
1 parent 5619964 commit cca480b

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: spatstat.utils
2-
Version: 3.1-1.001
3-
Date: 2024-12-02
2+
Version: 3.1-2
3+
Date: 2025-01-03
44
Title: Utility Functions for 'spatstat'
55
Authors@R: c(person("Adrian", "Baddeley",
66
role = c("aut", "cre"),

NEWS

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

2-
CHANGES IN spatstat.utils VERSION 3.1-1.001
2+
CHANGES IN spatstat.utils VERSION 3.1-2
33

44
OVERVIEW
55

inst/doc/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
2727
"2024-06-17" "3.0-5" 41 189 0 3688 2031
2828
"2024-08-17" "3.1-0" 41 189 0 3613 2429
2929
"2024-11-02" "3.1-1" 41 189 0 3614 2429
30-
"2024-12-02" "3.1-1.001" 41 189 0 3625 2429
30+
"2025-01-03" "3.1-2" 41 189 0 3625 2429

inst/info/packagesizes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
2727
"2024-06-17" "3.0-5" 41 189 0 3688 2031
2828
"2024-08-17" "3.1-0" 41 189 0 3613 2429
2929
"2024-11-02" "3.1-1" 41 189 0 3614 2429
30-
"2024-12-02" "3.1-1.001" 41 189 0 3625 2429
30+
"2025-01-03" "3.1-2" 41 189 0 3625 2429

man/primefactors.Rd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@ primesbelow(nmax)
7474
\examples{
7575
is.prime(17)
7676

77+
is.prime(399137)
78+
7779
relatively.prime(2, 3)
7880

7981
primefactors(24) ## Note repeated factors
8082

83+
primefactors(713291035)
84+
8185
divisors(24)
8286

8387
greatest.common.divisor(60, 100)

tests/numerical.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,4 @@ primefactors(8209 * 3)
134134
stopifnot(identical(primefactors(42),
135135
primefactors(42, "interpreted")))
136136

137+
stopifnot(is.prime(399137))

0 commit comments

Comments
 (0)