* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/FloodMapper.Rcheck’ * using R Under development (unstable) (2020-11-10 r79412) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘FloodMapper/DESCRIPTION’ ... OK * this is package ‘FloodMapper’ version ‘1.0’ * 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 ‘FloodMapper’ can be installed ... OK * checking package 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 dependencies in R code ... NOTE Namespace in Imports field not imported from: ‘rgdal’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s/11s] 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘FloodMapper-Ex.R’ failed The error most likely occurred in: > ### Name: FM.rerun > ### Title: Rerun An Existing Model > ### Aliases: FM.rerun > > ### ** Examples > > ## Load FloodMapper package > library(FloodMapper) > > s_return <- NA > > ## Assume that the model run with a name of "Lafayette_1km" has been completed successfully, > ## now you want to rerun this model after adjust some parameter files (under the input folder), > ## you can run the following command to rerun the model. > ## No test: > s_return <- FM.rerun(runname = "Lafayette_1km", + startdatetime = "2016-08-12 10:00:00", + enddatetime = "2016-08-12 11:00:00", outputinterval = 3600, + internaltimestep = 300, wdbreakpoints = seq(0, 3000, 150), + workdir = tempdir(), animation = TRUE, bgtype = 0, + aerialraster = "", pdfoutput = FALSE) ********************************************* ******** Model Initiazation: START ******** --------------------------------------------- Initializing Model...Warning in file(file, ifelse(append, "a", "w")) : cannot open file '/tmp/RtmpHzk8KM/working_dir/RtmpEgnWCh/Lafayette_1km/log.txt': No such file or directory Error in file(file, ifelse(append, "a", "w")) : cannot open the connection Calls: FM.rerun -> FM.init -> cat -> file Execution halted * checking PDF version of manual ... 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 See ‘/data/blackswan/ripley/R/packages/tests-devel/FloodMapper.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:58.65, 53.82 + 4.45