Running ‘testthat.R’ [47s/84s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyhydat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > test_check("tidyhydat")
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 200 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (20)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_hy_stn__.R:24:3'): hy_stn_data_range returns a dataframe ───────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test_hy_stn__.R:24:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tidyhydat::hy_stn_data_range(station_number = "08MF005", hydat_path = hy_test_db())
    5.   ├─base::`[<-`(...)
    6.   └─tibble:::`[<-.tbl_df`(...)
    7.     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    8.       └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
    9.         ├─base::withCallingHandlers(...)
   10.         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_hy_stn__.R:55:3'): hy_stn_data_range contains properly coded NA's ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_true(is.na(hy_stn_data_range(hydat_path = hy_test_db())$SED_DATA_TYPE[1])) at test_hy_stn__.R:55:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tidyhydat::hy_stn_data_range(hydat_path = hy_test_db())
    5.   ├─base::`[<-`(...)
    6.   └─tibble:::`[<-.tbl_df`(...)
    7.     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    8.       └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
    9.         ├─base::withCallingHandlers(...)
   10.         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 200 ]
  Error: Test failures
  Execution halted