CRAN Package Check Results for Package ineptR

Last updated on 2023-12-30 10:49:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 3.52 39.10 42.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 2.13 30.30 32.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 31.18 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 28.69 ERROR
r-devel-windows-x86_64 0.2.1 5.00 76.00 81.00 OK
r-patched-linux-x86_64 0.2.1 2.28 36.53 38.81 OK
r-release-linux-x86_64 0.2.1 2.17 36.49 38.66 OK
r-release-macos-arm64 0.2.1 92.00 OK
r-release-macos-x86_64 0.2.1 101.00 OK
r-release-windows-x86_64 0.2.1 6.00 79.00 85.00 OK
r-oldrel-macos-arm64 0.2.1 95.00 OK
r-oldrel-windows-x86_64 0.2.1 5.00 84.00 89.00 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘ineptR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_ine_data > ### Title: Get data from the INE API > ### Aliases: get_ine_data > > ### ** Examples > > #A simple example. Returns the complete dataset. > get_ine_data("0011823") Error in `vars_select_eval()`: ! Can't subset columns past the end. ℹ Location 1 doesn't exist. ℹ There are only 0 columns. Backtrace: ▆ 1. ├─ineptR::get_ine_data("0011823") 2. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 3. ├─dplyr::relocate(., dim_1, .before = 1) 4. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 5. │ └─dplyr:::eval_relocate(...) 6. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 7. │ └─tidyselect:::eval_select_impl(...) 8. │ ├─tidyselect:::with_subscript_errors(...) 9. │ │ └─rlang::try_fetch(...) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─tidyselect:::vars_select_eval(...) 12. │ └─tidyselect:::loc_validate(pos, vars) 13. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 14. └─vctrs (local) `<fn>`() 15. └─vctrs:::stop_subscript_oob(...) 16. └─vctrs:::stop_subscript(...) 17. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/28s] 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(ineptR) > > test_check("ineptR") [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-get_ine_data.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_dim_info.R:13:5'): Indicator exists and call succeded ──── all(c("dim_num", "abrv", "versao") %in% names(get_dim_info("0011823"))) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_true(...) at test-get_dim_info.R:13:5 ── Error ('test-get_ine_data.R:10:3'): Indicator exists and call succeded ────── <vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition> Error in `vars_select_eval(vars, expr, strict = strict, data = x, name_spec = name_spec, uniquely_named = uniquely_named, allow_rename = allow_rename, allow_empty = allow_empty, allow_predicates = allow_predicates, type = type, error_call = error_call)`: Can't subset columns past the end. i Location 1 doesn't exist. i There are only 0 columns. Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_ine_data("0011823"), "data.frame") at test-get_ine_data.R:10:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ineptR::get_ine_data("0011823") 5. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 6. ├─dplyr::relocate(., dim_1, .before = 1) 7. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 8. │ └─dplyr:::eval_relocate(...) 9. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 10. │ └─tidyselect:::eval_select_impl(...) 11. │ ├─tidyselect:::with_subscript_errors(...) 12. │ │ └─rlang::try_fetch(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─tidyselect:::vars_select_eval(...) 15. │ └─tidyselect:::loc_validate(pos, vars) 16. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 17. └─vctrs (local) `<fn>`() 18. └─vctrs:::stop_subscript_oob(...) 19. └─vctrs:::stop_subscript(...) 20. └─rlang::abort(...) [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/27s] 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(ineptR) > > test_check("ineptR") [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-get_ine_data.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_dim_info.R:13:5'): Indicator exists and call succeded ──── all(c("dim_num", "abrv", "versao") %in% names(get_dim_info("0011823"))) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_true(...) at test-get_dim_info.R:13:5 ── Error ('test-get_ine_data.R:10:3'): Indicator exists and call succeded ────── <vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition> Error in `vars_select_eval(vars, expr, strict = strict, data = x, name_spec = name_spec, uniquely_named = uniquely_named, allow_rename = allow_rename, allow_empty = allow_empty, allow_predicates = allow_predicates, type = type, error_call = error_call)`: Can't subset columns past the end. i Location 1 doesn't exist. i There are only 0 columns. Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_ine_data("0011823"), "data.frame") at test-get_ine_data.R:10:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ineptR::get_ine_data("0011823") 5. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 6. ├─dplyr::relocate(., dim_1, .before = 1) 7. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 8. │ └─dplyr:::eval_relocate(...) 9. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 10. │ └─tidyselect:::eval_select_impl(...) 11. │ ├─tidyselect:::with_subscript_errors(...) 12. │ │ └─rlang::try_fetch(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─tidyselect:::vars_select_eval(...) 15. │ └─tidyselect:::loc_validate(pos, vars) 16. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 17. └─vctrs (local) `<fn>`() 18. └─vctrs:::stop_subscript_oob(...) 19. └─vctrs:::stop_subscript(...) 20. └─rlang::abort(...) [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘ineptR-Ex.R’ failed The error most likely occurred in: > ### Name: get_ine_data > ### Title: Get data from the INE API > ### Aliases: get_ine_data > > ### ** Examples > > #A simple example. Returns the complete dataset. > get_ine_data("0011823") Error in `vars_select_eval()`: ! Can't subset columns past the end. ℹ Location 1 doesn't exist. ℹ There are only 0 columns. Backtrace: ▆ 1. ├─ineptR::get_ine_data("0011823") 2. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 3. ├─dplyr::relocate(., dim_1, .before = 1) 4. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 5. │ └─dplyr:::eval_relocate(...) 6. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 7. │ └─tidyselect:::eval_select_impl(...) 8. │ ├─tidyselect:::with_subscript_errors(...) 9. │ │ └─rlang::try_fetch(...) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─tidyselect:::vars_select_eval(...) 12. │ └─tidyselect:::loc_validate(pos, vars) 13. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 14. └─vctrs (local) `<fn>`() 15. └─vctrs:::stop_subscript_oob(...) 16. └─vctrs:::stop_subscript(...) 17. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/19s] 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(ineptR) > > test_check("ineptR") [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-get_ine_data.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_dim_info.R:13:5'): Indicator exists and call succeded ──── all(c("dim_num", "abrv", "versao") %in% names(get_dim_info("0011823"))) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_true(...) at test-get_dim_info.R:13:5 ── Error ('test-get_ine_data.R:10:3'): Indicator exists and call succeded ────── <vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition> Error in `vars_select_eval(vars, expr, strict = strict, data = x, name_spec = name_spec, uniquely_named = uniquely_named, allow_rename = allow_rename, allow_empty = allow_empty, allow_predicates = allow_predicates, type = type, error_call = error_call)`: Can't subset columns past the end. i Location 1 doesn't exist. i There are only 0 columns. Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_ine_data("0011823"), "data.frame") at test-get_ine_data.R:10:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ineptR::get_ine_data("0011823") 5. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 6. ├─dplyr::relocate(., dim_1, .before = 1) 7. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 8. │ └─dplyr:::eval_relocate(...) 9. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 10. │ └─tidyselect:::eval_select_impl(...) 11. │ ├─tidyselect:::with_subscript_errors(...) 12. │ │ └─rlang::try_fetch(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─tidyselect:::vars_select_eval(...) 15. │ └─tidyselect:::loc_validate(pos, vars) 16. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 17. └─vctrs (local) `<fn>`() 18. └─vctrs:::stop_subscript_oob(...) 19. └─vctrs:::stop_subscript(...) 20. └─rlang::abort(...) [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/18s] 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(ineptR) > > test_check("ineptR") [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-get_ine_data.R:35:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_dim_info.R:13:5'): Indicator exists and call succeded ──── all(c("dim_num", "abrv", "versao") %in% names(get_dim_info("0011823"))) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_true(...) at test-get_dim_info.R:13:5 ── Error ('test-get_ine_data.R:10:3'): Indicator exists and call succeded ────── <vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition> Error in `vars_select_eval(vars, expr, strict = strict, data = x, name_spec = name_spec, uniquely_named = uniquely_named, allow_rename = allow_rename, allow_empty = allow_empty, allow_predicates = allow_predicates, type = type, error_call = error_call)`: Can't subset columns past the end. i Location 1 doesn't exist. i There are only 0 columns. Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_ine_data("0011823"), "data.frame") at test-get_ine_data.R:10:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ineptR::get_ine_data("0011823") 5. │ └─... %>% dplyr::relocate(dim_1, .before = 1) 6. ├─dplyr::relocate(., dim_1, .before = 1) 7. ├─dplyr:::relocate.data.frame(., dim_1, .before = 1) 8. │ └─dplyr:::eval_relocate(...) 9. │ └─tidyselect::eval_select(before, data, env = env, error_call = error_call) 10. │ └─tidyselect:::eval_select_impl(...) 11. │ ├─tidyselect:::with_subscript_errors(...) 12. │ │ └─rlang::try_fetch(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─tidyselect:::vars_select_eval(...) 15. │ └─tidyselect:::loc_validate(pos, vars) 16. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call) 17. └─vctrs (local) `<fn>`() 18. └─vctrs:::stop_subscript_oob(...) 19. └─vctrs:::stop_subscript(...) 20. └─rlang::abort(...) [ FAIL 2 | WARN 9 | SKIP 1 | PASS 26 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc