Last updated on 2024-08-17 08:49:10 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.6.6 | 5.00 | 64.99 | 69.99 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.6.6 | 3.29 | 45.89 | 49.18 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.6.6 | 111.77 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.6.6 | 118.36 | OK | |||
r-devel-windows-x86_64 | 0.6.6 | 8.00 | 216.00 | 224.00 | OK | |
r-patched-linux-x86_64 | 0.6.6 | 5.47 | 59.49 | 64.96 | ERROR | |
r-release-linux-x86_64 | 0.6.6 | 3.23 | 62.25 | 65.48 | 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 | 118.00 | 125.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 | 245.00 | 253.00 | OK |
Version: 0.6.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [0m/21m]
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")
Waiting 3s for retry backoff =========>---------------------
Waiting 3s for retry backoff ==============================>
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Target directory exists: /home/hornik/tmp/scratch/Rtmpm5Xlin
`overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/Rtmpm5Xlin
Target directory exists: /home/hornik/tmp/scratch/Rtmpm5Xlin
`overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/Rtmpm5Xlin
Waiting 4s for retry backoff =========>---------------------
Waiting 4s for retry backoff ============>------------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ============>------------------
Waiting 3s for retry backoff ============================>--
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff =========>---------------------
Waiting 4s for retry backoff =========================>-----
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff =========================>-----
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff =========>---------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff ===========>-------------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff ============>------------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff ===============>---------------
Waiting 4s for retry backoff ==============================>
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.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff =================>-------------
Waiting 4s for retry backoff ==============================>
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.
Waiting 4s for retry backoff =========>---------------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Not logged in. Only public information will be returned.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 3s for retry backoff ===========>-------------------
Waiting 3s for retry backoff ==============>----------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ==========>--------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 3s for retry backoff =============>-----------------
Waiting 3s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff ========================>------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ==========>--------------------
Waiting 3s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff =================>-------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ============>------------------
Waiting 3s for retry backoff ==========================>----
Waiting 3s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff =================>-------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff ====================>----------
Waiting 4s for retry backoff ==============================>
Waiting 3s for retry backoff =========>---------------------
Waiting 3s for retry backoff ===========================>---
Waiting 3s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ===========>-------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ============>------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ■■■■■■■■■■■
Waiting 3s for retry backoff ■■■■■■■■■■■■■■■■■■■■■■■■■
Waiting 3s for retry backoff ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 2s for retry backoff ==============>----------------
Waiting 2s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff =====================>---------
Waiting 4s for retry backoff ==============================>
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff ======================>--------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ==========>--------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff ========>----------------------
Waiting 4s for retry backoff ===============>---------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Waiting 4s for retry backoff =======>-----------------------
Waiting 4s for retry backoff ===============>---------------
Waiting 4s for retry backoff ==============================>
Cannot access requested resource on Databrary. Exiting.
Cannot access requested resource on Databrary. Exiting.
Waiting 3s for retry backoff ============>------------------
Waiting 3s for retry backoff =============================>-
Cannot access requested resource on Databrary. Exiting.
[ FAIL 17 | WARN 0 | SKIP 0 | PASS 583 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── 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
── 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_party_affiliates.R:3:3'): list_party_affiliates returns a data frame or is NULL. ──
(is.null(list_party_affiliates()) || ("data.frame" %in% class(list_party_affiliates()))) is not TRUE
`actual`: FALSE
`expected`: TRUE
── 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_excerpts.R:3:3'): list_volume_excerpts returns data.frame or is NULL ──
(is.null(list_volume_excerpts()) || ("list" %in% class(list_volume_excerpts()))) is not TRUE
`actual`: FALSE
`expected`: TRUE
── 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_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached: [nyu.databrary.org] Operation timed out after 5002 milliseconds with 0 bytes received
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. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. └─value[[3L]](cond)
── Error ('test-logout_db.R:13:1'): (code run outside of `test_that()`) ────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(rq)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached: [nyu.databrary.org] Operation timed out after 5002 milliseconds with 0 bytes received
Backtrace:
▆
1. └─databraryr::logout_db() at test-logout_db.R:13:1
2. └─httr2::req_perform(rq)
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. └─value[[3L]](cond)
── 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: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
[ FAIL 17 | WARN 0 | SKIP 0 | PASS 583 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
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
Flavor: r-patched-linux-x86_64