diff --git a/DESCRIPTION b/DESCRIPTION index 16d17e1..1ceaad2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: dqrng Type: Package Title: Fast Pseudo Random Number Generators -Version: 0.0.2 +Version: 0.0.3 Authors@R: c( person("Ralf", "Stubner", email = "ralf.stubner@daqana.com", role = c("aut", "cre")), person("daqana GmbH", role = "cph"), diff --git a/cran-comments.md b/cran-comments.md index a27529f..cda5d17 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,22 +1,25 @@ ## Resubmission This is a resubmission. In this version I have: -* Removed the redundant "for R" from the title. - -* Included the actual algorithms including citation information - in the 'Description' field of the DESCRIPTION file. - -* Changed the license of my contributions from GPL (>=2) to AGPL-3. +* Patched the included PCG RNG to compile on Solaris ## Test environments -* local Debian install, R 3.5.0 -* Ubuntu on travis-ci, R 3.5.0, R 3.3.3, R-devel -* MacOS on travis-ci, R 3.5.0 -* Windows on AppVeyor, R 3.5.0 -* Windows and Linux with R 3.5.0 and R-devel via rhub::check_for_cran() +* local: Debian stable with R 3.5.0 +* Travis-CI: + * Ubuntu Trusty, R 3.5.0, R 3.3.3, R-devel + * MacOS, R 3.5.0 +* AppVeyor: Windows, R 3.5.0 +* winbuilder: Windows, R-devel +* r-hub.io: + * Windows, R-devel + * Ubuntu, gcc, R-release + * Fedora, clang, R-devel + * Solaris, R-patched ## R CMD check results 0 errors | 0 warnings | 1 note -* This is a new release. +* Days since last update: 3 + +=> Submission fixes compilation ERROR on Solaris diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index bd4ca17..5b0b2be 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -55,7 +55,7 @@
@@ -108,7 +108,7 @@dqrng.Rmd
Using dqrng is about three times faster:
library(dqrng)
dqRNGkind("Xoroshiro128+")
@@ -123,28 +123,28 @@
system.time(cat("pi ~= ", piR(N, rng = dqrunif), "\n"))
#> pi ~= 3.140501
#> User System verstrichen
-#> 0.286 0.112 0.398
Since the calculations add a constant off-set, the speed-up for the RNGs alone has to be even greater:
system.time(runif(N))
#> User System verstrichen
-#> 0.406 0.025 0.434
+#> 0.258 0.012 0.270
system.time(dqrunif(N))
#> User System verstrichen
-#> 0.052 0.024 0.076
Similar for the exponential distribution:
system.time(rexp(N))
#> User System verstrichen
-#> 0.589 0.011 0.601
+#> 0.420 0.004 0.424
system.time(dqrexp(N))
#> User System verstrichen
-#> 0.090 0.029 0.118
And for the normal distribution:
system.time(rnorm(N))
#> User System verstrichen
-#> 0.946 0.008 0.953
+#> 0.598 0.000 0.598
system.time(dqrnorm(N))
#> User System verstrichen
-#> 0.109 0.024 0.133