* using log directory 'd:/RCompile/CRANincoming/R-devel/PRSim.Rcheck' * using R Under development (unstable) (2023-09-13 r85142 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'PRSim/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PRSim' version '1.4-4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [12s] NOTE Maintainer: 'Manuela Brunner ' New submission Package was archived on CRAN Possibly misspelled words in DESCRIPTION: Brunner (17:113, 18:98, 19:112) Gilleland (18:110) Streamflow (3:33) al (17:124, 19:123) et (17:121, 19:120) streamflow (16:58, 16:189) CRAN repository db overrides: X-CRAN-Comment: Archived on 2023-06-27 as issues were not corrected in update. Discrepancies from .Rout.save files. * 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 'PRSim' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 12.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: 'Manuela Brunner [aut, cre] (), Reinhard Furrer [aut] (), R Core Team [ctb, cph]' Authors@R: 'Manuela Brunner [aut, cre] (), Reinhard Furrer [aut] (), R Core Teamn [ctb, cph] (ks_test.c)' * 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 ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... 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 examples ... OK * checking differences from 'PRSim-Ex.Rout' to 'PRSim-Ex.Rout.save' ... OK 17a18,25 > > ## Not run: > > ##D demo("PRSim") > > ##D demo("PRSim-validate") > > ##D demo("PRSim_wave") > > ##D demo("PRSim_wave-validate") > > ##D demo("PRSim_weather") > > ##D demo("PRSim_weather-validate") > > ## End(Not run) 51a60,65 > > ## Not run: > > ##D # The following call requires 5 seconds to execute > > ##D out <- prsim( runoff[ runoff$YYYY<1978, ], "Qobs", 1, > > ##D marginal="GEV", n_par=3, verbose=FALSE, marginalpar=FALSE, > > ##D show=FALSE) # Supress 'gev.fit' output. > > ## End(Not run) 53a68,80 > > ## Not run: > > ##D require( "GB2") > > ##D rGB2 <- function(n, theta) rgb2(n, theta[1], theta[2], theta[3], theta[4]) > > ##D pGB2 <- function(x, theta) pgb2(x, theta[1], theta[2], theta[3], theta[4]) > > ##D GB2_fit <- function( xdat, ...) ml.gb2( xdat, ...)$opt1$par > > ## End(Not run) > > > > ## Not run: > > ##D # The following call requires half minute or so to execute. Some warnings are issued > > ##D out <- prsim( runoff[ runoff$YYYY<1987, ], "Qobs", 1, suppWarn=TRUE, > > ##D marginal="GB2") > > ##D > > ## End(Not run) 75a103,107 > > ## Not run: > > ##D # The following call requires half minute or so to execute. > > ##D prsim.wave(runoff_multi_sites, "Qobs", 1, suppWarn=TRUE) > > ## End(Not run) > > # warnings() # as a follow-up to `suppWarn=TRUE` 78a111,124 > > require("evd") > > require("ismev") > This is mgcv 1.9-0. For overview type 'help("mgcv-package")'. > > rGEV <- function(n, theta) rgev(n, theta[1], theta[2], theta[3]) > > pGEV <- function(x, theta) pgev(x, theta[1], theta[2], theta[3]) > > GEV_fit <- function( xdat, ...) gev.fit( xdat, ...)$mle > > > > ## Not run: > > ##D # The following call requires 5 seconds to execute > > ##D prsim.wave(runoff_multi_sites, "Qobs", 1, > > ##D marginal="GEV", n_par=3, verbose=FALSE, marginalpar=FALSE, > > ##D show=FALSE) > > ##D # Supress 'gev.fit' output. > > ## End(Not run) 80a127,185 > > ## Not run: > > ##D require( "GB2") > > ##D rGB2 <- function(n, theta) rgb2(n, theta[1], theta[2], theta[3], theta[4]) > > ##D pGB2 <- function(x, theta) pgb2(x, theta[1], theta[2], theta[3], theta[4]) > > ##D GB2_fit <- function( xdat, ...) ml.gb2( xdat, ...)$opt1$par > > ## End(Not run) > > > > ## Not run: > > ##D # The following call requires half minute or so to execute. > > ##D Some warnings are issued > > ##D prsim.wave(runoff_multi_sites, "Qobs", 1, suppWarn=TRUE, > > ##D marginal="GB2") > > ## End(Not run) > > > > > > > > > > cleanEx() > > detaching 'package:ismev', 'package:mgcv', 'package:nlme', > 'package:evd' > > > nameEx("fun_stoch_sim_weather") > > ### * fun_stoch_sim_weather > > > > flush(stderr()); flush(stdout()) > > > > ### Name: pRsim.weather > > ### Title: Weather simulation (temperature and precipitation) for multiple > > ### stations > > ### Aliases: PRsim.weather prsim.weather prsim_weather > > ### Keywords: ts > > > > ### ** Examples > > > > data(weather_multi_sites) > > ## Not run: > > ##D # The following call requires half minute or so to execute. > > ##D prsim.weather(data_p=data_p, data_t=data_t, number_sim=1, p_margin='egpd',t_margin='sep') > > ## End(Not run) > > > > > > ## Not run: > > ##D # The following call requires 5 seconds to execute > > ##D ### define normal distribution > > ##D library(fitdistrplus) > > ##D rNORM <- function(n, theta) rnorm(n, theta[1], theta[2]) > > ##D pNORM <- function(x, theta) pnorm(x, theta[1], theta[2]) > > ##D NORM_fit <- function( xdat, ...) fitdistr( xdat, 'normal', show=FALSE, ...)$estimate > > ##D ### define GEV distribution > > ##D require("evd") > > ##D require("ismev") > > ##D rGEV <- function(n, theta) rgev(n, theta[1], theta[2], theta[3]) > > ##D pGEV <- function(x, theta) pgev(x, theta[1], theta[2], theta[3]) > > ##D GEV_fit <- function( xdat, ...) gev.fit(xdat, show=FALSE, ...)$mle > > ##D > > ##D ### apply function using alternative distributions > > ##D out <- prsim.weather(data_p=data_p, data_t=data_t, number_sim=1,p_margin='GEV',t_margin='NORM') > > ## End(Not run) 274d378 < > par(mfrow = c(1,2)) 375d478 < > par(mfrow = c(1,2)) * checking for unstated dependencies in 'tests' ... OK * checking tests ... [40s] OK Running 'basic.R' [40s] Comparing 'basic.Rout' to 'basic.Rout.save' ...52a53 > * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 2 NOTEs