* using log directory ‘/srv/hornik/tmp/CRAN/wxgenR.Rcheck’ * using R Under development (unstable) (2023-08-28 r85029) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (10) GNU Fortran (Debian 13.2.0-1) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘wxgenR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘wxgenR’ version ‘1.3.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] WARNING Maintainer: ‘David Woodson , Subhrendu Gangopadhyay ’ The maintainer field is invalid or specifies more than one person New submission Possibly misspelled words in DESCRIPTION: Bearup (8:5, 9:23) ENV (8:141) Gangopadhyay (8:17, 9:5) Halper (9:62) Hydroclimate (8:59) Mikkelson (8:37) Shamir (9:76) Verdin (9:38) Found the following (possibly) invalid URLs: URL: https://www.usbr.gov/lc/phoenix/programs/lscrbasin/LSCRBS_Hydroclimate_2021.pdf From: DESCRIPTION man/LowerSantaCruzRiverBasinAZ.Rd Status: Error Message: Recv failure: Connection reset by peer Size of tarball: 10293937 bytes * 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 ‘wxgenR’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences. * 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING ‘library’ or ‘require’ calls not declared from: ‘doParallel’ ‘dplyr’ ‘foreach’ ‘lubridate’ ‘msm’ ‘sm’ ‘library’ or ‘require’ calls in package code: ‘doParallel’ ‘dplyr’ ‘foreach’ ‘lubridate’ ‘msm’ ‘sm’ Please use :: or requireNamespace() instead. See section 'Suggested packages' in the 'Writing R Extensions' manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [9s/9s] NOTE getPtpm: no visible global function definition for ‘ts’ getTpars: no visible binding for global variable ‘temp’ getTpars: no visible global function definition for ‘lm’ getTpars: no visible global function definition for ‘sd’ nStatProb: no visible global function definition for ‘quantile’ nStatProb: no visible global function definition for ‘ts’ nStatProb: no visible global function definition for ‘start’ nStatProb: no visible global function definition for ‘end’ repan: no visible global function definition for ‘runif’ simPamt: no visible global function definition for ‘na.omit’ simPamt: no visible global function definition for ‘makePSOCKcluster’ simPamt: no visible global function definition for ‘detectCores’ simPamt: no visible global function definition for ‘registerDoParallel’ simPamt: no visible global function definition for ‘%dopar%’ simPamt: no visible global function definition for ‘foreach’ simPamt: no visible global function definition for ‘stopCluster’ simTPocc: no visible global function definition for ‘runif’ simTPocc: no visible global function definition for ‘rnorm’ transProbMatrix: no visible global function definition for ‘ntile.ts’ transProbMatrix: no visible binding for global variable ‘state’ writeSim: no visible global function definition for ‘write.table’ wx: no visible global function definition for ‘read.table’ wx: no visible global function definition for ‘tail’ Undefined global functions or variables: %dopar% detectCores end foreach lm makePSOCKcluster na.omit ntile.ts quantile read.table registerDoParallel rnorm runif sd start state stopCluster tail temp ts write.table Consider adding importFrom("stats", "end", "lm", "na.omit", "quantile", "rnorm", "runif", "sd", "start", "ts") importFrom("utils", "read.table", "tail", "write.table") to your NAMESPACE file. Found if() conditions comparing class() to string: File ‘wxgenR/R/lib.R’: if (class(x) == "ts") ... Use inherits() (or maybe is()) instead. * 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] ERROR Running examples in ‘wxgenR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: getDatesInWindow > ### Title: Get dates in window > ### Aliases: getDatesInWindow > > ### ** Examples > > getDatesInWindow(syr = 2000, eyr = 2005, wwidth = 3, leapflag = F) Error in getDatesInWindow(syr = 2000, eyr = 2005, wwidth = 3, leapflag = F) : F used instead of FALSE Execution halted * checking for unstated dependencies in vignettes ... NOTE ‘::’ or ‘:::’ import not declared from: ‘reshape2’ ‘library’ or ‘require’ calls not declared from: ‘data.table’ ‘ggpubr’ ‘moments’ ‘reshape2’ ‘seas’ ‘tidyr’ * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [4s/4s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘Vignette_BlacksburgVA.Rmd’ using rmarkdown Quitting from lines 38-51 [unnamed-chunk-1] (Vignette_BlacksburgVA.Rmd) Error: processing vignette ‘Vignette_BlacksburgVA.Rmd’ failed with diagnostics: there is no package called 'tidyr' --- failed re-building ‘Vignette_BlacksburgVA.Rmd’ --- re-building ‘Vignette_LowerSantaCruzRiverBasinAZ.Rmd’ using rmarkdown Quitting from lines 37-50 [unnamed-chunk-1] (Vignette_LowerSantaCruzRiverBasinAZ.Rmd) Error: processing vignette ‘Vignette_LowerSantaCruzRiverBasinAZ.Rmd’ failed with diagnostics: there is no package called 'tidyr' --- failed re-building ‘Vignette_LowerSantaCruzRiverBasinAZ.Rmd’ SUMMARY: processing the following files failed: ‘Vignette_BlacksburgVA.Rmd’ ‘Vignette_LowerSantaCruzRiverBasinAZ.Rmd’ Error: Vignette re-building failed. 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: 2 ERRORs, 2 WARNINGs, 3 NOTEs