* using log directory 'd:/RCompile/CRANincoming/R-devel/AMR.Rcheck' * using R Under development (unstable) (2025-05-30 r88253 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'AMR/DESCRIPTION' ... OK * this is package 'AMR' version '3.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [21s] NOTE Maintainer: 'Matthijs S. Berends ' Found the following (possibly) invalid URLs: URL: http://www.biostathandbook.com/gtestgof.html From: man/g.test.Rd Status: 406 Message: Not Acceptable Found the following (possibly) invalid DOIs: DOI: 10.1001.jamanetworkopen.2019.21124 From: man/antibiogram.Rd man/antibiogram.Rd Message: Invalid DOI * 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 serialization versions ... OK * checking whether package 'AMR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... [53s] OK * checking Rd files ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [75s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # ==================================================================== # > # TITLE: # > # AMR: An R Package for Working with Antimicrobial Resistance Data # > # # > # SOURCE CODE: # > # https://github.com/msberends/AMR # > # # > # PLEASE CITE THIS SOFTWARE AS: # > # Berends MS, Luz CF, Friedrich AW, et al. (2022). # > # AMR: An R Package for Working with Antimicrobial Resistance Data. # > # Journal of Statistical Software, 104(3), 1-31. # > # https://doi.org/10.18637/jss.v104.i03 # > # # > # Developed at the University of Groningen and the University Medical # > # Center Groningen in The Netherlands, in collaboration with many # > # colleagues from around the world, see our website. # > # # > # This R package is free software; you can freely use and distribute # > # it for both personal and commercial purposes under the terms of the # > # GNU General Public License version 2.0 (GNU GPL-2), as published by # > # the Free Software Foundation. # > # We created this package for both routine data analysis and academic # > # research and it was publicly released in the hope that it will be # > # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # > # # > # Visit our website for the full manual and a complete tutorial about # > # how to conduct AMR data analysis: https://amr-for-r.org # > # ==================================================================== # > > library(testthat) > library(AMR) > > test_check("AMR") Error in `test_dir()`: ! No test files found Backtrace: ▆ 1. └─testthat::test_check("AMR") 2. └─testthat::test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 3. └─rlang::abort("No test files found") Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... [18s] OK * DONE Status: 1 ERROR, 1 NOTE