* using log directory 'd:/RCompile/CRANincoming/R-devel/hydroState.Rcheck' * using R Under development (unstable) (2025-07-30 r88476 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'hydroState/DESCRIPTION' ... OK * this is package 'hydroState' version '0.2.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Tim Peterson ' New submission Possibly misspelled words in DESCRIPTION: Hydrological (2:35) Saft (9:538) TJ (9:534) streamflow (9:43, 9:196) Package has a VignetteBuilder field but no prebuilt vignette index. Found the following (possibly) invalid file URIs: URI: articles/hydroState.html From: README.md URI: reference/build.html From: README.md URI: reference/fit.hydroState.html From: README.md URI: reference/plot.hydroState.html From: README.md URI: reference/get.states.html From: README.md URI: articles/adjust.state.model.html From: README.md URI: articles/subAnnual.models.html From: README.md URI: reference/build.all.html From: README.md * checking package namespace information ... OK * checking package dependencies ... INFO Vignette dependency required without any vignettes: 'knitr' * 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 'hydroState' can be installed ... OK * checking installed package size ... OK * 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 code 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 ... [12s] OK * checking Rd files ... NOTE checkRd: (-1) build.all.Rd:35: Lost braces 35 | \item{transition.graph}{matrix given the number of states. If empty, the default builds models with all possible combinations of states: 1-state matrix (1 by 1): code{matrix(TRUE,1,1)}, 2-state matrix (2 by 2): \code{matrix(TRUE,2,2)}, 3-state matrix (3 by 3): \code{matrix(TRUE,3,3)}.} | ^ checkRd: (-1) fit.hydroState.Rd:40: Lost braces in \itemize; meant \describe ? checkRd: (-1) fit.hydroState.Rd:41: Lost braces in \itemize; meant \describe ? checkRd: (-1) fit.hydroState.Rd:43: Lost braces in \itemize; meant \describe ? checkRd: (-1) fit.hydroState.Rd:44: Lost braces in \itemize; meant \describe ? checkRd: (-1) fit.hydroState.Rd:45-46: Lost braces in \itemize; meant \describe ? checkRd: (-1) hydroState-package.Rd:45: Lost braces; missing escapes or markup? 45 | The package contains a default \code{hydroState} model object that explains streamflow as a function of precipitation using a linear model. Once the model object is built (\code{{build()}}), the model is fitted (\code{{fit.hydroState()}}) to determine the most likely rainfall-runoff state at each time-step. To assess the adequacy of the fit, the residuals are plotted (\code{{plot()}}), and an adequate fit requires the residuals to be normally distributed, uniform, with minimal correlation and minimal trends. The resulting runoff states from the fitted model can then be evaluated over time (\code{{plot()}}) and even exported ({\code{get.states()}}) with the state values, confidence intervals, and conditional probabilities at each time-step. Input data requires a dataframe with catchment average runoff and precipitation at annual, seasonal, or monthly timesteps, and gaps with missing data are permitted. An example of this workflow with the default model is demonstrated within the {vignette("hydroState", package = "hydroState")} vignette. | ^ checkRd: (-1) hydroState-package.Rd:57: Lost braces; missing escapes or markup? 57 | An example of how to adjust the default model is demonstrated within the {vignette("Adjust the default state model", package = "hydroState")} | ^ checkRd: (-1) hydroState-package.Rd:58: Lost braces; missing escapes or markup? 58 | and {vignette("Seasonal and monthly models", package = "hydroState")}. | ^ checkRd: (-1) hydroState-package.Rd:60: Lost braces; missing escapes or markup? 60 | There is an additional option to construct all possible types of models using the \code{{build.all()}}, and compare them using the same \code{{fit.hydroState()}} function. The most likely model can be selected based on the AIC where the best model will have the lowest AIC. An example of this is demonstrated at the end of the {vignette("Adjust the default state model", package = "hydroState")} | ^ checkRd: (-1) hydroState-package.Rd:61: Lost braces; missing escapes or markup? 61 | and {vignette("Seasonal and monthly models", package = "hydroState")}. To get stated, it is recommended to evaluate the default model at first with one state and again with two states. | ^ checkRd: (-1) plot.hydroState.Rd:51: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:52: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:53: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:54: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:55: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:59: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:60: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:61: Lost braces in \itemize; meant \describe ? checkRd: (-1) plot.hydroState.Rd:62: Lost braces in \itemize; meant \describe ? * 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 2 NOTEs