Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [22s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mark, warn.conflicts = FALSE)
  > 
  > test_check("mark")
  Starting 2 test processes.
  > test-clipboard.R: <simpleWarning in system2(util_test[1], util_test[-1], stdout = TRUE, stderr = TRUE): running command ''xclip' -o -selection clipboard 2>&1' had status 1>
  > test-clipboard.R: <simpleWarning in system2(util_test[1], util_test[-1], stdout = TRUE, stderr = TRUE): running command ''xclip' -o -selection clipboard 2>&1' had status 1>
  > test-clipboard.R: <simpleWarning in system2(util_test[1], util_test[-1], stdout = TRUE, stderr = TRUE): running command ''xclip' -o -selection clipboard 2>&1' had status 1>
  > test-clipboard.R: <simpleWarning in system2(util_test[1], util_test[-1], stdout = TRUE, stderr = TRUE): running command ''xclip' -o -selection clipboard 2>&1' had status 1>
  > test-environments.R: <environment: package:stats> 
  > test-environments.R: <environment: package:graphics> 
  > test-environments.R: <environment: package:grDevices> 
  > test-environments.R: <environment: package:utils> 
  > test-environments.R: <environment: package:datasets> 
  > test-environments.R: <environment: package:testthat> 
  > test-environments.R: <environment: package:mark> 
  > test-environments.R: <environment: package:methods> 
  > test-environments.R: <environment: 0x564e3166f7d0> 
  > test-environments.R: <environment: 0x564e32a02e68> 
  > test-environments.R: <environment: base> 
  > test-environments.R: <environment: R_EmptyEnv> 
  > test-time-report.R: title goes here
  > test-time-report.R: --------------------------------------------------------------------------------
  > test-time-report.R: 1 + 2                                                
  > test-time-report.R: foo_warn <- function() warning("this is a warning")  
  > test-time-report.R: foo_msg <- function() message("this is a message")   
  > test-time-report.R: foo_warn()                                           
  > test-time-report.R: foo_msg()                                            
  > test-time-report.R: cat("this is a cat\n")                               
  > test-time-report.R: quick_dfl(a = 1, b = 2)           
  > test-time-report.R:                    
  > test-time-report.R: --------------------------------------------------------------------------------
  > test-time-report.R: Finished 
  > test-time-report.R: 
  > test-time-report.R: Warnings
  > test-time-report.R: --------------------------------------------------------------------------------
  > test-time-report.R: 4 : foo_warn()
  > test-time-report.R: 
  > test-time-report.R: Messages
  > test-time-report.R: --------------------------------------------------------------------------------
  > test-time-report.R: 5 : foo_msg()
  > test-time-report.R: foo_msg()
  > test-time-report.R: 
  > test-time-report.R: Outputs
  > test-time-report.R: Message in : this is a message
  > test-time-report.R: 
  > test-time-report.R: foo_msg()
  > test-time-report.R: ----
  > test-time-report.R: ----------------------------------------------------------------------------
  > test-time-report.R: 6 : cat("this is a cat\n")
  > test-time-report.R: this is a cat
  Saving _problems/test-write-10.R
  Saving _problems/test-write-26.R
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 828 ]
  
  ══ Skipped tests (14) ══════════════════════════════════════════════════════════
  • On CRAN (10): 'test-bib.R:33:1', 'test-diff-time.R:247:1',
    'test-fact.R:385:1', 'test-handlers.R:80:1', 'test-md5.R:21:1',
    'test-note.R:52:3', 'test-note.R:87:1', 'test-pseudo_id.R:61:1',
    'test-todos.R:61:1', 'test-write.R:110:1'
  • clipr::clipr_available() is not TRUE (2): 'test-clipboard.R:13:3',
    'test-clipboard.R:50:3'
  • getRversion() >= "4.3" is TRUE (1): 'test-diff-time.R:203:3'
  • not static (1): 'test-environments.R:29:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-write.R:10:3'): write_file_md5() works ─────────────────────────
  <fujCondition/fuj:namespaceError/namespaceError/error/condition>
  Error: <namespaceError> No package found called 'yaml'
  package:fuj
  Backtrace:
       ▆
    1. ├─testthat::expect_output(write_file_md5(list(a = 1))) at test-write.R:10:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─mark::write_file_md5(list(a = 1))
   11.   ├─base::do.call(write_function, params)
   12.   └─mark (local) `<fn>`(x = `<named list>`, con = `<file>`)
   13.     └─fuj::require_namespace("yaml")
   14.       └─fuj:::do_require_namespace(...)
   15.         └─base::tryCatch(...)
   16.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   17.             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18.               └─value[[3L]](cond)
  ── Error ('test-write.R:23:7'): write_file_md5() types ─────────────────────────
  <fujCondition/fuj:namespaceError/namespaceError/error/condition>
  Error: <namespaceError> No package found called 'yaml'
  package:fuj
  Backtrace:
       ▆
    1. └─mark (local) foo(method) at test-write.R:30:5
    2.   ├─testthat::expect_message(...) at test-write.R:23:7
    3.   │ └─testthat:::expect_condition_matching_(...)
    4.   │   └─testthat:::quasi_capture(...)
    5.   │     ├─testthat (local) .capture(...)
    6.   │     │ └─base::withCallingHandlers(...)
    7.   │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8.   └─mark::write_file_md5(x, temp, method = "json")
    9.     ├─base::do.call(write_function, params)
   10.     └─mark (local) `<fn>`(x = `<df[,3]>`, con = `<file>`)
   11.       └─fuj::require_namespace("yaml")
   12.         └─fuj:::do_require_namespace(...)
   13.           └─base::tryCatch(...)
   14.             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   15.               └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16.                 └─value[[3L]](cond)
  
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 828 ]
  Error:
  ! Test failures.
  Execution halted