Running ‘testthat.R’ [7s/8s]
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(flow)
  > 
  > test_check("flow")
  $fun1
  function(y) y
  
  $fun2
  function(z) z
  
  Tracing function "ave" in package "stats"
  Untracing function "ave" in package "stats"
  Saving _problems/test-11_flow_view_shiny-4.R
  [ FAIL 1 | WARN 0 | SKIP 28 | PASS 7 ]
  
  ══ Skipped tests (28) ══════════════════════════════════════════════════════════
  • On CRAN (28): 'test-01_flow_data_input_types.R:16:1',
    'test-01_flow_data_input_types.R:25:1',
    'test-01_flow_data_input_types.R:31:1',
    'test-01_flow_data_input_types.R:37:1',
    'test-01_flow_data_input_types.R:56:1',
    'test-01_flow_data_input_types.R:64:1',
    'test-01_flow_data_input_types.R:71:1', 'test-02_flow_data_if.R:5:1',
    'test-02_flow_data_if.R:15:1', 'test-02_flow_data_if.R:25:1',
    'test-02_flow_data_if.R:35:1', 'test-02_flow_data_if.R:45:1',
    'test-02_flow_data_if.R:54:1', 'test-02_flow_data_if.R:64:1',
    'test-03_flow_data_loops.R:3:1', 'test-03_flow_data_loops.R:13:1',
    'test-03_flow_data_loops.R:24:1', 'test-03_flow_data_loops.R:34:1',
    'test-03_flow_data_loops.R:44:1', 'test-04_0_flow_run.R:1:1',
    'test-04_flow_data_arguments.R:13:1', 'test-04_flow_data_arguments.R:25:1',
    'test-04_flow_data_arguments.R:43:1', 'test-06_flow_view_deps.R:1:1',
    'test-10_flow_view_vars.R:1:1', 'test-12_flow_view_source_calls.R:1:1',
    'test-13_flow_view_uses.R:1:1', 'test-14_flow_compare_runs.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-11_flow_view_shiny.R:2:3'): flow_view_shiny ────────────────────
  Error in `loadNamespace(x)`: there is no package called 'esquisse'
  Backtrace:
      ▆
   1. ├─flow::flow_view_shiny(esquisse::esquisser, out = "data")
   2. │ └─base::environment(fun)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 28 | PASS 7 ]
  Error:
  ! Test failures.
  Execution halted