* using log directory ‘/srv/hornik/tmp/CRAN/PRSim.Rcheck’ * using R Under development (unstable) (2023-09-13 r85142) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (11) GNU Fortran (Debian 13.2.0-2) 13.2.0 * running under: Debian GNU/Linux trixie/sid * 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 ... [3s/4s] 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 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 ‘PRSim’ can be installed ... [5s/5s] OK * used C compiler: ‘Debian clang version 16.0.6 (13)’ * 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 ... [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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [7s/7s] OK * 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 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 ... [3s/3s] 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 ... [14s/14s] OK Running ‘basic.R’ [14s/14s] Comparing ‘basic.Rout’ to ‘basic.Rout.save’ ...52a53 > * checking PDF version of manual ... [3s/3s] 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 NOTEs