Last updated on 2024-11-25 03:49:59 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.6.6 | 4.82 | 64.98 | 69.80 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.6.6 | 3.54 | 46.96 | 50.50 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.6.6 | 102.22 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.6.6 | 113.59 | ERROR | |||
r-devel-windows-x86_64 | 0.6.6 | 8.00 | 117.00 | 125.00 | OK | |
r-patched-linux-x86_64 | 0.6.6 | 4.61 | 61.64 | 66.25 | OK | |
r-release-linux-x86_64 | 0.6.6 | 4.41 | 61.40 | 65.81 | OK | |
r-release-macos-arm64 | 0.6.6 | 140.00 | OK | |||
r-release-macos-x86_64 | 0.6.6 | 182.00 | OK | |||
r-release-windows-x86_64 | 0.6.6 | 7.00 | 159.00 | 166.00 | OK | |
r-oldrel-macos-arm64 | 0.6.6 | 149.00 | OK | |||
r-oldrel-macos-x86_64 | 0.6.6 | 177.00 | OK | |||
r-oldrel-windows-x86_64 | 0.6.6 | 8.00 | 180.00 | 188.00 | ERROR |
Version: 0.6.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [21s/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(databraryr)
Welcome to the databraryr package.
>
> test_check("databraryr")
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
Cannot access requested resource on Databrary. Exiting.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
Cannot access requested resource on Databrary. Exiting.
Not logged in. Only public information will be returned.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
[ FAIL 24 | WARN 0 | SKIP 0 | PASS 576 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-assign_constants.R:2:3'): assign_constants returns list ──────
"list" %in% class(assign_constants()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-download_session_asset.R:15:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = 3)` did not throw the expected error.
── Failure ('test-download_session_asset.R:16:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = list(a = 1, b = 2))` did not throw the expected error.
── Failure ('test-download_session_asset.R:17:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = TRUE)` did not throw the expected error.
── Failure ('test-download_session_zip.R:28:3'): download_session_zip returns string ──
is.character(download_session_zip()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-download_volume_zip.R:24:3'): download_volume_zip returns string ──
is.character(download_volume_zip()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_db_stats.R:3:3'): get_db_stats returns a data.frame by default ──
"data.frame" %in% class(get_db_stats()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-get_session_by_name.R:3:3'): get_session_by_name returns a list or is NULL. ──
<assertError/simpleError/error/condition>
Error: volume_json is not a list
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-get_session_by_name.R:3:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─databraryr::get_session_by_name()
5. └─databraryr (local) extract_session_metadata(volume_json)
6. └─assertthat::assert_that(is.list(volume_json))
── Failure ('test-list_session_assets.R:14:3'): list_session_assets rejects bad input parameters ──
`list_session_assets(vb = -1)` did not throw the expected error.
── Failure ('test-list_session_assets.R:15:3'): list_session_assets rejects bad input parameters ──
`list_session_assets(vb = 3)` did not throw the expected error.
── Failure ('test-list_volume_sessions.R:3:3'): list_volume_sessions returns data.frame given valid vol_id ──
"data.frame" %in% class(list_volume_sessions()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-logout_db.R:9:3'): logout_db returns logical ───────────────────
<httr2_http_403/httr2_http/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: HTTP 403 Forbidden.
Backtrace:
▆
1. ├─testthat::expect_true(is.logical(logout_db())) at test-logout_db.R:9:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─databraryr::logout_db()
5. └─httr2::req_perform(rq)
6. └─httr2:::handle_resp(req, resp, error_call = error_call)
7. └─httr2:::resp_abort(resp, req, body, call = error_call)
8. └─rlang::abort(...)
── Error ('test-logout_db.R:13:1'): (code run outside of `test_that()`) ────────
<httr2_http_403/httr2_http/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: HTTP 403 Forbidden.
Backtrace:
▆
1. └─databraryr::logout_db() at test-logout_db.R:13:1
2. └─httr2::req_perform(rq)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─httr2:::resp_abort(resp, req, body, call = error_call)
5. └─rlang::abort(...)
── Failure ('test-search_for_keywords.R:3:3'): search_for_keywords returns list ──
class(search_for_keywords()) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-search_for_tags.R:3:3'): search_for_tags returns character ───
"character" %in% class(search_for_tags()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:3:3'): get_file_duration returns an integer array ────
class(get_file_duration()) == "integer" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:4:3'): get_file_duration returns an integer array ────
length(get_file_duration()) == 1 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:19:3'): get_asset_segment_range returns an integer array ──
class(get_asset_segment_range()) == "integer" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:20:3'): get_asset_segment_range returns an integer array ──
length(get_asset_segment_range()) == 2 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:43:3'): get_permission_levels returns a character array ──
class(get_permission_levels()) == "character" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:44:3'): get_permission_levels returns a character array ──
length(get_permission_levels()) == 6 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:55:3'): get_release_levels returns a character array ──
class(get_release_levels()) == "character" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:56:3'): get_release_levels returns a character array ──
length(get_release_levels()) == 4 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-utils.R:68:3'): get_supported_file_types returns data.frame ────
Error in `UseMethod("rename")`: no applicable method for 'rename' applied to an object of class "NULL"
Backtrace:
▆
1. ├─testthat::expect_true(is.data.frame(get_supported_file_types())) at test-utils.R:68:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.data.frame(get_supported_file_types())
5. └─databraryr::get_supported_file_types()
6. └─dplyr::rename(ft, asset_type = "name", asset_type_id = "id")
[ FAIL 24 | WARN 0 | SKIP 0 | PASS 576 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.6.6
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘accessing-data.Rmd’ using rmarkdown
Quitting from lines 115-116 [unnamed-chunk-11] (accessing-data.Rmd)
Error: processing vignette 'accessing-data.Rmd' failed with diagnostics:
object 'format_name' not found
--- failed re-building ‘accessing-data.Rmd’
--- re-building ‘authorized-users.Rmd’ using rmarkdown
--- finished re-building ‘authorized-users.Rmd’
--- re-building ‘databrary.Rmd’ using rmarkdown
--- finished re-building ‘databrary.Rmd’
SUMMARY: processing the following file failed:
‘accessing-data.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.6.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [21s/89s]
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(databraryr)
Welcome to the databraryr package.
>
> test_check("databraryr")
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
Cannot access requested resource on Databrary. Exiting.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
Cannot access requested resource on Databrary. Exiting.
Not logged in. Only public information will be returned.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
[ FAIL 24 | WARN 0 | SKIP 0 | PASS 576 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-assign_constants.R:2:3'): assign_constants returns list ──────
"list" %in% class(assign_constants()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-download_session_asset.R:15:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = 3)` did not throw the expected error.
── Failure ('test-download_session_asset.R:16:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = list(a = 1, b = 2))` did not throw the expected error.
── Failure ('test-download_session_asset.R:17:3'): download_session_asset rejects bad input parameters ──
`download_session_asset(file_name = TRUE)` did not throw the expected error.
── Failure ('test-download_session_zip.R:28:3'): download_session_zip returns string ──
is.character(download_session_zip()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-download_volume_zip.R:24:3'): download_volume_zip returns string ──
is.character(download_volume_zip()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_db_stats.R:3:3'): get_db_stats returns a data.frame by default ──
"data.frame" %in% class(get_db_stats()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-get_session_by_name.R:3:3'): get_session_by_name returns a list or is NULL. ──
<assertError/simpleError/error/condition>
Error: volume_json is not a list
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-get_session_by_name.R:3:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─databraryr::get_session_by_name()
5. └─databraryr (local) extract_session_metadata(volume_json)
6. └─assertthat::assert_that(is.list(volume_json))
── Failure ('test-list_session_assets.R:14:3'): list_session_assets rejects bad input parameters ──
`list_session_assets(vb = -1)` did not throw the expected error.
── Failure ('test-list_session_assets.R:15:3'): list_session_assets rejects bad input parameters ──
`list_session_assets(vb = 3)` did not throw the expected error.
── Failure ('test-list_volume_sessions.R:3:3'): list_volume_sessions returns data.frame given valid vol_id ──
"data.frame" %in% class(list_volume_sessions()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-logout_db.R:9:3'): logout_db returns logical ───────────────────
<httr2_http_403/httr2_http/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: HTTP 403 Forbidden.
Backtrace:
▆
1. ├─testthat::expect_true(is.logical(logout_db())) at test-logout_db.R:9:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─databraryr::logout_db()
5. └─httr2::req_perform(rq)
6. └─httr2:::handle_resp(req, resp, error_call = error_call)
7. └─httr2:::resp_abort(resp, req, body, call = error_call)
8. └─rlang::abort(...)
── Error ('test-logout_db.R:13:1'): (code run outside of `test_that()`) ────────
<httr2_http_403/httr2_http/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: HTTP 403 Forbidden.
Backtrace:
▆
1. └─databraryr::logout_db() at test-logout_db.R:13:1
2. └─httr2::req_perform(rq)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─httr2:::resp_abort(resp, req, body, call = error_call)
5. └─rlang::abort(...)
── Failure ('test-search_for_keywords.R:3:3'): search_for_keywords returns list ──
class(search_for_keywords()) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-search_for_tags.R:3:3'): search_for_tags returns character ───
"character" %in% class(search_for_tags()) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:3:3'): get_file_duration returns an integer array ────
class(get_file_duration()) == "integer" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:4:3'): get_file_duration returns an integer array ────
length(get_file_duration()) == 1 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:19:3'): get_asset_segment_range returns an integer array ──
class(get_asset_segment_range()) == "integer" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:20:3'): get_asset_segment_range returns an integer array ──
length(get_asset_segment_range()) == 2 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:43:3'): get_permission_levels returns a character array ──
class(get_permission_levels()) == "character" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:44:3'): get_permission_levels returns a character array ──
length(get_permission_levels()) == 6 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:55:3'): get_release_levels returns a character array ──
class(get_release_levels()) == "character" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-utils.R:56:3'): get_release_levels returns a character array ──
length(get_release_levels()) == 4 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-utils.R:68:3'): get_supported_file_types returns data.frame ────
Error in `UseMethod("rename")`: no applicable method for 'rename' applied to an object of class "NULL"
Backtrace:
▆
1. ├─testthat::expect_true(is.data.frame(get_supported_file_types())) at test-utils.R:68:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.data.frame(get_supported_file_types())
5. └─databraryr::get_supported_file_types()
6. └─dplyr::rename(ft, asset_type = "name", asset_type_id = "id")
[ FAIL 24 | WARN 0 | SKIP 0 | PASS 576 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.6.6
Check: tests
Result: ERROR
Running 'testthat.R' [78s]
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(databraryr)
Welcome to the databraryr package.
>
> test_check("databraryr")
Target directory exists: D:\temp\2024_11_24_01_50_01_23289\RtmpUVMh6q
`overwrite` is TRUE. Overwriting directory: D:\temp\2024_11_24_01_50_01_23289\RtmpUVMh6q
Target directory exists: D:\temp\2024_11_24_01_50_01_23289\RtmpUVMh6q
`overwrite` is TRUE. Overwriting directory: D:\temp\2024_11_24_01_50_01_23289\RtmpUVMh6q
Cannot access requested resource on Databrary. Exiting.
Multiple sessions with name 'Advisory Board Meeting'.
Multiple sessions with name 'Advisory Board Meeting'.
Cannot access requested resource on Databrary. Exiting.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
NULL request object. Will generate default.
Not logged in. Only public information will be returned.
Retrieving assets from session id 9807.
Not logged in. Only public information will be returned.
Not logged in. Only public information will be returned.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 598 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-download_volume_zip.R:24:3'): download_volume_zip returns string ──
is.character(download_volume_zip()) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 598 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64