Running ‘testthat.R’ [61s/118s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(mudata2)
  
  Attaching package: 'mudata2'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("mudata2")
  Guessing x columns: depth
  Replacing types ecclimate/data/dataset/character with ecclimate/data/dataset/a_new_type
  Replacing types ecclimate/data/dataset/character with ecclimate/data/dataset/a_new_type
  Replacing types ecclimate/data/date/datetime with ecclimate/data/date/date
  Converting POSIXt column to UTC
  Converting POSIXt column to UTC
  Converting POSIXt column to UTC
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: 
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: xcol
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: depth
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: date
  Guessing x columns: depth
  Guessing x columns: depth
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  OGR: Unsupported geometry type
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 891 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-mudata_helpers.R:63:3'): update_datasets() function works as expected ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% tbl_datasets() at test-mudata_helpers.R:63:2
    2. ├─mudata2::tbl_datasets(.)
    3. ├─mudata2::update_datasets(., url = "new_url")
    4. └─mudata2:::update_datasets.default(., url = "new_url")
    5.   └─mudata2:::.update_rows(x, "datasets", rows, ...)
    6.     ├─base::`[<-`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    7.     └─tibble:::`[<-.tbl_df`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    8.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    9.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   10.           ├─base::withCallingHandlers(...)
   11.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-mudata_helpers.R:99:3'): update_locations() function works as expected ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% tbl_locations() at test-mudata_helpers.R:99:2
    2. ├─mudata2::tbl_locations(.)
    3. ├─mudata2::update_locations(., "GREENWOOD A", province = "Nova Scotia")
    4. └─mudata2:::update_locations.default(., "GREENWOOD A", province = "Nova Scotia")
    5.   └─mudata2:::.update_rows(x, "locations", rows, ...)
    6.     ├─base::`[<-`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    7.     └─tibble:::`[<-.tbl_df`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    8.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    9.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   10.           ├─base::withCallingHandlers(...)
   11.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-mudata_helpers.R:141:3'): update_params() function works as expected ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% tbl_params() at test-mudata_helpers.R:141:2
    2. ├─mudata2::tbl_params(.)
    3. ├─mudata2::update_params(., "maxtemp", label = "newlabel")
    4. └─mudata2:::update_params.default(., "maxtemp", label = "newlabel")
    5.   └─mudata2:::.update_rows(x, "params", rows, ...)
    6.     ├─base::`[<-`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    7.     └─tibble:::`[<-.tbl_df`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    8.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    9.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   10.           ├─base::withCallingHandlers(...)
   11.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-mudata_helpers.R:182:3'): update_columns() works as expected ───
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% tbl_columns() at test-mudata_helpers.R:182:2
    2. ├─mudata2::tbl_columns(.)
    3. ├─mudata2::update_columns(., "flags", tables = "data", type = "newtype")
    4. └─mudata2:::update_columns.default(...)
    5.   └─mudata2:::.update_rows(x, "columns", rows, ...)
    6.     ├─base::`[<-`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    7.     └─tibble:::`[<-.tbl_df`(`*tmp*`, c(rows, FALSE), names(vals), value = `<tibble[,1]>`)
    8.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    9.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   10.           ├─base::withCallingHandlers(...)
   11.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 891 ]
  Error: Test failures
  Execution halted