Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(hutils)
  > 
  > test_check("hutils")
  ── 1. Error: Matches dplyr::if_else for multi-length missing (@test_1-0-0_if_els
  there is no package called 'dplyr'
  1: expect_identical(dplyr::if_else(c(TRUE, FALSE, NA), 1, 2, missing = c(1, 2, 3)), 
         hutils::if_else(c(TRUE, FALSE, NA), 1, 2, missing = c(1, 2, 3))) at testthat/test_1-0-0_if_else.R:124
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: dplyr::if_else
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  ── 2. Error: var.weight works as expected (@test_1-0-0_mutate_other.R#106)  ────
  there is no package called 'nycflights13'
  1: library(nycflights13) at testthat/test_1-0-0_mutate_other.R:106
  2: stop(txt, domain = NA)
  
  ── 3. Error: Mutate other weighted (@test_1-0-0_mutate_other.R#136)  ───────────
  there is no package called 'nycflights13'
  1: library(nycflights13) at testthat/test_1-0-0_mutate_other.R:136
  2: stop(txt, domain = NA)
  
  ── 4. Error: Mutate other weighted with mass (@test_1-0-0_mutate_other.R#185)  ─
  there is no package called 'nycflights13'
  1: library(nycflights13) at testthat/test_1-0-0_mutate_other.R:185
  2: stop(txt, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 321 SKIPPED: 12 FAILED: 4
  1. Error: Matches dplyr::if_else for multi-length missing (@test_1-0-0_if_else.R#124) 
  2. Error: var.weight works as expected (@test_1-0-0_mutate_other.R#106) 
  3. Error: Mutate other weighted (@test_1-0-0_mutate_other.R#136) 
  4. Error: Mutate other weighted with mass (@test_1-0-0_mutate_other.R#185) 
  
  Error: testthat unit tests failed
  Execution halted