* using log directory ‘/srv/hornik/tmp/CRAN_pretest/plumber2mcp.Rcheck’ * using R Under development (unstable) (2025-11-05 r88988) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘plumber2mcp/DESCRIPTION’ ... OK * this is package ‘plumber2mcp’ version ‘0.3.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Bulent Arman Aksoy ’ New submission Possibly misspelled words in DESCRIPTION: MCP (8:64, 12:23) * 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 ‘plumber2mcp’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: ‘Bulent Arman Aksoy’ Authors@R: ‘Bulent Arman Aksoy [aut, cre]’ * 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/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/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 ... [4s/4s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [1s/1s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] ERROR Running ‘testthat.R’ [2s/3s] 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(plumber2mcp) > > test_check("plumber2mcp") mean package:base R Documentation _A_r_i_t_h_m_e_t_i_c _M_e_a_n _D_e_s_c_r_i_p_t_i_o_n: Generic function for the (trimmed) arithmetic mean. _U_s_a_g_e: mean(x, ...) ## Default S3 method: mean(x, trim = 0, na.rm = FALSE, ...) _A_r_g_u_m_e_n_t_s: x: an R object. Currently there are methods for numeric/logical vectors and date, date-time and time interval objects. Complex vectors are allowed for 'trim = 0', only. trim: the fraction (0 to 0.5) of observations to be trimmed from each end of 'x' before the mean is computed. Values of trim outside that range are taken as the nearest endpoint. na.rm: a logical evaluating to 'TRUE' or 'FALSE' indicating whether 'NA' values should be stripped before the computation proceeds. ...: further arguments passed to or from other methods. _V_a_l_u_e: If 'trim' is zero (the default), the arithmetic mean of the values in 'x' is computed, as a numeric or complex vector of length one. If 'x' is not logical (coerced to numeric), numeric (including integer) or complex, 'NA_real_' is returned, with a warning. If 'trim' is non-zero, a symmetrically trimmed mean is computed with a fraction of 'trim' observations deleted from each end before the mean is computed. _R_e_f_e_r_e_n_c_e_s: Becker RA, Chambers JM, Wilks AR (1988). _The New S Language_. Chapman and Hall/CRC, London. _S_e_e _A_l_s_o: 'weighted.mean', 'mean.POSIXct', 'colMeans' for row and column means. _E_x_a_m_p_l_e_s: x <- c(0:10, 50) xm <- mean(x) c(xm, mean(x, trim = 0.10)) [ FAIL 1 | WARN 5 | SKIP 0 | PASS 392 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-pr_mcp_resources.R:272:3'): session info resource works ────── any(grepl("R version", content)) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 5 | SKIP 0 | PASS 392 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs