- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'log4r/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'log4r' version '0.4.3'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: 'rsyslog'
- 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 'log4r' can be installed ... OK
See the install log for details.
- used C compiler: 'gcc.exe (GCC) 12.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 R 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 ... [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 ... [3s] OK
- checking Rd files ... [1s] OK
- 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 line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [3s] ERROR
Running 'run-all.R' [3s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("log4r")
Loading required package: log4r
Attaching package: 'log4r'
The following object is masked from 'package:base':
debug
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 80 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• rsyslog cannot be loaded (3): 'test-appenders.R:49:3',
'test-appenders.R:54:3', 'test-appenders.R:64:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-appenders.R:20:3'): The HTTP appender works correctly ──────────
Error in `appender("INFO", "Message")`: Server responded with error 405.
Backtrace:
▆
1. ├─testthat::expect_silent(appender("INFO", "Message")) at test-appenders.R:20:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─log4r (local) appender("INFO", "Message")
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 80 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [16s] OK
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR, 1 NOTE