CRAN Package Check Results for Package lmomPi

Last updated on 2022-10-17 07:51:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 2.42 38.77 41.19 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 1.71 29.55 31.26 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.0 60.29 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.0 56.84 ERROR
r-devel-windows-x86_64 0.5.0 10.00 63.00 73.00 ERROR
r-patched-linux-x86_64 0.5.0 OK
r-release-linux-x86_64 0.5.0 1.90 40.88 42.78 OK
r-release-macos-arm64 0.5.0 20.00 OK
r-release-macos-x86_64 0.5.0 29.00 OK
r-release-windows-x86_64 0.5.0 8.00 67.00 75.00 OK
r-oldrel-macos-arm64 0.5.0 23.00 OK
r-oldrel-macos-x86_64 0.5.0 33.00 OK
r-oldrel-windows-ix86+x86_64 0.5.0 7.00 68.00 75.00 OK

Check Details

Version: 0.5.0
Check: examples
Result: ERROR
    Running examples in 'lmomPi-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cdf
    > ### Title: Generic function for 'cdf...': probability distribution fitting
    > ### with L-Moments.
    > ### Aliases: cdf spi.cdf cdf.spi
    >
    > ### ** Examples
    >
    >
    > # Sample L-moments of Ozone from the airquality data
    > data(airquality)
    > lmom <- samlmu(airquality$Ozone,nmom=6)
    >
    > distrib <- c("exp","gam","gev","glo","gpa","gno","gum","kap",
    + "ln3","nor","pe3","wak","wei")
    >
    > para_list <- pel(distrib=distrib,lmom=lmom)
    > cdf_list <- cdf(para=para_list,x=airquality$Ozone)
    >
    > library(rasterList)
    Loading required package: raster
    Loading required package: sp
    > precff <- system.file("map/Mekrou_precipitation.grd", package="rasterList")
    > precs <- stack(precff)
    > prec_point <- precs[143][,]
    >
    > ## month index
    > month <- as.character(as.Date(names(prec_point),format="X%Y.%m.%d"),format="M%m")
    Warning in as.character.POSIXt(as.POSIXlt(x), ...) :
     as.character(td, ..) no longer obeys a 'format' argument; use format(td, ..) ?
    > prec_point[(prec_point<1) & (month=="M01")] <- 0
    >
    > distrib_prec2 <- c("gam")
    > para_vvv <- pel(x=prec_point,indices=month,distrib=distrib_prec2)
    Error in if (lmom[2] == 0) { : missing value where TRUE/FALSE needed
    Calls: pel -> tapply -> lapply -> FUN -> pel
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: examples
Result: ERROR
    Running examples in ‘lmomPi-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: cdf
    > ### Title: Generic function for 'cdf...': probability distribution fitting
    > ### with L-Moments.
    > ### Aliases: cdf spi.cdf cdf.spi
    >
    > ### ** Examples
    >
    >
    > # Sample L-moments of Ozone from the airquality data
    > data(airquality)
    > lmom <- samlmu(airquality$Ozone,nmom=6)
    >
    > distrib <- c("exp","gam","gev","glo","gpa","gno","gum","kap",
    + "ln3","nor","pe3","wak","wei")
    >
    > para_list <- pel(distrib=distrib,lmom=lmom)
    > cdf_list <- cdf(para=para_list,x=airquality$Ozone)
    >
    > library(rasterList)
    Loading required package: raster
    Loading required package: sp
    > precff <- system.file("map/Mekrou_precipitation.grd", package="rasterList")
    > precs <- stack(precff)
    > prec_point <- precs[143][,]
    >
    > ## month index
    > month <- as.character(as.Date(names(prec_point),format="X%Y.%m.%d"),format="M%m")
    Warning in as.character.POSIXt(as.POSIXlt(x), ...) :
     as.character(td, ..) no longer obeys a 'format' argument; use format(td, ..) ?
    > prec_point[(prec_point<1) & (month=="M01")] <- 0
    >
    > distrib_prec2 <- c("gam")
    > para_vvv <- pel(x=prec_point,indices=month,distrib=distrib_prec2)
    Error in if (lmom[2] == 0) { : missing value where TRUE/FALSE needed
    Calls: pel -> tapply -> lapply -> FUN -> pel
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64