CRAN Package Check Results for Package qrandom

Last updated on 2020-12-04 00:48:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3 4.32 47.89 52.21 OK
r-devel-linux-x86_64-debian-gcc 1.2.3 3.51 39.60 43.11 OK
r-devel-linux-x86_64-fedora-clang 1.2.3 67.17 OK
r-devel-linux-x86_64-fedora-gcc 1.2.3 59.12 OK
r-devel-windows-ix86+x86_64 1.2.3 11.00 86.00 97.00 OK
r-patched-linux-x86_64 1.2.3 4.54 47.77 52.31 OK
r-patched-solaris-x86 1.2.3 84.20 OK
r-release-linux-x86_64 1.2.3 4.26 44.95 49.21 OK
r-release-macos-x86_64 1.2.3 OK
r-release-windows-ix86+x86_64 1.2.3 9.00 85.00 94.00 OK
r-oldrel-macos-x86_64 1.2.3 OK
r-oldrel-windows-ix86+x86_64 1.2.3 8.00 71.00 79.00 ERROR

Check Details

Version: 1.2.3
Check: tests
Result: ERROR
     Running 'testthat.R' [11s]
    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/')
     + 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")
     + }
     -- Warning (test-qrandom.R:4:3): qrandom ---------------------------------------
     URL 'https://qrng.anu.edu.au/API/jsonI.php?length=1&type=uint8': status was 'SSL connect error'
    
     -- ERROR (test-qrandom.R:4:3): qrandom -----------------------------------------
     Error: cannot open the connection to 'https://qrng.anu.edu.au/API/jsonI.php?length=1&type=uint8'
     Backtrace:
     x
     1. \-qrandom::qrandom() test-qrandom.R:4:2
     2. \-qrandom:::get_sequence(n = n, type = type, blocksize = blocksize)
     3. \-qrandom:::getConnection(website = urltxt, open = "r")
     4. \-base::url(website, ..., method = "libcurl")
    
     -- Warning (test-qrandommaxint.R:16:3): qrandommaxint() gives expected output --
     URL 'https://qrng.anu.edu.au/API/jsonI.php?length=2&type=hex16&size=4': status was 'SSL connect error'
    
     -- ERROR (test-qrandommaxint.R:16:3): qrandommaxint() gives expected output ----
     Error: cannot open the connection to 'https://qrng.anu.edu.au/API/jsonI.php?length=2&type=hex16&size=4'
     Backtrace:
     x
     1. \-qrandom::qrandommaxint(2) test-qrandommaxint.R:16:2
     2. \-qrandom::qrandom(n = n, type = "hex16", blocksize = 4)
     3. \-qrandom:::get_sequence(n = n, type = type, blocksize = blocksize)
     4. \-qrandom:::getConnection(website = urltxt, open = "r")
     5. \-base::url(website, ..., method = "libcurl")
    
     -- Warning (test-qrandomnorm.R:4:3): qrandomnorm -------------------------------
     URL 'https://qrng.anu.edu.au/API/jsonI.php?length=10&type=hex16&size=7': status was 'SSL connect error'
    
     -- ERROR (test-qrandomnorm.R:4:3): qrandomnorm ---------------------------------
     Error: cannot open the connection to 'https://qrng.anu.edu.au/API/jsonI.php?length=10&type=hex16&size=7'
     Backtrace:
     x
     1. \-qrandom::qrandomnorm(10) test-qrandomnorm.R:4:2
     2. \-qrandom::qrandomunif(n = n)
     3. \-qrandom::qrandom(n = n, type = "hex16", blocksize = 7)
     4. \-qrandom:::get_sequence(n = n, type = type, blocksize = blocksize)
     5. \-qrandom:::getConnection(website = urltxt, open = "r")
     6. \-base::url(website, ..., method = "libcurl")
    
     -- Warning (test-qrandomunif.R:4:3): qrandomunif -------------------------------
     URL 'https://qrng.anu.edu.au/API/jsonI.php?length=10&type=hex16&size=7': status was 'SSL connect error'
    
     -- ERROR (test-qrandomunif.R:4:3): qrandomunif ---------------------------------
     Error: cannot open the connection to 'https://qrng.anu.edu.au/API/jsonI.php?length=10&type=hex16&size=7'
     Backtrace:
     x
     1. \-qrandom::qrandomunif(10) test-qrandomunif.R:4:2
     2. \-qrandom::qrandom(n = n, type = "hex16", blocksize = 7)
     3. \-qrandom:::get_sequence(n = n, type = type, blocksize = blocksize)
     4. \-qrandom:::getConnection(website = urltxt, open = "r")
     5. \-base::url(website, ..., method = "libcurl")
    
     == testthat results ===========================================================
     Warning (test-qrandom.R:4:3): qrandom
     ERROR (test-qrandom.R:4:3): qrandom
     Warning (test-qrandommaxint.R:16:3): qrandommaxint() gives expected output
     ERROR (test-qrandommaxint.R:16:3): qrandommaxint() gives expected output
     Warning (test-qrandomnorm.R:4:3): qrandomnorm
     ERROR (test-qrandomnorm.R:4:3): qrandomnorm
     Warning (test-qrandomunif.R:4:3): qrandomunif
     ERROR (test-qrandomunif.R:4:3): qrandomunif
    
     [ FAIL 4 | WARN 4 | SKIP 0 | PASS 9 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64