Running ‘testthat.R’ [7s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dqshiny)
  
  Attaching package: 'dqshiny'
  
  The following object is masked from 'package:methods':
  
      show
  
  > 
  > test_check('dqshiny')
  ── 1. Failure: add_js works with any input (@test-js.R#12)  ────────────────────
  `add_js(NULL, NULL)` produced unexpected warnings.
  Expected match: V8 package
  Actual values:
  * Package 'V8' not installed, so custom JS code can't be checked!
  
  ── 2. Failure: add_js works with any input (@test-js.R#13)  ────────────────────
  `add_js(NULL, "function_text")` produced unexpected warnings.
  Expected match: V8 package
  Actual values:
  * Package 'V8' not installed, so custom JS code can't be checked!
  
  ── 3. Failure: add_js works with any input (@test-js.R#14)  ────────────────────
  `add_js("type", NULL)` produced unexpected warnings.
  Expected match: V8 package
  Actual values:
  * Package 'V8' not installed, so custom JS code can't be checked!
  
  ── 4. Failure: add_js works with any input (@test-js.R#15)  ────────────────────
  `add_js("type", "function(params) {\n       alert('Result is: ' + (parseInt(params[0]) + parseInt(params[1])));\n     }")` produced unexpected warnings.
  Expected match: V8 package
  Actual values:
  * Package 'V8' not installed, so custom JS code can't be checked!
  
  ── 5. Failure: parse_code works with any input (@test-js.R#43)  ────────────────
  `parse_code(NULL)` produced unexpected warnings.
  Expected match: Nothing to parse
  Actual values:
  * Package 'V8' not installed, so custom JS code can't be checked!
  
  ── 6. Failure: parse_code works with any input (@test-js.R#44)  ────────────────
  `parse_code("code")` did not throw an error.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 815 | SKIPPED: 10 | WARNINGS: 1 | FAILED: 6 ]
  1. Failure: add_js works with any input (@test-js.R#12) 
  2. Failure: add_js works with any input (@test-js.R#13) 
  3. Failure: add_js works with any input (@test-js.R#14) 
  4. Failure: add_js works with any input (@test-js.R#15) 
  5. Failure: parse_code works with any input (@test-js.R#43) 
  6. Failure: parse_code works with any input (@test-js.R#44) 
  
  Error: testthat unit tests failed
  Execution halted