CRAN Package Check Results for Package robis

Last updated on 2021-07-19 06:49:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.6.0 8.06 95.43 103.49 OK
r-devel-linux-x86_64-debian-gcc 2.6.0 7.00 72.46 79.46 OK
r-devel-linux-x86_64-fedora-clang 2.6.0 130.68 OK
r-devel-linux-x86_64-fedora-gcc 2.6.0 119.55 OK
r-devel-windows-x86_64 2.6.0 12.00 179.00 191.00 OK
r-devel-windows-x86_64-gcc10-UCRT 2.6.0 OK
r-patched-linux-x86_64 2.6.0 9.18 87.96 97.14 OK
r-patched-solaris-x86 2.6.0 201.50 ERROR
r-release-linux-x86_64 2.6.0 6.70 89.41 96.11 OK
r-release-macos-arm64 2.3.9 OK
r-release-macos-x86_64 2.6.0 OK
r-release-windows-ix86+x86_64 2.6.0 20.00 169.00 189.00 ERROR
r-oldrel-macos-x86_64 2.6.0 OK
r-oldrel-windows-ix86+x86_64 2.6.0 19.00 183.00 202.00 OK

Check Details

Version: 2.6.0
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [20s/57s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(robis)
     >
     > test_check("robis")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_checklist.R:11:3): scientificname restricts the checklist by scientificname ──
     Error: no applicable method for 'http_error' applied to an object of class "NULL"
     Backtrace:
     █
     1. └─robis::checklist(scientificname = family, verbose = TRUE) test_checklist.R:11:2
     2. └─robis:::http_request("GET", "checklist", query, verbose)
     3. └─httr::http_error(result)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 22 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 2.6.0
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [21s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(robis)
     >
     > test_check("robis")
     == Skipped tests ===============================================================
     * On CRAN (4)
    
     == Failed tests ================================================================
     -- Error (test_occurrence.R:30:3): occurrence with absence = TRUE returns only absence records --
     Error: Result of comparison must be a single logical value
     Backtrace:
     x
     1. \-testthat::expect_gt(nrow(records), 0) test_occurrence.R:30:2
     2. \-testthat:::expect_compare(">", act, exp)
     -- Failure (test_taxon.R:6:3): taxon returns all requested taxa ----------------
     nrow(taxa) not equal to 2.
     1/1 mismatches
     [1] 0 - 2 == -2
     -- Failure (test_taxon.R:7:3): taxon returns all requested taxa ----------------
     141433 %in% taxa$taxonID is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure (test_taxon.R:8:3): taxon returns all requested taxa ----------------
     141434 %in% taxa$taxonID is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
    
     [ FAIL 4 | WARN 2 | SKIP 4 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-ix86+x86_64