CRAN Package Check Results for Package ALA4R

Last updated on 2019-09-20 21:46:18 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.0 8.79 75.86 84.65 OK
r-devel-linux-x86_64-debian-gcc 1.7.0 7.03 59.92 66.95 OK
r-devel-linux-x86_64-fedora-clang 1.7.0 80.89 OK
r-devel-linux-x86_64-fedora-gcc 1.7.0 77.61 OK
r-devel-windows-ix86+x86_64 1.7.0 26.00 182.00 208.00 ERROR
r-patched-linux-x86_64 1.7.0 7.88 74.56 82.44 OK
r-patched-solaris-x86 1.7.0 113.50 OK
r-release-linux-x86_64 1.7.0 7.73 74.73 82.46 OK
r-release-windows-ix86+x86_64 1.7.0 14.00 129.00 143.00 OK
r-release-osx-x86_64 1.7.0 OK
r-oldrel-windows-ix86+x86_64 1.7.0 10.00 137.00 147.00 OK
r-oldrel-osx-x86_64 1.7.0 OK

Check Details

Version: 1.7.0
Check: tests
Result: ERROR
     Running 'testthat.R' [366s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(ALA4R)
     >
     > ## run each test with and without caching
     > check_caching=function(f) {
     + ala_config(caching="off")
     + f()
     + ala_config(caching="on")
     + f()
     + f()
     + }
     >
     > test_check("ALA4R")
     -- 1. Error: NULL returned when no assertions present in input (@test-assertions
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     -- 2. Error: NULL returned when no assertions present in input (@test-assertions
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     -- 3. Error: NULL returned when no assertions present in input (@test-assertions
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     -- 4. Error: check_assertions checks class of input correctly (@test-assertions.
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     -- 5. Error: check_assertions checks class of input correctly (@test-assertions.
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     -- 6. Error: check_assertions checks class of input correctly (@test-assertions.
     HTTP status code 504 received.
     Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
     1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: check_assertions(temp)
     5: ala_fields("assertions", as_is = TRUE)
     6: cached_get(this_url, type = "json")
     7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"),
     verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error)
     8: check_status_code(status_code, on_redirect = on_redirect, on_client_error = on_client_error,
     on_server_error = on_server_error, extra_info = diag_message)
     9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
    
     == testthat results ===========================================================
     [ OK: 40 | SKIPPED: 158 | WARNINGS: 0 | FAILED: 6 ]
     1. Error: NULL returned when no assertions present in input (@test-assertions.R#7)
     2. Error: NULL returned when no assertions present in input (@test-assertions.R#7)
     3. Error: NULL returned when no assertions present in input (@test-assertions.R#7)
     4. Error: check_assertions checks class of input correctly (@test-assertions.R#18)
     5. Error: check_assertions checks class of input correctly (@test-assertions.R#18)
     6. Error: check_assertions checks class of input correctly (@test-assertions.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64