Package: dataverifyr Check: tests New result: ERROR Running ‘testthat.R’ [8s/9s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(dataverifyr) > > test_check("dataverifyr") Saving _problems/test-check_data-191.R Saving _problems/test-check_data-194.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-check_data.R:191:3'): duckdb check_ works ──────────────────── Expected `dplyr::select(res, -time, -error)` to equal `exp`. Differences: actual vs expected pass fail actual[1, ] 32 0 actual[2, ] 32 0 actual[3, ] 27 5 - actual[4, ] 31 1 + expected[4, ] 0 32 actual[5, ] 0 32 `actual$pass`: 32.0 32.0 27.0 31.0 0.0 `expected$pass`: 32.0 32.0 27.0 0.0 0.0 `actual$fail`: 0.0 0.0 5.0 1.0 32.0 `expected$fail`: 0.0 0.0 5.0 32.0 32.0 ── Failure ('test-check_data.R:194:3'): duckdb check_ works ──────────────────── Expected `nchar(res$error) > 0` to equal `c(FALSE, FALSE, FALSE, TRUE, TRUE)`. Differences: `actual`: FALSE FALSE FALSE FALSE TRUE `expected`: FALSE FALSE FALSE TRUE TRUE [ FAIL 2 | WARN 0 | SKIP 0 | PASS 68 ] Error: ! Test failures. Execution halted Package: OmopViewer Check: tests New result: ERROR Running ‘testthat.R’ [29s/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(OmopViewer) > > test_check("OmopViewer") Starting 2 test processes. > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-appStatic.R: i Creating `shiny` from provided data > test-background.R: i Processing data > test-background.R: ! No panels identified, generated shiny will be empty. > test-background.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-background.R: v Shiny created in: /home/hornik/tmp/scratch/Rtmp3uXE2L/shiny > test-appStatic.R: i Creating `shiny` from provided data > test-background.R: i Processing data > test-background.R: ! No panels identified, generated shiny will be empty. > test-background.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-appStatic.R: i Creating `shiny` from provided data > test-background.R: v Shiny created in: /home/hornik/tmp/scratch/Rtmp3uXE2L/shiny > test-background.R: i Processing data > test-background.R: ! No panels identified, generated shiny will be empty. > test-background.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-appStatic.R: i Creating `shiny` from provided data > test-background.R: v Shiny created in: /home/hornik/tmp/scratch/Rtmp3uXE2L/shiny > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: trying URL 'https://www.ema.europa.eu/sites/default/files/styles/oe_bootstrap_theme_medium_no_crop/public/2024-07/DARWINEU_logo_LARGE.png?itok=NtwlLhSX' > test-summary.R: `result_type`, `package_name`, and `package_version` added to settings. > test-summary.R: `package_name` and `package_version` added to settings. > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-appStatic.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: i Processing data > test-appStatic.R: ! No panels identified, generated shiny will be empty. > test-appStatic.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny > test-appStatic.R: `package_name` and `package_version` added to settings. > test-appStatic.R: i Processing data > test-appStatic.R: v Data processed: 1 panel idenfied: `custom_result`. > test-appStatic.R: i Creating `shiny` from provided data > test-appStatic.R: v Shiny created in: /home/hornik/tmp/scratch/RtmpVf8yR4/shiny Saving _problems/test-appStatic-41.R [ FAIL 1 | WARN 1 | SKIP 5 | PASS 83 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-packagesSupported.R:2:3', 'test-appStatic.R:46:1', 'test-appStatic.R:60:1', 'test-appStatic.R:80:3' • manual test (1): 'test-functions.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-appStatic.R:41:3'): logo ─────────────────────────────────────── Error in `utils::download.file(url = url, destfile = tf, mode = "wb")`: cannot open URL 'https://www.ema.europa.eu/sites/default/files/styles/oe_bootstrap_theme_medium_no_crop/public/2024-07/DARWINEU_logo_LARGE.png?itok=NtwlLhSX' Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-appStatic.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─OmopViewer:::copyLogos(logo = logo, directory = tdir) 5. └─OmopViewer:::downloadLogo(url = logo, directory = directory) 6. └─utils::download.file(url = url, destfile = tf, mode = "wb") [ FAIL 1 | WARN 1 | SKIP 5 | PASS 83 ] Error: ! Test failures. Execution halted