Running ‘testthat.R’ [30s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(logrx)
  > 
  > test_check("logrx")
  [1] "hello logrx"
  hello logrx
  this is outputhello logrx
  this is outputhello logrx
  this is outputhello logrx
  this is outputWarning in for (lib in lib.loc %||% .libPaths()) if (file.access(file.path(lib,  :
    closing unused connection 4 (/tmp/RtmpnsoxRH/log_out_nested.Rds)
  hello logrx
  this is outputSaving _problems/test-axecute-188.R
  Error: there is no package called 'rmarkdown'
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Rows: 3
  Columns: 2
  $ cyl  <dbl> 4, 6, 8
  $ mean <dbl> 26.66364, 19.74286, 15.10000
  [1] "hello logrx"
  Error: ref/ex4.R:5:0: unexpected end of input
  3: 
  4: print("hello logrx"
    ^
  [1] 1
  [1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  [1] "hello logrx"
  hello logrx
  this is outputhello again logrx
  this is outputhello logrx
  this is output[1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  [1] "log print"
  [1] "log print 2"
  log catlog cat 2log inform
  log inform 2
  log message
  log message 2
  Error: log error
  [ FAIL 1 | WARN 9 | SKIP 8 | PASS 104 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • {knitr} is not installed. (2): 'test-axecute.R:248:3', 'test-get.R:240:3'
  • {lintr} is not installed (5): 'test-get.R:170:3', 'test-get.R:188:3',
    'test-get.R:201:3', 'test-writer.R:224:3', 'test-writer.R:256:3'
  • {yaml} is not installed (1): 'test-writer.R:294:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-axecute.R:184:3'): extra_info works to output extra info list ──
  Error: Package "yaml" must be installed to use this function.
  Backtrace:
      ▆
   1. └─logrx::axecute(...) at test-axecute.R:184:3
   2.   └─logrx::log_write(...)
   3.     └─logrx:::write_extra_info()
  
  [ FAIL 1 | WARN 9 | SKIP 8 | PASS 104 ]
  Error:
  ! Test failures.
  Execution halted