CRAN Package Check Results for Package regcensus

Last updated on 2024-04-14 03:55:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 3.90 44.31 48.21 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 3.57 33.19 36.76 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 64.12 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 73.58 ERROR
r-devel-windows-x86_64 1.0.1 6.00 88.00 94.00 ERROR
r-patched-linux-x86_64 1.0.1 3.27 42.72 45.99 ERROR
r-release-linux-x86_64 1.0.1 2.79 40.02 42.81 ERROR
r-release-macos-arm64 1.0.1 168.00 OK
r-release-macos-x86_64 1.0.1 262.00 OK
r-release-windows-x86_64 1.0.1 6.00 90.00 96.00 ERROR

Check Details

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/31s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/31s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/34s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [30s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/32s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [31s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(regcensus) > > test_check("regcensus") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:41:1'): (code run outside of `test_that()`) ───────────────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at tests.R:41:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─regcensus::list_industries(only_id = TRUE, reverse = TRUE) 5. └─jsonlite::fromJSON(content(GET(url_call), as = "parsed")) 6. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64