CRAN Package Check Results for Maintainer ‘Ilaria Prosdocimi <prosdocimi.ilaria at gmail.com>’

Last updated on 2024-06-13 05:59:49 CEST.

Package ERROR NOTE OK
rnrfa 4 1 8
winfapReader 4 9

Package rnrfa

Current CRAN status: ERROR: 4, NOTE: 1, OK: 8

Version: 2.1.0.5
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("rnrfa") > library("lintr") > > if (!curl::has_internet()) { + message("No internet, cannot run tests") + }else { + test_check("rnrfa") + } [ FAIL 37 | WARN 0 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-catalogue.R:6:3'): Output of catalogue function is expected to be at least 1539x20 ── `x` not equal to `expected`. 2 element mismatches Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:6:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:12:3'): Check output of catalogue for Plynlimon area ── `x` not equal to `expected`. 1/1 mismatches [1] 0 - 9 == -9 Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:12:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:22:3'): Check output of catalogue for minimum records of 100 years ── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:22:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:41:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 11 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:44:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 114 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:47:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 110 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:6:3'): Output of cmr function for single station ─────── length(x) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:9:3'): Output of cmr function for single station ─────── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x) == 2, equals(TRUE)) at test-cmr.R:9:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:10:3'): Output of cmr function for single station ────── `x` not equal to `expected`. Lengths (0, 1) differ (comparison on first 0 components) Backtrace: ▆ 1. └─testthat::expect_that(...) at test-cmr.R:10:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:25:3'): Output of cmr function for multiple stations ─── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x[[1]]) == 2, equals(TRUE)) at test-cmr.R:25:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-gdf.R:7:3'): Output of gdf function for id 18019 ───────────── "zoo" %in% class(x1) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:11:3'): Output of gdf function for id 18019 ──────────── "list" %in% class(x2) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:12:3'): Output of gdf function for id 18019 ──────────── length(x2) not equal to 2. 1/1 mismatches [1] 0 - 2 == -2 ── Failure ('test-get_ts.R:19:3'): get_ts cmr single works ───────────────────── class(rain) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:20:3'): get_ts cmr single works ───────────────────── length(rain) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:28:3'): get_ts cmr multi works ────────────────────── class(rain[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:29:3'): get_ts cmr multi works ────────────────────── length(rain[[1]]) >= 756 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:30:3'): get_ts cmr multi works ────────────────────── length(rain[[2]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:31:3'): get_ts cmr multi works ────────────────────── length(rain[[3]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:38:3'): get_ts gdf single works ───────────────────── class(flow) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:39:3'): get_ts gdf single works ───────────────────── as.numeric(flow[1]) not equal to 0.056. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:40:3'): get_ts gdf single works ───────────────────── length(flow) >= 731 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:48:3'): get_ts gdf multi works ────────────────────── class(flow[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:49:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[1]][1]) not equal to 0.637. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:50:3'): get_ts gdf multi works ────────────────────── length(flow[[1]]) >= 16855 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:51:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[2]][1]) not equal to 0.031. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:52:3'): get_ts gdf multi works ────────────────────── length(flow[[2]]) >= 13159 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:53:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[3]][1]) not equal to 1.262. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:54:3'): get_ts gdf multi works ────────────────────── length(flow[[3]]) >= 12416 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:61:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:63:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:65:3'): Check get_ts works with other types ───────── table(x1$rejected[1:37]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:71:3'): Check get_ts works with other types ───────── class(x2) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:72:3'): Check get_ts works with other types ───────── table(x2$rejected[1:11]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:77:3'): Check get_ts works with other types ───────── table(x3$rejected[1:176]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 1 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 1) differ ── Error ('test-seasonal_averages.R:5:3'): seasonal_averages works ───────────── Error in `seasonal_averages(timeseries = cmr(18019), season = "Spring")`: object 'tslist' not found Backtrace: ▆ 1. └─rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") at test-seasonal_averages.R:5:3 ── Failure ('test-station_ids.R:5:3'): station_ids works ─────────────────────── length(x) >= 1580 not equal to TRUE. 1 element mismatch [ FAIL 37 | WARN 0 | SKIP 0 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.1.0.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘rnrfa-vignette.Rmd’ using rmarkdown trying URL 'https://cloud.r-project.org/src/contrib/devtools_2.4.5.tar.gz' Content type 'application/x-gzip' length 374718 bytes (365 KB) ================================================== downloaded 365 KB trying URL 'https://cloud.r-project.org/src/contrib/DT_0.33.tar.gz' Content type 'application/x-gzip' length 1675674 bytes (1.6 MB) ================================================== downloaded 1.6 MB trying URL 'https://cloud.r-project.org/src/contrib/leaflet_2.2.2.tar.gz' Content type 'application/x-gzip' length 1983642 bytes (1.9 MB) ================================================== downloaded 1.9 MB trying URL 'https://cloud.r-project.org/src/contrib/dygraphs_1.1.1.6.tar.gz' Content type 'application/x-gzip' length 318939 bytes (311 KB) ================================================== downloaded 311 KB * installing *source* package ‘devtools’ ... ** package ‘devtools’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (devtools) * installing *source* package ‘DT’ ... ** package ‘DT’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (DT) * installing *source* package ‘leaflet’ ... ** package ‘leaflet’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (leaflet) * installing *source* package ‘dygraphs’ ... ** package ‘dygraphs’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (dygraphs) The downloaded source packages are in '/tmp/RtmpZz9PXg/downloaded_packages' Quitting from lines 201-202 [unnamed-chunk-13] (rnrfa-vignette.Rmd) Error: processing vignette 'rnrfa-vignette.Rmd' failed with diagnostics: arguments imply differing number of rows: 0, 1 --- failed re-building ‘rnrfa-vignette.Rmd’ SUMMARY: processing the following file failed: ‘rnrfa-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.1.0.5
Check: package dependencies
Result: ERROR Packages required but not available: 'lubridate', 'ggmap', 'ggplot2', 'tibble' Packages suggested but not available for checking: 'testthat', 'devtools' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1.0.5
Check: for non-standard things in the check directory
Result: NOTE Found the following files/directories: ‘DT’ ‘devtools’ ‘dygraphs’ ‘leaflet’ Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.1.0.5
Check: tests
Result: ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("rnrfa") > library("lintr") > > if (!curl::has_internet()) { + message("No internet, cannot run tests") + }else { + test_check("rnrfa") + } [ FAIL 37 | WARN 0 | SKIP 1 | PASS 23 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On Windows (1): 'test-gdf.R:18:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-catalogue.R:6:3'): Output of catalogue function is expected to be at least 1539x20 ── `x` not equal to `expected`. 2 element mismatches Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:6:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:12:3'): Check output of catalogue for Plynlimon area ── `x` not equal to `expected`. 1/1 mismatches [1] 0 - 9 == -9 Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:12:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:22:3'): Check output of catalogue for minimum records of 100 years ── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:22:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:41:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 11 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:44:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 114 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:47:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 110 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:6:3'): Output of cmr function for single station ─────── length(x) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:9:3'): Output of cmr function for single station ─────── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x) == 2, equals(TRUE)) at test-cmr.R:9:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:10:3'): Output of cmr function for single station ────── `x` not equal to `expected`. Lengths (0, 1) differ (comparison on first 0 components) Backtrace: ▆ 1. └─testthat::expect_that(...) at test-cmr.R:10:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:25:3'): Output of cmr function for multiple stations ─── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x[[1]]) == 2, equals(TRUE)) at test-cmr.R:25:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-gdf.R:7:3'): Output of gdf function for id 18019 ───────────── "zoo" %in% class(x1) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:11:3'): Output of gdf function for id 18019 ──────────── "list" %in% class(x2) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:12:3'): Output of gdf function for id 18019 ──────────── length(x2) not equal to 2. 1/1 mismatches [1] 0 - 2 == -2 ── Failure ('test-get_ts.R:19:3'): get_ts cmr single works ───────────────────── class(rain) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:20:3'): get_ts cmr single works ───────────────────── length(rain) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:28:3'): get_ts cmr multi works ────────────────────── class(rain[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:29:3'): get_ts cmr multi works ────────────────────── length(rain[[1]]) >= 756 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:30:3'): get_ts cmr multi works ────────────────────── length(rain[[2]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:31:3'): get_ts cmr multi works ────────────────────── length(rain[[3]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:38:3'): get_ts gdf single works ───────────────────── class(flow) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:39:3'): get_ts gdf single works ───────────────────── as.numeric(flow[1]) not equal to 0.056. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:40:3'): get_ts gdf single works ───────────────────── length(flow) >= 731 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:48:3'): get_ts gdf multi works ────────────────────── class(flow[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:49:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[1]][1]) not equal to 0.637. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:50:3'): get_ts gdf multi works ────────────────────── length(flow[[1]]) >= 16855 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:51:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[2]][1]) not equal to 0.031. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:52:3'): get_ts gdf multi works ────────────────────── length(flow[[2]]) >= 13159 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:53:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[3]][1]) not equal to 1.262. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:54:3'): get_ts gdf multi works ────────────────────── length(flow[[3]]) >= 12416 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:61:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:63:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:65:3'): Check get_ts works with other types ───────── table(x1$rejected[1:37]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:71:3'): Check get_ts works with other types ───────── class(x2) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:72:3'): Check get_ts works with other types ───────── table(x2$rejected[1:11]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:77:3'): Check get_ts works with other types ───────── table(x3$rejected[1:176]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 1 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 1) differ ── Error ('test-seasonal_averages.R:5:3'): seasonal_averages works ───────────── Error in `seasonal_averages(timeseries = cmr(18019), season = "Spring")`: object 'tslist' not found Backtrace: ▆ 1. └─rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") at test-seasonal_averages.R:5:3 ── Failure ('test-station_ids.R:5:3'): station_ids works ─────────────────────── length(x) >= 1580 not equal to TRUE. 1 element mismatch [ FAIL 37 | WARN 0 | SKIP 1 | PASS 23 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 2.1.0.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'rnrfa-vignette.Rmd' using rmarkdown trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.5/devtools_2.4.5.zip' Content type 'application/zip' length 441501 bytes (431 KB) ================================================== downloaded 431 KB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.5/DT_0.33.zip' Content type 'application/zip' length 2027216 bytes (1.9 MB) ================================================== downloaded 1.9 MB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.5/leaflet_2.2.2.zip' Content type 'application/zip' length 2310444 bytes (2.2 MB) ================================================== downloaded 2.2 MB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.5/dygraphs_1.1.1.6.zip' Content type 'application/zip' length 445167 bytes (434 KB) ================================================== downloaded 434 KB Quitting from lines 201-202 [unnamed-chunk-13] (rnrfa-vignette.Rmd) Error: processing vignette 'rnrfa-vignette.Rmd' failed with diagnostics: arguments imply differing number of rows: 0, 1 --- failed re-building 'rnrfa-vignette.Rmd' SUMMARY: processing the following file failed: 'rnrfa-vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 2.1.0.5
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("rnrfa") > library("lintr") > > if (!curl::has_internet()) { + message("No internet, cannot run tests") + }else { + test_check("rnrfa") + } [ FAIL 37 | WARN 0 | SKIP 1 | PASS 23 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On Windows (1): 'test-gdf.R:18:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-catalogue.R:6:3'): Output of catalogue function is expected to be at least 1539x20 ── `x` not equal to `expected`. 2 element mismatches Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:6:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:12:3'): Check output of catalogue for Plynlimon area ── `x` not equal to `expected`. 1/1 mismatches [1] 0 - 9 == -9 Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:12:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:22:3'): Check output of catalogue for minimum records of 100 years ── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(...) at test-catalogue.R:22:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-catalogue.R:41:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 11 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:44:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 114 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-catalogue.R:47:3'): Check the catalogue function filters based on column values ── dim(x)[1] >= 110 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:6:3'): Output of cmr function for single station ─────── length(x) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-cmr.R:9:3'): Output of cmr function for single station ─────── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x) == 2, equals(TRUE)) at test-cmr.R:9:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:10:3'): Output of cmr function for single station ────── `x` not equal to `expected`. Lengths (0, 1) differ (comparison on first 0 components) Backtrace: ▆ 1. └─testthat::expect_that(...) at test-cmr.R:10:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-cmr.R:25:3'): Output of cmr function for multiple stations ─── `x` not equal to `expected`. 1 element mismatch Backtrace: ▆ 1. └─testthat::expect_that(length(x[[1]]) == 2, equals(TRUE)) at test-cmr.R:25:3 2. └─testthat (local) condition(object) 3. └─testthat::expect_equal(x, expected, ..., expected.label = label) ── Failure ('test-gdf.R:7:3'): Output of gdf function for id 18019 ───────────── "zoo" %in% class(x1) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:11:3'): Output of gdf function for id 18019 ──────────── "list" %in% class(x2) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-gdf.R:12:3'): Output of gdf function for id 18019 ──────────── length(x2) not equal to 2. 1/1 mismatches [1] 0 - 2 == -2 ── Failure ('test-get_ts.R:19:3'): get_ts cmr single works ───────────────────── class(rain) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:20:3'): get_ts cmr single works ───────────────────── length(rain) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:28:3'): get_ts cmr multi works ────────────────────── class(rain[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:29:3'): get_ts cmr multi works ────────────────────── length(rain[[1]]) >= 756 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:30:3'): get_ts cmr multi works ────────────────────── length(rain[[2]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:31:3'): get_ts cmr multi works ────────────────────── length(rain[[3]]) >= 660 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:38:3'): get_ts gdf single works ───────────────────── class(flow) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:39:3'): get_ts gdf single works ───────────────────── as.numeric(flow[1]) not equal to 0.056. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:40:3'): get_ts gdf single works ───────────────────── length(flow) >= 731 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:48:3'): get_ts gdf multi works ────────────────────── class(flow[[1]]) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:49:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[1]][1]) not equal to 0.637. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:50:3'): get_ts gdf multi works ────────────────────── length(flow[[1]]) >= 16855 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:51:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[2]][1]) not equal to 0.031. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:52:3'): get_ts gdf multi works ────────────────────── length(flow[[2]]) >= 13159 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:53:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[3]][1]) not equal to 1.262. Lengths differ: 0 is not 1 ── Failure ('test-get_ts.R:54:3'): get_ts gdf multi works ────────────────────── length(flow[[3]]) >= 12416 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:61:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:63:3'): Check get_ts works with other types ───────── class(x1) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:65:3'): Check get_ts works with other types ───────── table(x1$rejected[1:37]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:71:3'): Check get_ts works with other types ───────── class(x2) == "zoo" is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get_ts.R:72:3'): Check get_ts works with other types ───────── table(x2$rejected[1:11]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 2 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 2) differ ── Failure ('test-get_ts.R:77:3'): Check get_ts works with other types ───────── table(x3$rejected[1:176]) not equal to structure(...). names for current but not for target Attributes: < Component "dim": Mean absolute difference: 1 > Attributes: < Component "dimnames": Component "": target is NULL, current is character > Numeric: lengths (0, 1) differ ── Error ('test-seasonal_averages.R:5:3'): seasonal_averages works ───────────── Error in `seasonal_averages(timeseries = cmr(18019), season = "Spring")`: object 'tslist' not found Backtrace: ▆ 1. └─rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") at test-seasonal_averages.R:5:3 ── Failure ('test-station_ids.R:5:3'): station_ids works ─────────────────────── length(x) >= 1580 not equal to TRUE. 1 element mismatch [ FAIL 37 | WARN 0 | SKIP 1 | PASS 23 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Version: 2.1.0.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'rnrfa-vignette.Rmd' using rmarkdown trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.3/devtools_2.4.5.zip' Content type 'application/zip' length 436653 bytes (426 KB) ================================================== downloaded 426 KB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.3/DT_0.33.zip' Content type 'application/zip' length 2025364 bytes (1.9 MB) ================================================== downloaded 1.9 MB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.3/leaflet_2.2.2.zip' Content type 'application/zip' length 2327220 bytes (2.2 MB) ================================================== downloaded 2.2 MB trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.3/dygraphs_1.1.1.6.zip' Content type 'application/zip' length 443363 bytes (432 KB) ================================================== downloaded 432 KB Quitting from lines 201-202 [unnamed-chunk-13] (rnrfa-vignette.Rmd) Error: processing vignette 'rnrfa-vignette.Rmd' failed with diagnostics: arguments imply differing number of rows: 0, 1 --- failed re-building 'rnrfa-vignette.Rmd' SUMMARY: processing the following file failed: 'rnrfa-vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

Package winfapReader

Current CRAN status: ERROR: 4, OK: 9

Version: 0.1-5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘winfapReader.Rmd’ using rmarkdown Quitting from lines 163-176 [unnamed-chunk-4] (winfapReader.Rmd) Error: processing vignette 'winfapReader.Rmd' failed with diagnostics: Can't subset columns that don't exist. ✖ Column `feh-pooling` doesn't exist. --- failed re-building ‘winfapReader.Rmd’ SUMMARY: processing the following file failed: ‘winfapReader.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1-5
Check: package dependencies
Result: ERROR Package required but not available: ‘lubridate’ Packages suggested but not available for checking: 'testthat', 'rnrfa' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1-5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'winfapReader.Rmd' using rmarkdown Quitting from lines 163-176 [unnamed-chunk-4] (winfapReader.Rmd) Error: processing vignette 'winfapReader.Rmd' failed with diagnostics: Can't subset columns that don't exist. ✖ Column `feh-pooling` doesn't exist. --- failed re-building 'winfapReader.Rmd' SUMMARY: processing the following file failed: 'winfapReader.Rmd' Error: Vignette re-building failed. Execution halted Flavors: r-devel-windows-x86_64, r-oldrel-windows-x86_64