- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘conflr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘conflr’ version ‘0.1.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘conflr’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/7s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Copyright (C) 2019 LINE Corporation
> #
> # conflr is free software; you can redistribute it and/or modify it under the
> # terms of the GNU General Public License as published by the Free Software
> # Foundation, version 3.
> #
> # conflr is distributed in the hope that it will be useful, but WITHOUT ANY
> # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
> # A PARTICULAR PURPOSE. See <http://www.gnu.org/licenses/> for more details.
>
> library(testthat)
> library(conflr)
>
> test_check("conflr")
Saving _problems/test-embed-images-58.R
Saving _problems/test-front-matter-39.R
Saving _problems/test-front-matter-94.R
Saving _problems/test-front-matter-138.R
Saving _problems/test-front-matter-156.R
Saving _problems/test-front-matter-172.R
Saving _problems/test-front-matter-200.R
Saving _problems/test-invalid-credential-36.R
Saving _problems/test-render-41.R
Saving _problems/test-render-71.R
Saving _problems/test-toc-41.R
Saving _problems/test-toc-87.R
Saving _problems/test-utils-82.R
Saving _problems/test-utils-98.R
[ FAIL 14 | WARN 0 | SKIP 4 | PASS 92 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-content.R:12:3', 'test-content.R:42:3',
'test-contentbody.R:12:3', 'test-utils.R:25:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-embed-images.R:58:3'): embed_images() works for non-ASCII dir ──
<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. └─conflr:::do_confl_create_post_from_Rmd(...) at test-embed-images.R:58:3
2. └─testthat::with_mock(...) at ./helpers.R:10:3
3. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:39:3'): confluence_settings can be set from front-matter ──
<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. └─conflr:::do_confl_create_post_from_Rmd(confl_upload_mock, Rmd_with_all_defaults) at test-front-matter.R:39:3
2. └─testthat::with_mock(...) at ./helpers.R:10:3
3. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:94:3'): confluence_settings$title is prior to title ──
<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. └─conflr:::do_confl_create_post_from_Rmd(confl_upload_mock, Rmd_with_two_titles) at test-front-matter.R:94:3
2. └─testthat::with_mock(...) at ./helpers.R:10:3
3. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:138:3'): confluence_settings can be specified partially ──
<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. └─conflr:::do_confl_create_post_from_Rmd(confl_upload_mock, Rmd_with_some_settings) at test-front-matter.R:138:3
2. └─testthat::with_mock(...) at ./helpers.R:10:3
3. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:153:3'): supported_syntax_highlighting can be set via option ──
<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. ├─withr::with_options(...) at test-front-matter.R:153:3
2. │ └─base::force(code)
3. └─conflr:::do_confl_create_post_from_Rmd(confl_upload_mock, Rmd_with_some_settings)
4. └─testthat::with_mock(...) at ./helpers.R:10:3
5. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:172:3'): confluence_settings raise an error when any of mandatory parameters are missing ──
<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. └─conflr:::do_confl_create_post_from_Rmd(...) at test-front-matter.R:172:3
2. └─testthat::with_mock(...) at ./helpers.R:10:3
3. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
── Error ('test-front-matter.R:198:3'): confluence_settings are accepted for backward-compatibility ──
<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::expect_warning(...) at test-front-matter.R:198:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─conflr:::do_confl_create_post_from_Rmd(confl_upload_mock, Rmd_deprecated)
7. └─testthat::with_mock(...) at ./helpers.R:10:3
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Failure ('test-invalid-credential.R:26:3'): confluence_document() stops early ──
`with_mock(...)` threw an error with unexpected message.
Expected match: "Invalid credentials!"
Actual message: "`with_mock()` was deprecated in testthat 3.2.0 and is now defunct.\nℹ Please use `with_mocked_bindings()` instead."
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-invalid-credential.R:26:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─testthat::with_mock(...)
7. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
8. └─lifecycle:::deprecate_stop0(msg)
9. └─rlang::cnd_signal(...)
── Error ('test-render.R:31:3'): rmarkdown::render() works when no space_key ───
<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-render.R:31:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
── Error ('test-render.R:64:3'): rmarkdown::render() aborts when no space_key ──
<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-render.R:64:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
── Error ('test-toc.R:32:3'): TOC is added when set via argument ───────────────
<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-toc.R:32:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
── Error ('test-toc.R:77:3'): TOC is added when set via front-matter ───────────
<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-toc.R:77:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
── Error ('test-utils.R:77:3'): try_get_existing_page_id() works ───────────────
<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-utils.R:77:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
── Error ('test-utils.R:93:3'): try_get_personal_space_key() handles personal spaces ──
<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-utils.R:93:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
[ FAIL 14 | WARN 0 | SKIP 4 | PASS 92 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR