CRAN Package Check Results for Package qrandom

Last updated on 2020-08-28 05:50:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.2 4.98 46.85 51.83 OK
r-devel-linux-x86_64-debian-gcc 1.2.2 3.58 36.50 40.08 OK
r-devel-linux-x86_64-fedora-clang 1.2.2 71.50 OK
r-devel-linux-x86_64-fedora-gcc 1.2.2 52.96 OK
r-devel-windows-ix86+x86_64 1.2.2 11.00 125.00 136.00 OK
r-patched-linux-x86_64 1.2.2 4.13 45.68 49.81 OK
r-patched-solaris-x86 1.2.2 83.50 ERROR
r-release-linux-x86_64 1.2.2 4.52 45.44 49.96 OK
r-release-macos-x86_64 1.2.2 OK
r-release-windows-ix86+x86_64 1.2.2 11.00 128.00 139.00 OK
r-oldrel-macos-x86_64 1.2.2 OK
r-oldrel-windows-ix86+x86_64 1.2.2 7.00 112.00 119.00 OK

Check Details

Version: 1.2.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/164s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(qrandom)
     >
     > check_qrng <- function(){
     + tryCatch(
     + expr = {
     + req <- curl::curl_fetch_memory('https://qrng.anu.edu.au/index.php')
     + req$status_code
     + },
     + error = function(e){
     + -1
     + }
     + )
     + }
     >
     > ## test package separated with filter due to limited Travis-CI build time
     > if(curl::has_internet() & check_qrng() == 200){
     + test_check('qrandom', filter = "qrandom")
     + test_check('qrandom', filter = "qrandomunif")
     + test_check('qrandom', filter = "qrandomnorm")
     + test_check('qrandom', filter = "qUUID")
     + test_check('qrandom', filter = "qrandommaxint")
     + }
     Request 1/2:
     Request 2/2:
     Request 1/2:
     Request 2/2:
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 55 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 0 ]
     The ANU Quantum Random Number Generator service is not available at [https://qrng.anu.edu.au/index.php].
     Are you connected to the internet?
     ── 1. Error: qrandomunif (@test-qrandomunif.R#4) ──────────────────────────────
     cannot use object of class "NULL" in new(): class "mpfr" does not extend that class
     Backtrace:
     1. qrandom::qrandomunif(10)
     2. methods::new("mpfr", unlist(tmp))
     4. methods::initialize(value, ...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: qrandomunif (@test-qrandomunif.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86