Package: MIMSunit Check: examples New result: ERROR Running examples in ‘MIMSunit-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ** Examples > > default_ops = options() > options(digits.secs=3) > # Use the sample mhealth csv file provided by the package > filepath = system.file('extdata', 'mhealth.csv', package='MIMSunit') > filepath [1] "/home/hornik/tmp/CRAN_recheck/MIMSunit.Rcheck/MIMSunit/extdata/mhealth.csv" > > # Load the file > df = import_mhealth_csv(filepath) Error: ! The `quoted_na` argument of `read_csv()` was deprecated in readr 2.0.0 and is now defunct. ℹ This argument is not supported in readr edition 2. ℹ Use `with_edition(1, ...)` or `local_edition(1)` to use the legacy edition 1. Backtrace: ▆ 1. └─MIMSunit::import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted Package: owidapi Check: tests New result: ERROR Running ‘testthat.R’ [3s/4s] 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(owidapi) > > test_check("owidapi") Saving _problems/test-owid_get-83.R [ FAIL 1 | WARN 0 | SKIP 14 | PASS 51 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • On CRAN (14): 'test-owid_get.R:2:3', 'test-owid_get.R:12:3', 'test-owid_get.R:21:3', 'test-owid_get.R:53:3', 'test-owid_get.R:62:3', 'test-owid_get.R:72:3', 'test-owid_get_catalog.R:2:3', 'test-owid_get_catalog.R:11:3', 'test-owid_get_metadata.R:2:3', 'test-owid_get_metadata.R:12:3', 'test-owid_get_metadata.R:23:3', 'test-owid_get_metadata.R:35:3', 'test-owid_get_metadata.R:46:3', 'test-owid_get_metadata.R:64:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-owid_get.R:83:3'): owid_get handles errors appropriately ───── Expected `owid_get("non-existent-dataset-12345")` to throw a error. [ FAIL 1 | WARN 0 | SKIP 14 | PASS 51 ] Error: ! Test failures. Execution halted