* using log directory ‘/srv/hornik/tmp/CRAN_pretest/AMR.Rcheck’ * using R Under development (unstable) (2025-05-30 r88253) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * 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 ... [6s/17s] 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 URL: https://www.umcg.nl From: man/AMR.Rd inst/doc/welcome_to_AMR.html README.md Status: 403 Message: Forbidden 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 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 ‘AMR’ can be installed ... [12s/12s] 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 ... [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 whether startup messages can be suppressed ... [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 ... [24s/24s] OK * checking Rd files ... [1s/1s] 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 ... [2s/2s] 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 ... [34s/34s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] ERROR Running ‘testthat.R’ [1s/1s] 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 ... [2s/2s] OK * checking PDF version of manual ... [6s/6s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE