* using log directory 'd:/Rcompile/CRANpkg/local/4.4/translated.Rcheck' * using R version 4.4.2 (2024-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'translated/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'translated' 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'translated' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [2s] OK * checking Rd files ... [0s] NOTE checkRd: (-1) trans.Rd:46: Lost braces; missing escapes or markup? 46 | "Found {trans("file", .n = n_files)} in {trans("directory", .n = n_dirs)}". | ^ checkRd: (-1) trans.Rd:46: Lost braces; missing escapes or markup? 46 | "Found {trans("file", .n = n_files)} in {trans("directory", .n = n_dirs)}". | ^ * checking Rd metadata ... 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 examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(translated) > > test_check("translated") [ FAIL 6 | WARN 0 | SKIP 1 | PASS 68 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • No example yet (1): 'test-access_dictionary.R:31:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cache_current.R:10:3'): current locale is set ────────────────── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-cache_current.R:10:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-plural.R:10:3'): cases are split by a comma ──────────────────── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-plural.R:10:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-plural.R:17:5'): each case has a condition and a result split by a tilde ── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(case, ptype = character(), size = 2) at test-plural.R:17:5 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-plural.R:29:3'): plural is preprocessed even if only one case ── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(ret, ptype = list(), size = 1) at test-plural.R:29:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-trans_available.R:2:3'): available locales returns a character vector ── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(trans_available(), ptype = character()) at test-trans_available.R:2:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-trans_reload.R:3:3'): reloading results in .TRANS_DICT being populated ── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-trans_reload.R:3:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 6 | WARN 0 | SKIP 1 | PASS 68 ] Error: Test failures Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR, 1 NOTE