CRAN Package Check Results for Package databraryr

Last updated on 2024-05-09 16:47:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.4 7.23 99.23 106.46 OK
r-devel-linux-x86_64-debian-gcc 0.6.4 5.82 71.40 77.22 OK
r-devel-linux-x86_64-fedora-clang 0.6.4 129.94 OK
r-devel-linux-x86_64-fedora-gcc 0.6.4 158.57 OK
r-devel-windows-x86_64 0.6.4 9.00 150.00 159.00 OK
r-patched-linux-x86_64 0.6.4 8.92 104.98 113.90 ERROR
r-release-linux-x86_64 0.6.4 5.50 93.06 98.56 OK
r-release-macos-arm64 0.6.4 122.00 OK
r-release-macos-x86_64 0.6.4 209.00 OK
r-release-windows-x86_64 0.6.4 9.00 149.00 158.00 OK
r-oldrel-macos-arm64 0.6.4 10.00 ERROR
r-oldrel-macos-x86_64 0.6.4 173.00 OK
r-oldrel-windows-x86_64 0.6.4 10.00 160.00 170.00 OK

Check Details

Version: 0.6.4
Check: tests
Result: ERROR Running ‘testthat.R’ [1m/18m] 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") trying URL 'https:/nyu.databrary.org/slot/9807/-/asset/1/download' Content type 'video/mp4' length 394499 bytes (385 KB) ================================================== downloaded 385 KB Target directory exists: /tmp/Rtmp4zpbQe `overwrite` is TRUE. Overwriting directory: /tmp/Rtmp4zpbQe Target directory exists: /tmp/Rtmp4zpbQe `overwrite` is TRUE. Overwriting directory: /tmp/Rtmp4zpbQe 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 =======>----------------------- Waiting 4s for retry backoff ============================>-- Waiting 4s for retry backoff =============================>- Waiting 3s for retry backoff ============>------------------ Waiting 3s for retry backoff =============================>- Waiting 2s for retry backoff ==============>---------------- Waiting 2s for retry backoff =============================>- Downloading: 170 B Downloading: 170 B Downloading: 170 B Downloading: 170 B Multiple sessions with name 'Advisory Board Meeting'. Waiting 2s for retry backoff ==============>---------------- Waiting 2s for retry backoff =============================>- Multiple sessions with name 'Advisory Board Meeting'. Downloading: 16 kB Downloading: 16 kB Downloading: 33 kB Downloading: 33 kB Downloading: 82 kB Downloading: 82 kB Downloading: 82 kB Downloading: 82 kB Downloading: 97 kB Downloading: 97 kB Downloading: 97 kB Downloading: 97 kB Downloading: 33 kB Downloading: 33 kB Downloading: 33 kB Downloading: 33 kB Downloading: 82 kB Downloading: 82 kB Downloading: 97 kB Downloading: 97 kB Downloading: 97 kB Downloading: 97 kB Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Waiting 4s for retry backoff ========>---------------------- Waiting 4s for retry backoff ============>------------------ Waiting 4s for retry backoff =============================>- Downloading: 4.1 kB Downloading: 4.1 kB Downloading: 4.1 kB Downloading: 4.1 kB Not logged in. Only public information will be returned. Waiting 3s for retry backoff ==========>-------------------- Waiting 3s for retry backoff ======================>-------- Waiting 3s for retry backoff =============================>- Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Downloading: 3.9 kB Waiting 3s for retry backoff ===========>------------------- Waiting 3s for retry backoff =============================>- Downloading: 120 B Downloading: 120 B Downloading: 120 B Downloading: 120 B People info: ==========>-------------------- 33% | ETA: 10s Downloading: 170 B Downloading: 170 B Downloading: 170 B Downloading: 170 B People info: ====================>---------- 67% | ETA: 4s Downloading: 83 B Downloading: 83 B Downloading: 83 B Downloading: 83 B NULL request object. Will generate default. Not logged in. Only public information will be returned. NULL request object. Will generate default. Not logged in. Only public information will be returned. Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Not logged in. Only public information will be returned. Not logged in. Only public information will be returned. Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 1.6 kB Downloading: 4.1 kB Downloading: 4.1 kB Downloading: 4.1 kB Downloading: 4.1 kB Waiting 2s for retry backoff ==============>---------------- Waiting 2s for retry backoff =============================>- Waiting 3s for retry backoff ==========>-------------------- Waiting 3s for retry backoff =============================>- | | | 0% | |======================================================================| 100% No encoding supplied: defaulting to UTF-8. Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Downloading: 3.7 kB Waiting 3s for retry backoff ==========>-------------------- Waiting 3s for retry backoff ==============================> Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 990 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 810 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Downloading: 800 B Waiting 4s for retry backoff =======>----------------------- Waiting 4s for retry backoff ============================>-- Waiting 4s for retry backoff ==============================> Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 290 B Downloading: 240 B Downloading: 240 B Downloading: 240 B Downloading: 240 B [ FAIL 5 | WARN 0 | SKIP 0 | PASS 792 ] ══ 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_db_stats.R:3:3'): get_db_stats returns a data.frame by default ── Error in `httr2::resp_status(resp)`: `resp` must be an HTTP response object, not `NULL`. Backtrace: ▆ 1. ├─testthat::expect_true("data.frame" %in% class(get_db_stats())) at test-get_db_stats.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─"data.frame" %in% class(get_db_stats()) 5. └─databraryr::get_db_stats() 6. └─httr2::resp_status(resp = resp) 7. └─httr2:::check_response(resp) 8. └─httr2:::stop_input_type(...) 9. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-get_db_stats.R:7:3'): get_db_stats returns a data.frame with 'good' values for type parameter ── Error in `httr2::resp_status(resp)`: `resp` must be an HTTP response object, not `NULL`. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-get_db_stats.R:7: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_db_stats("people")) 5. └─databraryr::get_db_stats("people") 6. └─httr2::resp_status(resp = resp) 7. └─httr2:::check_response(resp) 8. └─httr2:::stop_input_type(...) 9. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-list_authorized_investigators.R:3:3'): list_authorized_investigators returns a data.frame or is NULL. ── (...) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 5 | WARN 0 | SKIP 0 | PASS 792 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.6.4
Check: package dependencies
Result: ERROR Packages required and available but unsuitable versions: 'methods', 'utils' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-oldrel-macos-arm64