CRAN Package Check Results for Package RMRAINGEN

Last updated on 2019-11-29 12:49:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 9.92 76.41 86.33 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 8.84 61.25 70.09 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 100.39 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0 99.04 ERROR
r-devel-windows-ix86+x86_64 1.0 19.00 101.00 120.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 1.0 18.00 86.00 104.00 ERROR
r-patched-linux-x86_64 1.0 9.79 73.97 83.76 ERROR
r-patched-solaris-x86 1.0 161.70 ERROR
r-release-linux-x86_64 1.0 9.17 74.91 84.08 ERROR
r-release-windows-ix86+x86_64 1.0 19.00 82.00 101.00 ERROR
r-release-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 18.00 103.00 121.00 ERROR
r-oldrel-osx-x86_64 1.0 NOTE

Check Details

Version: 1.0
Check: R code for possible problems
Result: NOTE
    CoeffYWeq: no visible global function definition for 'index'
    fitdistrForPrecipitation: no visible global function definition for
     'fitdistr'
    generate.CCGammaObject: no visible binding for global variable 'rnorm'
    generate.CCGammaObject: no visible global function definition for
     'pnorm'
    generate.YuleWalkerCoefficientBlockmatrices: no visible binding for
     global variable 'rnorm'
    generate.YuleWalkerCoefficientBlockmatricesPerEachMonth: no visible
     binding for global variable 'rnorm'
    generatePrecipitationAmount: no visible global function definition for
     'str'
    omega_inv: no visible global function definition for 'uniroot'
    qqfit: no visible binding for global variable 'qexp'
    qqfit: no visible global function definition for 'ecdf'
    Undefined global functions or variables:
     ecdf fitdistr index pnorm qexp rnorm str uniroot
    Consider adding
     importFrom("stats", "ecdf", "pnorm", "qexp", "rnorm", "uniroot")
     importFrom("utils", "str")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in 'RMRAINGEN-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: CCGamma
    > ### Title: This function extends 'continuity_ratio' and adds the
    > ### corresponding gaussian correlation matrix for no-precipitation
    > ### occurence.
    > ### Aliases: CCGamma
    >
    > ### ** Examples
    >
    > library(RMAWGEN)
    > data(trentino)
    >
    > year_min <- 1961
    > year_max <- 1990
    > origin <- paste(year_min,1,1,sep="-")
    >
    > period <- PRECIPITATION$year>=year_min & PRECIPITATION$year<=year_max
    > station <- names(PRECIPITATION)[!(names(PRECIPITATION) %in% c("day","month","year"))]
    > prec_mes <- PRECIPITATION[period,station]
    >
    > ## removing nonworking stations (e.g. time series with NA)
    > accepted <- array(TRUE,length(names(prec_mes)))
    > names(accepted) <- names(prec_mes)
    > for (it in names(prec_mes)) {
    + accepted[it] <- (length(which(!is.na(prec_mes[,it])))==length(prec_mes[,it]))
    + }
    >
    > prec_mes <- prec_mes[,accepted]
    > ## the dateset is reduced!!!
    > prec_mes <- prec_mes[,1:2]
    >
    > CCGamma <- CCGamma(data=prec_mes,lag=0,tolerance=0.001,only.matrix=FALSE)
    [1] "lag"
    [1] 0
    Error in if (is.na(p0_v2)) { : argument is of length zero
    Calls: CCGamma -> omega_inv -> omega
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘RMRAINGEN-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: CCGamma
    > ### Title: This function extends 'continuity_ratio' and adds the
    > ### corresponding gaussian correlation matrix for no-precipitation
    > ### occurence.
    > ### Aliases: CCGamma
    >
    > ### ** Examples
    >
    > library(RMAWGEN)
    > data(trentino)
    >
    > year_min <- 1961
    > year_max <- 1990
    > origin <- paste(year_min,1,1,sep="-")
    >
    > period <- PRECIPITATION$year>=year_min & PRECIPITATION$year<=year_max
    > station <- names(PRECIPITATION)[!(names(PRECIPITATION) %in% c("day","month","year"))]
    > prec_mes <- PRECIPITATION[period,station]
    >
    > ## removing nonworking stations (e.g. time series with NA)
    > accepted <- array(TRUE,length(names(prec_mes)))
    > names(accepted) <- names(prec_mes)
    > for (it in names(prec_mes)) {
    + accepted[it] <- (length(which(!is.na(prec_mes[,it])))==length(prec_mes[,it]))
    + }
    >
    > prec_mes <- prec_mes[,accepted]
    > ## the dateset is reduced!!!
    > prec_mes <- prec_mes[,1:2]
    >
    > CCGamma <- CCGamma(data=prec_mes,lag=0,tolerance=0.001,only.matrix=FALSE)
    [1] "lag"
    [1] 0
    Error in if (is.na(p0_v2)) { : argument is of length zero
    Calls: CCGamma -> omega_inv -> omega
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64