CRAN Package Check Results for Package hydrostats

Last updated on 2024-06-13 04:52:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.9 4.15 33.30 37.45 OK
r-devel-linux-x86_64-debian-gcc 0.2.9 2.19 25.19 27.38 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.9 53.36 OK
r-devel-linux-x86_64-fedora-gcc 0.2.9 52.63 OK
r-devel-windows-x86_64 0.2.9 4.00 62.00 66.00 OK
r-patched-linux-x86_64 0.2.9 4.60 35.13 39.73 OK
r-release-linux-x86_64 0.2.9 3.73 33.05 36.78 OK
r-release-macos-arm64 0.2.9 19.00 OK
r-release-macos-x86_64 0.2.9 29.00 OK
r-release-windows-x86_64 0.2.9 5.00 63.00 68.00 OK
r-oldrel-macos-arm64 0.2.9 21.00 OK
r-oldrel-macos-x86_64 0.2.9 32.00 OK
r-oldrel-windows-x86_64 0.2.9 4.00 68.00 72.00 OK

Check Details

Version: 0.2.9
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘dplyr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.9
Check: examples
Result: ERROR Running examples in ‘hydrostats-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: flood.length.max > ### Title: Calculates the maximum flood length in a time series. > ### Aliases: flood.length.max > > ### ** Examples > > > data(Cooper) > Cooper<-ts.format(Cooper) > > flood.length.max(Cooper, threshold = 50000, ind.days = 5) max.duration 1 40 > > # Return annual maximum flood length based on calendar year using ddply (from plyr package) > require(plyr) Loading required package: plyr > Cooper$Year=format(Cooper$Date, format="%Y") > ddply(Cooper, .(Year), flood.length.max, threshold = 50000) Year max.duration 1 1967 0 2 1968 13 3 1969 0 4 1970 0 5 1971 10 6 1972 6 7 1973 17 8 1974 40 9 1975 2 10 1976 21 11 1977 19 12 1978 0 13 1979 8 14 1980 1 15 1981 3 16 1982 0 17 1983 10 18 1984 0 19 1985 0 20 1986 7 21 1987 0 > > require(dplyr) Loading required package: dplyr Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘dplyr’ > Cooper %>% + dplyr::group_by(Year) %>% + dplyr::do(flood.length.max(., threshold = 50000)) Error in Cooper %>% dplyr::group_by(Year) %>% dplyr::do(flood.length.max(., : could not find function "%>%" Execution halted Flavor: r-devel-linux-x86_64-debian-gcc