CRAN Package Check Results for Package nationwider

Last updated on 2021-03-03 22:51:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 6.11 65.18 71.29 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.1 5.24 49.96 55.20 OK
r-devel-linux-x86_64-fedora-clang 1.1.1 94.41 OK
r-devel-linux-x86_64-fedora-gcc 1.1.1 84.08 OK
r-devel-windows-ix86+x86_64 1.1.1 13.00 107.00 120.00 OK
r-patched-linux-x86_64 1.1.1 6.10 62.98 69.08 OK
r-patched-solaris-x86 1.1.1 116.00 OK
r-release-linux-x86_64 1.1.1 5.79 63.36 69.15 OK
r-release-macos-x86_64 1.1.1 OK
r-release-windows-ix86+x86_64 1.1.1 13.00 100.00 113.00 OK
r-oldrel-macos-x86_64 1.1.1 OK
r-oldrel-windows-ix86+x86_64 1.1.1 13.00 95.00 108.00 OK

Check Details

Version: 1.1.1
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/0s]
     Running 'testthat.R' [11s/260s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(nationwider)
     >
     > test_check("nationwider")
     == Failed tests ================================================================
     -- Failure (test-symbols.R:24:3): id works -------------------------------------
     `ntwd_get("old_prop")` threw an error.
     Message: invalid first filename
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(ntwd_get("old_prop"), NA) test-symbols.R:24:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-nationwider::ntwd_get("old_prop")
     7. \-nationwider:::ntwd_get_id(id, .verbose = verbose)
     8. \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
     9. \-base::file.remove(xfile)
     -- Failure (test-symbols.R:29:3): id works -------------------------------------
     `ntwd_get("flats")` threw an error.
     Message: invalid first filename
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(ntwd_get("flats"), NA) test-symbols.R:29:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-nationwider::ntwd_get("flats")
     7. \-nationwider:::ntwd_get_id(id, .verbose = verbose)
     8. \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
     9. \-base::file.remove(xfile)
     -- Error (test-tidy.R:15:3): tidy objects --------------------------------------
     Error: `path` must be a string
     Backtrace:
     x
     1. +-nationwider:::expect_tidy(ntwd_get("old_prop")) test-tidy.R:15:2
     2. | +-testthat::expect(is_tidy(x), "object is not tidy") helper.R:16:2
     3. | \-nationwider:::is_tidy(x)
     4. | \-nationwider:::has_date(x) helper.R:12:2
     5. \-nationwider::ntwd_get("old_prop") helper.R:3:2
     6. \-nationwider:::ntwd_get_id(id, .verbose = verbose)
     7. \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
     8. \-nationwider:::read_excel_silently(...)
     9. +-base::suppressMessages(...)
     10. | \-base::withCallingHandlers(...)
     11. \-readxl::read_excel(..., na = c("", "N/A"))
     12. \-readxl:::check_file(path)
     -- Error (test-tidy.R:15:3): tidy objects --------------------------------------
     Error: invalid first filename
     Backtrace:
     x
     1. +-nationwider:::expect_tidy(ntwd_get("old_prop")) test-tidy.R:15:2
     2. | +-testthat::expect(is_tidy(x), "object is not tidy") helper.R:16:2
     3. | \-nationwider:::is_tidy(x)
     4. | \-nationwider:::has_date(x) helper.R:12:2
     5. \-nationwider::ntwd_get("old_prop") helper.R:3:2
     6. \-nationwider:::ntwd_get_id(id, .verbose = verbose)
     7. \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
     8. \-base::file.remove(xfile)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 31 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang