CRAN Package Check Results for Package metR

Last updated on 2025-05-03 22:49:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.18.0 15.59 272.03 287.62 OK
r-devel-linux-x86_64-debian-gcc 0.18.0 9.18 151.72 160.90 ERROR
r-devel-linux-x86_64-fedora-clang 0.18.0 402.81 ERROR
r-devel-linux-x86_64-fedora-gcc 0.18.0 381.92 ERROR
r-devel-windows-x86_64 0.18.0 18.00 293.00 311.00 OK
r-patched-linux-x86_64 0.18.0 13.90 256.66 270.56 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 0.18.0 147.00 OK
r-release-macos-x86_64 0.18.0 255.00 OK
r-release-windows-x86_64 0.18.0 20.00 281.00 301.00 OK
r-oldrel-macos-arm64 0.18.0 120.00 OK
r-oldrel-macos-x86_64 0.18.0 244.00 NOTE
r-oldrel-windows-x86_64 0.18.0 23.00 379.00 402.00 OK

Additional issues

noSuggests

Check Details

Version: 0.18.0
Check: examples
Result: ERROR Running examples in ‘metR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ReadNetCDF > ### Title: Read NetCDF files. > ### Aliases: ReadNetCDF GlanceNetCDF > > ### ** Examples > > file <- system.file("extdata", "temperature.nc", package = "metR") > # Get a list of variables. > variables <- GlanceNetCDF(file) Error in check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") : ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Calls: GlanceNetCDF -> ReadNetCDF -> check_packages -> stopf Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.18.0
Check: tests
Result: ERROR Running ‘testthat.R’ [38s/40s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:66:5', 'test-vis-arrow.R:10:5', 'test-vis-arrow.R:36:5', 'test-vis-contour2.R:10:5', 'test-vis-contour2.R:24:5', 'test-vis-contour2.R:35:5', 'test-vis-contour2.R:52:5', 'test-vis-contour2.R:71:5', 'test-vis-contour_fill.R:10:5', 'test-vis-contour_fill.R:24:5', 'test-vis-contour_fill.R:40:5', 'test-vis-discretised-scale.R:13:5', 'test-vis-geom-relief.R:9:5', 'test-vis-guide_colorstrip.R:13:5', 'test-vis-streamline.R:22:5', 'test-vis-streamline.R:28:5', 'test-vis-text-contour.R:11:5', 'test-vis-text-contour.R:67:5', 'test-vis-text-contour.R:78:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ReadNetCDF.R:6:5'): returns a data.table ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:6:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:11:5'): GlanceNetCDF prints nicely ──────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_known_output(print(GlanceNetCDF(file)), "GlanceNetCDF") at test-ReadNetCDF.R:11:5 2. │ ├─base::append(act, eval_with_output(object, print = print, width = width)) 3. │ └─testthat:::eval_with_output(object, print = print, width = width) 4. │ ├─withr::with_output_sink(path, withVisible(code)) 5. │ │ └─base::force(code) 6. │ └─base::withVisible(code) 7. ├─base::print(GlanceNetCDF(file)) 8. └─metR::GlanceNetCDF(file) 9. └─metR::ReadNetCDF(file, out = "vars") 10. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 11. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:16:5'): subsetting works ────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, subset = list(lat = -90:20)) at test-ReadNetCDF.R:16:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:32:9'): naming works ────────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-ReadNetCDF.R:31:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, vars = c(air2 = "air")) at test-ReadNetCDF.R:32:9 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:38:5'): different outs work ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:38:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:47:5'): time dimension without 'since' works ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file) at test-ReadNetCDF.R:47:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:53:5'): can parse calendar correcly ─────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "zg") at test-ReadNetCDF.R:53:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Failure ('test-ReadNetCDF.R:60:5'): can read from nc_open ─────────────────── `ReadNetCDF(nc)` threw an error. Message: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(ReadNetCDF(nc), NA) at test-ReadNetCDF.R:60:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─metR::ReadNetCDF(nc) 7. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 8. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:76:5'): can read variables with no dimension ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_equal(ReadNetCDF(file, "projection"), 1) at test-ReadNetCDF.R:76:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, "projection") 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:82:5'): function in vars works ──────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "o3_conc") at test-ReadNetCDF.R:82:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.18.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Visualization-tools.Rmd’ using knitr --- finished re-building ‘Visualization-tools.Rmd’ --- re-building ‘Working-with-data.Rmd’ using knitr Quitting from Working-with-data.Rmd:33-42 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `check_packages()`: ! ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. --- Backtrace: ▆ 1. └─metR::GlanceNetCDF(file) 2. └─metR::ReadNetCDF(file, out = "vars") 3. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 4. └─metR:::stopf(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. --- failed re-building ‘Working-with-data.Rmd’ SUMMARY: processing the following file failed: ‘Working-with-data.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.18.0
Check: examples
Result: ERROR Running examples in ‘metR-Ex.R’ failed The error most likely occurred in: > ### Name: ReadNetCDF > ### Title: Read NetCDF files. > ### Aliases: ReadNetCDF GlanceNetCDF > > ### ** Examples > > file <- system.file("extdata", "temperature.nc", package = "metR") > # Get a list of variables. > variables <- GlanceNetCDF(file) Error in check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") : ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Calls: GlanceNetCDF -> ReadNetCDF -> check_packages -> stopf Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.18.0
Check: tests
Result: ERROR Running ‘testthat.R’ [85s/97s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:66:5', 'test-vis-arrow.R:10:5', 'test-vis-arrow.R:36:5', 'test-vis-contour2.R:10:5', 'test-vis-contour2.R:24:5', 'test-vis-contour2.R:35:5', 'test-vis-contour2.R:52:5', 'test-vis-contour2.R:71:5', 'test-vis-contour_fill.R:10:5', 'test-vis-contour_fill.R:24:5', 'test-vis-contour_fill.R:40:5', 'test-vis-discretised-scale.R:13:5', 'test-vis-geom-relief.R:9:5', 'test-vis-guide_colorstrip.R:13:5', 'test-vis-streamline.R:22:5', 'test-vis-streamline.R:28:5', 'test-vis-text-contour.R:11:5', 'test-vis-text-contour.R:67:5', 'test-vis-text-contour.R:78:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ReadNetCDF.R:6:5'): returns a data.table ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:6:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:11:5'): GlanceNetCDF prints nicely ──────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_known_output(print(GlanceNetCDF(file)), "GlanceNetCDF") at test-ReadNetCDF.R:11:5 2. │ ├─base::append(act, eval_with_output(object, print = print, width = width)) 3. │ └─testthat:::eval_with_output(object, print = print, width = width) 4. │ ├─withr::with_output_sink(path, withVisible(code)) 5. │ │ └─base::force(code) 6. │ └─base::withVisible(code) 7. ├─base::print(GlanceNetCDF(file)) 8. └─metR::GlanceNetCDF(file) 9. └─metR::ReadNetCDF(file, out = "vars") 10. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 11. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:16:5'): subsetting works ────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, subset = list(lat = -90:20)) at test-ReadNetCDF.R:16:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:32:9'): naming works ────────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-ReadNetCDF.R:31:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, vars = c(air2 = "air")) at test-ReadNetCDF.R:32:9 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:38:5'): different outs work ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:38:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:47:5'): time dimension without 'since' works ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file) at test-ReadNetCDF.R:47:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:53:5'): can parse calendar correcly ─────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "zg") at test-ReadNetCDF.R:53:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Failure ('test-ReadNetCDF.R:60:5'): can read from nc_open ─────────────────── `ReadNetCDF(nc)` threw an error. Message: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(ReadNetCDF(nc), NA) at test-ReadNetCDF.R:60:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─metR::ReadNetCDF(nc) 7. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 8. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:76:5'): can read variables with no dimension ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_equal(ReadNetCDF(file, "projection"), 1) at test-ReadNetCDF.R:76:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, "projection") 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:82:5'): function in vars works ──────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "o3_conc") at test-ReadNetCDF.R:82:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.18.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Visualization-tools.Rmd’ using knitr --- finished re-building ‘Visualization-tools.Rmd’ --- re-building ‘Working-with-data.Rmd’ using knitr Quitting from Working-with-data.Rmd:33-42 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `check_packages()`: ! ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. --- Backtrace: ▆ 1. └─metR::GlanceNetCDF(file) 2. └─metR::ReadNetCDF(file, out = "vars") 3. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 4. └─metR:::stopf(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. --- failed re-building ‘Working-with-data.Rmd’ SUMMARY: processing the following file failed: ‘Working-with-data.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.18.0
Check: tests
Result: ERROR Running ‘testthat.R’ [78s/93s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:66:5', 'test-vis-arrow.R:10:5', 'test-vis-arrow.R:36:5', 'test-vis-contour2.R:10:5', 'test-vis-contour2.R:24:5', 'test-vis-contour2.R:35:5', 'test-vis-contour2.R:52:5', 'test-vis-contour2.R:71:5', 'test-vis-contour_fill.R:10:5', 'test-vis-contour_fill.R:24:5', 'test-vis-contour_fill.R:40:5', 'test-vis-discretised-scale.R:13:5', 'test-vis-geom-relief.R:9:5', 'test-vis-guide_colorstrip.R:13:5', 'test-vis-streamline.R:22:5', 'test-vis-streamline.R:28:5', 'test-vis-text-contour.R:11:5', 'test-vis-text-contour.R:67:5', 'test-vis-text-contour.R:78:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ReadNetCDF.R:6:5'): returns a data.table ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:6:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:11:5'): GlanceNetCDF prints nicely ──────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_known_output(print(GlanceNetCDF(file)), "GlanceNetCDF") at test-ReadNetCDF.R:11:5 2. │ ├─base::append(act, eval_with_output(object, print = print, width = width)) 3. │ └─testthat:::eval_with_output(object, print = print, width = width) 4. │ ├─withr::with_output_sink(path, withVisible(code)) 5. │ │ └─base::force(code) 6. │ └─base::withVisible(code) 7. ├─base::print(GlanceNetCDF(file)) 8. └─metR::GlanceNetCDF(file) 9. └─metR::ReadNetCDF(file, out = "vars") 10. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 11. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:16:5'): subsetting works ────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, subset = list(lat = -90:20)) at test-ReadNetCDF.R:16:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:32:9'): naming works ────────────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-ReadNetCDF.R:31:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, vars = c(air2 = "air")) at test-ReadNetCDF.R:32:9 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:38:5'): different outs work ─────────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_s3_class(ReadNetCDF(file), "data.table") at test-ReadNetCDF.R:38:5 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file) 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:47:5'): time dimension without 'since' works ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file) at test-ReadNetCDF.R:47:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:53:5'): can parse calendar correcly ─────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "zg") at test-ReadNetCDF.R:53:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) ── Failure ('test-ReadNetCDF.R:60:5'): can read from nc_open ─────────────────── `ReadNetCDF(nc)` threw an error. Message: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(ReadNetCDF(nc), NA) at test-ReadNetCDF.R:60:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─metR::ReadNetCDF(nc) 7. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 8. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:76:5'): can read variables with no dimension ────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. ├─testthat::expect_equal(ReadNetCDF(file, "projection"), 1) at test-ReadNetCDF.R:76:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─metR::ReadNetCDF(file, "projection") 5. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 6. └─metR:::stopf(...) ── Error ('test-ReadNetCDF.R:82:5'): function in vars works ──────────────────── Error in `check_packages(c("ncdf4", "PCICt"), "ReadNetCDF")`: ReadNetCDF needs packages PCICt. Install them with: 'install.packages(c("PCICt"))'. Backtrace: ▆ 1. └─metR::ReadNetCDF(file, vars = "o3_conc") at test-ReadNetCDF.R:82:5 2. └─metR:::check_packages(c("ncdf4", "PCICt"), "ReadNetCDF") 3. └─metR:::stopf(...) [ FAIL 10 | WARN 1 | SKIP 20 | PASS 166 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.18.0
Check: installed package size
Result: NOTE installed size is 5.7Mb sub-directories of 1Mb or more: data 2.1Mb doc 1.8Mb Flavor: r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.