Last updated on 2025-02-06 19:49:39 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0 | 4.61 | 75.92 | 80.53 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.0 | 3.11 | 51.36 | 54.47 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.0 | 141.24 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 130.89 | ERROR | |||
r-devel-windows-x86_64 | 0.1.0 | 8.00 | 101.00 | 109.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.0 | 4.32 | 72.25 | 76.57 | ERROR | |
r-release-linux-x86_64 | 0.1.0 | 3.73 | 71.24 | 74.97 | ERROR | |
r-release-macos-arm64 | 0.1.0 | 216.00 | OK | |||
r-release-macos-x86_64 | 0.1.0 | 246.00 | OK | |||
r-release-windows-x86_64 | 0.1.0 | 8.00 | 99.00 | 107.00 | ERROR | |
r-oldrel-macos-arm64 | 0.1.0 | 223.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.0 | 247.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.0 | 7.00 | 175.00 | 182.00 | ERROR |
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [30s/44s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /home/hornik/tmp/scratch/RtmpuNOyYX/file7ac121c61582f.xlsx
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1194 bytes
==================================================
downloaded 1194 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file '/home/hornik/tmp/scratch/RtmpuNOyYX/file7ac121c61582f.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/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(wbids)
>
> test_check("wbids")
Downloading file to: /tmp/RtmpacsgBb/file333491175fe329.xlsx
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1194 bytes
==================================================
downloaded 1194 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file '/tmp/RtmpacsgBb/file333491175fe329.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`("/tmp/RtmpacsgBb/file333491175fe329.xlsx", "_rels/.rels")
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [54s/142s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /tmp/RtmppEDdjU/working_dir/Rtmp7QoAjM/file38e48963d2ef3...
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1194 bytes
==================================================
downloaded 1194 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file '/tmp/RtmppEDdjU/working_dir/Rtmp7QoAjM/file38e48963d2ef38.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [43s/54s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /tmp/RtmpA7fPD3/working_dir/RtmpPB0iLL/file3775d642dc630...
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1194 bytes
==================================================
downloaded 1194 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file '/tmp/RtmpA7fPD3/working_dir/RtmpPB0iLL/file3775d642dc6304.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.0
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(wbids)
>
> test_check("wbids")
Downloading file to: D:\temp\2025_02_03_01_50_00_1639\RtmpgrnDTQ\fileee80fc92...
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1198 bytes
==================================================
downloaded 1198 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file 'D:\temp\2025_02_03_01_50_00_1639\RtmpgrnDTQ\fileee80fc92de9.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [30s/45s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /home/hornik/tmp/scratch/RtmpJZgyli/file16c3b5dbaff41.xlsx
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1194 bytes
==================================================
downloaded 1194 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file '/home/hornik/tmp/scratch/RtmpJZgyli/file16c3b5dbaff41.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [29s/41s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /home/hornik/tmp/scratch/RtmpsgzNyA/file3da5143611c578.xlsx
trying URL 'https://invalid-url.com/file.xlsx'
[ FAIL 1 | WARN 1 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `value[[3L]](cond)`: Download timed out after 60 seconds. Try increasing the timeout parameter (e.g., timeout=600 for 10 minutes)
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. └─wbids:::download_bulk_file(...)
9. ├─withr::with_options(...)
10. │ └─base::force(code)
11. └─base::tryCatch(...)
12. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. └─value[[3L]](cond)
15. └─cli::cli_abort(...)
16. └─rlang::abort(...)
[ FAIL 1 | WARN 1 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [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(wbids)
>
> test_check("wbids")
Downloading file to: D:\temp\2025_02_06_01_50_00_28877\RtmpIJ6lVW\file27edc1f...
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1198 bytes
==================================================
downloaded 1198 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file 'D:\temp\2025_02_06_01_50_00_28877\RtmpIJ6lVW\file27edc1fc37d93.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [39s]
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(wbids)
>
> test_check("wbids")
Downloading file to: D:\temp\2025_02_05_01_50_00_8875\RtmpgpxPPN\file317ac598...
trying URL 'https://invalid-url.com/file.xlsx'
Content type 'text/html; charset=utf-8' length 1198 bytes
==================================================
downloaded 1198 bytes
Reading in file.
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:58:3',
'test-ids_bulk.R:106:3', 'test-ids_bulk.R:148:3', 'test-ids_bulk.R:198:3',
'test-ids_bulk.R:228:3', 'test-ids_bulk.R:260:3', 'test-ids_bulk.R:314:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ids_bulk.R:40:3'): ids_bulk fails gracefully with invalid URL ──
Error in `utils::unzip(zip_path, list = TRUE)`: zip file 'D:\temp\2025_02_05_01_50_00_8875\RtmpgpxPPN\file317ac598a55d9.xlsx' cannot be opened
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ids_bulk.R:40:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─wbids::ids_bulk("https://invalid-url.com/file.xlsx")
8. │ └─wbids:::read_bulk_file(file_path)
9. │ ├─base::colnames(readxl::read_excel(path = file_path, n_max = 0))
10. │ │ └─base::is.data.frame(x)
11. │ └─readxl::read_excel(path = file_path, n_max = 0)
12. │ └─readxl:::read_excel_(...)
13. │ ├─readxl:::set_readxl_names(...)
14. │ │ └─tibble::as_tibble(l, .name_repair = .name_repair)
15. │ └─readxl (local) read_fun(...)
16. └─readxl (local) `<fn>`(...)
17. └─utils::unzip(zip_path, list = TRUE)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 85 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64