Skip to content

Commit

Permalink
More tests; ready for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
baddstats committed Jan 3, 2025
1 parent 5619964 commit cca480b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: spatstat.utils
Version: 3.1-1.001
Date: 2024-12-02
Version: 3.1-2
Date: 2025-01-03
Title: Utility Functions for 'spatstat'
Authors@R: c(person("Adrian", "Baddeley",
role = c("aut", "cre"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

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

OVERVIEW

Expand Down
2 changes: 1 addition & 1 deletion inst/doc/packagesizes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
"2024-06-17" "3.0-5" 41 189 0 3688 2031
"2024-08-17" "3.1-0" 41 189 0 3613 2429
"2024-11-02" "3.1-1" 41 189 0 3614 2429
"2024-12-02" "3.1-1.001" 41 189 0 3625 2429
"2025-01-03" "3.1-2" 41 189 0 3625 2429
2 changes: 1 addition & 1 deletion inst/info/packagesizes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
"2024-06-17" "3.0-5" 41 189 0 3688 2031
"2024-08-17" "3.1-0" 41 189 0 3613 2429
"2024-11-02" "3.1-1" 41 189 0 3614 2429
"2024-12-02" "3.1-1.001" 41 189 0 3625 2429
"2025-01-03" "3.1-2" 41 189 0 3625 2429
4 changes: 4 additions & 0 deletions man/primefactors.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ primesbelow(nmax)
\examples{
is.prime(17)

is.prime(399137)

relatively.prime(2, 3)

primefactors(24) ## Note repeated factors

primefactors(713291035)

divisors(24)

greatest.common.divisor(60, 100)
Expand Down
1 change: 1 addition & 0 deletions tests/numerical.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ primefactors(8209 * 3)
stopifnot(identical(primefactors(42),
primefactors(42, "interpreted")))

stopifnot(is.prime(399137))

0 comments on commit cca480b

Please sign in to comment.