* using log directory 'd:/Rcompile/CRANpkg/local/4.2/pipenostics.Rcheck' * using R version 4.2.3 (2023-03-15 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'pipenostics/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pipenostics' version '0.2.0' * package encoding: UTF-8 * 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 whether package 'pipenostics' can be installed ... OK * checking installed package size ... 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 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 ... [8s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 examples ... [8s] ERROR Running examples in 'pipenostics-Ex.R' failed The error most likely occurred in: > ### Name: mgtdhid > ### Title: Get ground temperature > ### Aliases: mgtdhid mgtdhidt mgtdhgeo mgtdhgeot > > ### ** Examples > > # Let consider the next geographical positions: > lat <- c(s28434 = 56.65, s28418 = 56.47, s23711 = 62.70, ControlPoint = 57) > lon <- c(s28434 = 57.78, s28418 = 53.73, s23711 = 56.20, ControlPoint = 57) > > # * ground temperatures at first three locations on 02 March 2023 at depth 3 m: > mgtdhgeo(head(lat, 3), head(lon, 3), tau = as.POSIXct("2023-03-02"), depth = 3) [1] 4.181937 4.765521 2.928400 > > # * it is the same as obtaining ground temperatures from weather stations: > mgtdhid(id = c(28434L, 28418L, 23711L), tau = as.POSIXct("2023-03-02"), depth = 3) [1] 4.181937 4.765521 2.928400 > > # * undisturbed ground temperature plot at Control Point: > days <- as.POSIXct("2023-01-01") + 3600*24*(seq.int(1, 365) - 1) > plot( + days, + mgtdhgeot(days, lat[["ControlPoint"]], lon[["ControlPoint"]]), + type = "l", + ylab = "Temperature, °C" + ) Error in mgtdhgeot(days, lat[["ControlPoint"]], lon[["ControlPoint"]]) : Assertion on 'tau' failed: Element 1 is not >= 0. Calls: plot ... xy.coords -> mgtdhgeot -> -> makeAssertion -> mstop Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [71s] OK Running 'testthat.R' [70s] * checking PDF version of manual ... OK * DONE Status: 1 ERROR