* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/telemac.Rcheck’ * using R Under development (unstable) (2023-10-20 r85361) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘telemac/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘telemac’ version ‘0.1.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘rgdal’ * 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 ‘telemac’ can be installed ... [83s/49s] OK * used C++ compiler: ‘g++-13 (GCC) 13.2.0’ * 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 ... 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 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 ... [15s/17s] 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 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 ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [19s/20s] ERROR Running examples in ‘telemac-Ex.R’ failed The error most likely occurred in: > ### Name: t2d > ### Title: Initialise a TELEMAC-2D project > ### Aliases: t2d print.t2d > > ### ** Examples > > library(sf) Linking to GEOS 3.10.2, GDAL 3.4.3, PROJ 8.2.1; sf_use_s2() is TRUE > library(raster) Loading required package: sp > > # template setup with example data > bnd <- st_read(system.file("dem/boundary_lagos.gpkg", package = "telemac")) Reading layer `aoi_line_small' from data source `/data/gannet/ripley/R/packages/tests-Suggests/telemac.Rcheck/telemac/dem/boundary_lagos.gpkg' using driver `GPKG' Simple feature collection with 1 feature and 1 field Geometry type: LINESTRING Dimension: XY Bounding box: xmin: 530280 ymin: 729900 xmax: 536310 ymax: 744300 Projected CRS: WGS 84 / UTM zone 31N > dem_rast <- raster(system.file("dem/dem_merit_lagos.tif", package = "telemac")) > tin_obj <- tin(list(boundary = bnd), s = 90, a = 100^2, q = 30) Error: Package "RTriangle" is needed for this function. Please install it. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(telemac) > > test_check("telemac") Linking to GEOS 3.10.2, GDAL 3.4.3, PROJ 8.2.1; sf_use_s2() is TRUE [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tin.R:25:1'): (code run outside of `test_that()`) ────────────── Error: Package "RTriangle" is needed for this function. Please install it. Backtrace: ▆ 1. ├─telemac::tin(...) at test-tin.R:25:0 2. └─telemac:::tin.list(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] 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 ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE See ‘/data/gannet/ripley/R/packages/tests-Suggests/telemac.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:45.64, 169.88 + 15.86