CRAN Package Check Results for Maintainer ‘Aki Ariga <ariga at treasure-data.com>’

Last updated on 2025-12-14 04:50:09 CET.

Package ERROR OK
RTD 2 11

Package RTD

Current CRAN status: ERROR: 2, OK: 11

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(mockery) > library(RTD) > > test_check("RTD") Saving _problems/test-td-24.R Saving _problems/test-td-45.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-td.R:12:3'): td_upload works with mock ───────────────────────── <lifecycle_error_deprecated/defunctError/rlang_error/error/condition> Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-td.R:12:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-td.R:32:3'): td_upload works with mock when the table already exists ── <lifecycle_error_deprecated/defunctError/rlang_error/error/condition> Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-td.R:32:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.2
Check: tests
Result: ERROR Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(mockery) > library(RTD) > > test_check("RTD") Saving _problems/test-td-65.R Saving _problems/test-td-101.R [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-td.R:65:3'): td_upload works with mock ───────────────────────── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─RTD (local) setup_fake_embulk() at test-td.R:65:3 2. └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5 3. └─base::file(con, "w") ── Error ('test-td.R:101:3'): td_upload works with mock when the table already exists ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─RTD (local) setup_fake_embulk() at test-td.R:101:3 2. └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5 3. └─base::file(con, "w") [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64