Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ncmeta)
  > skip_on_os("solaris")
  > test_check("ncmeta")
  ── 1. Failure: nc_atts works (@test-attributes.R#73)  ──────────────────────────
  nrow(nc_atts(f)) not equal to 87.
  1/1 mismatches
  [1] 65 - 87 == -22
  
  ── 2. Failure: nc_atts works (@test-attributes.R#74)  ──────────────────────────
  nrow(nc_atts(f, "chlor_a")) not equal to 12.
  1/1 mismatches
  [1] 65 - 12 == 53
  
  ── 3. Failure: nc_atts works (@test-attributes.R#75)  ──────────────────────────
  nrow(nc_atts(f, "lon")) not equal to 5.
  1/1 mismatches
  [1] 65 - 5 == 60
  
  ── 4. Error: nc_coord_var brings back expected content for one variable (@test-c
  NetCDF: Filter error: filter not defined for variable
  Backtrace:
    1. testthat::expect_equal(...)
    5. ncmeta:::nc_coord_var.character(f, "chlor_a")
    8. ncmeta:::nc_vars.NetCDF(nc)
    9. ncmeta:::nc_vars_internal(x, nvars)
   16. base::lapply(seq_len(nvars), function(i) nc_var(x, i - 1))
   17. ncmeta:::FUN(X[[i]], ...)
   19. ncmeta:::nc_var.NetCDF(x, i - 1)
   20. RNetCDF::var.inq.nc(x, i)
  
  ── 5. Error: nc_coord_vars brings back expected content for sample (@test-coord.
  NetCDF: Filter error: filter not defined for variable
  Backtrace:
    1. ncmeta::nc_coord_var(f)
    2. ncmeta:::nc_coord_var.character(f)
    5. ncmeta:::nc_vars.NetCDF(nc)
    6. ncmeta:::nc_vars_internal(x, nvars)
   13. base::lapply(seq_len(nvars), function(i) nc_var(x, i - 1))
   14. ncmeta:::FUN(X[[i]], ...)
   16. ncmeta:::nc_var.NetCDF(x, i - 1)
   17. RNetCDF::var.inq.nc(x, i)
  
  ── 6. Error: vars works (@test-vars.R#5)  ──────────────────────────────────────
  NetCDF: Filter error: filter not defined for variable
  Backtrace:
    1. ncmeta::nc_vars(f)
    2. ncmeta:::nc_vars.character(f)
    4. ncmeta:::nc_vars.NetCDF(nc)
    5. ncmeta:::nc_vars_internal(x, nvars)
   12. base::lapply(seq_len(nvars), function(i) nc_var(x, i - 1))
   13. ncmeta:::FUN(X[[i]], ...)
   15. ncmeta:::nc_var.NetCDF(x, i - 1)
   16. RNetCDF::var.inq.nc(x, i)
  
  ── 7. Error: nc4 bug (@test-vars.R#33)  ────────────────────────────────────────
  NetCDF: Filter error: filter not defined for variable
  Backtrace:
    1. ncmeta::nc_vars(f)
    2. ncmeta:::nc_vars.character(f)
    4. ncmeta:::nc_vars.NetCDF(nc)
    5. ncmeta:::nc_vars_internal(x, nvars)
   12. base::lapply(seq_len(nvars), function(i) nc_var(x, i - 1))
   13. ncmeta:::FUN(X[[i]], ...)
   15. ncmeta:::nc_var.NetCDF(x, i - 1)
   16. RNetCDF::var.inq.nc(x, i)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 103 | SKIPPED: 9 | WARNINGS: 4 | FAILED: 7 ]
  1. Failure: nc_atts works (@test-attributes.R#73) 
  2. Failure: nc_atts works (@test-attributes.R#74) 
  3. Failure: nc_atts works (@test-attributes.R#75) 
  4. Error: nc_coord_var brings back expected content for one variable (@test-coord.R#8) 
  5. Error: nc_coord_vars brings back expected content for sample (@test-coord.R#23) 
  6. Error: vars works (@test-vars.R#5) 
  7. Error: nc4 bug (@test-vars.R#33) 
  
  Error: testthat unit tests failed
  Execution halted