Skip to content

Commit 6937a0c

Browse files
committed
Address several minor packaging nags
1 parent 61aa906 commit 6937a0c

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ inst/papers
1111
.*\.tar\.gz$
1212
^local
1313
^\.github
14+
^\.editorconfig

ChangeLog

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2025-03-22 Dirk Eddelbuettel <[email protected]>
2+
3+
* tests/zigguratTest.R: Set digits on third print too
4+
* tests/zigguratTest.Rout.save: Regenerated
5+
6+
* DESCRIPTION (Suggests): Added 'ggplot2'
7+
* DESCRIPTION (Description): Mention 'zigg'
8+
9+
* .Rbuildignore: Add .editorconfig
10+
111
2025-01-04 Dirk Eddelbuettel <[email protected]>
212

313
* DESCRIPTION (Version, Date): Roll micro version and date
@@ -284,4 +294,3 @@
284294
2013-10-06 Dirk Eddelbuettel <[email protected]>
285295

286296
* DESCRIPTION: Initial 0.0.1 packaging, github push and CRAN upload
287-

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ Date: 2025-01-04
66
Authors@R: person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "[email protected]",
77
comment = c(ORCID = "0000-0001-6419-907X"))
88
Description: The Ziggurat generator for normally distributed random
9-
numbers, originally proposed by Marsaglia and Tsang (2000,
9+
numbers, originally proposed by Marsaglia and Tsang (2000,
1010
<doi:10.18637/jss.v005.i08>) has been improved upon a few times
1111
starting with Leong et al (2005, <doi:10.18637/jss.v012.i07>).
1212
This package provides an aggregation in order to compare different
1313
implementations in order to provide a 'faster but good enough'
14-
alternative for use with R and C++ code.
14+
alternative for use with R and C++ code. See the 'zigg' package
15+
for a lighter implementation for much easier use in other packages
1516
License: GPL (>= 2)
1617
Depends: R (>= 3.0.0)
1718
Imports: Rcpp, parallel, graphics, stats, utils
18-
Suggests: rbenchmark, microbenchmark, lattice, knitr, rmarkdown, pinp
19+
Suggests: rbenchmark, microbenchmark, lattice, knitr, rmarkdown, pinp, ggplot2
1920
URL: https://github.com/eddelbuettel/rcppziggurat, https://dirk.eddelbuettel.com/code/rcpp.ziggurat.html
2021
BugReports: https://github.com/eddelbuettel/rcppziggurat/issues
2122
VignetteBuilder: knitr

tests/zigguratTest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ zsetseed(123456890)
88
print(zrnorm(10), digits=5)
99

1010
zsetseed(123456890)
11-
summary(zrnorm(1e6))
11+
print(summary(zrnorm(1e6)), digits=5)

tests/zigguratTest.Rout.save

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

2-
R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
3-
Copyright (C) 2018 The R Foundation for Statistical Computing
4-
Platform: x86_64-pc-linux-gnu (64-bit)
2+
R version 4.4.3 (2025-02-28) -- "Trophy Case"
3+
Copyright (C) 2025 The R Foundation for Statistical Computing
4+
Platform: x86_64-pc-linux-gnu
55

66
R is free software and comes with ABSOLUTELY NO WARRANTY.
77
You are welcome to redistribute it under certain conditions.
@@ -29,10 +29,10 @@ Type 'q()' to quit R.
2929
[8] -0.556584 0.564396 -2.154683
3030
>
3131
> zsetseed(123456890)
32-
> summary(zrnorm(1e6))
32+
> print(summary(zrnorm(1e6)), digits=5)
3333
Min. 1st Qu. Median Mean 3rd Qu. Max.
3434
-5.185016 -0.675879 -0.000469 -0.000729 0.674734 5.412184
3535
>
3636
> proc.time()
3737
user system elapsed
38-
0.440 0.576 0.290
38+
0.993 0.043 0.247

0 commit comments

Comments
 (0)