* using log directory ‘/srv/hornik/tmp/CRAN/RGN.Rcheck’ * using R Under development (unstable) (2023-09-20 r85183) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (15) GNU Fortran (Debian 13.2.0-3) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘RGN/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RGN’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘David McInerney ’ New submission Possibly misspelled words in DESCRIPTION: Qin (19:63) RGN (3:29, 17:57) al (19:71) et (19:67) Found the following (possibly) invalid URLs: URL: http://www.bom.gov.au/water/hrs (moved to http://www.bom.gov.au/water/hrs/) From: man/BassRiverData.Rd Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * 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 whether package ‘RGN’ can be installed ... [2s/2s] WARNING Found the following significant warnings: Warning: CHARACTER expression will be truncated in assignment (255/270) at (1) [-Wcharacter-truncation] See ‘/srv/hornik/tmp/CRAN/RGN.Rcheck/00install.out’ for details. * used C compiler: ‘Debian clang version 16.0.6 (15)’ * used Fortran compiler: ‘GNU Fortran (Debian 13.2.0-3) 13.2.0’ * checking package directory ... OK * checking for future file timestamps ... 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/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 ... [3s/3s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... NOTE File ‘RGN/libs/RGN.so’: Found ‘_gfortran_st_write’, possibly from ‘write’ (Fortran), ‘print’ (Fortran) Object: ‘hymod.o’ Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs nor [v]sprintf. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual. * checking examples ... [0s/0s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [2s/2s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(RGN) > > test_check("RGN") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-hymod.R:17:3'): hymod ──────────────────────────────────────── signif(par, digits = 7) (`actual`) not equal to c(146.7564, 0.3635988, 0.1895957, 0.99999, 0.7430698) (`expected`). `actual`: 400.00 0.50 0.10 0.20 0.10 `expected`: 146.76 0.36 0.19 1.00 0.74 ── Failure ('test-hymod.R:19:3'): hymod ──────────────────────────────────────── signif(value, digits = 7) (`actual`) not equal to 6840.165 (`expected`). `actual`: 21100 `expected`: 6840 ── Failure ('test-hymod.R:20:3'): hymod ──────────────────────────────────────── `counts` (`actual`) not equal to 367 (`expected`). `actual`: 11 `expected`: 367 ── Failure ('test-hymod.R:21:3'): hymod ──────────────────────────────────────── info$nIter (`actual`) not equal to 29 (`expected`). `actual`: 1 `expected`: 29 ── Failure ('test-hymod.R:22:3'): hymod ──────────────────────────────────────── info$termFlag (`actual`) not equal to 2 (`expected`). `actual`: 5 `expected`: 2 [ FAIL 5 | WARN 0 | SKIP 0 | PASS 5 ] Error: Test failures Execution halted * checking PDF version of manual ... [2s/2s] 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, 1 WARNING, 2 NOTEs