tests/testthat/_snaps/messages.md

messages work [plain]

Code
  octo_debug("Tracking the error")
Message
  ! This is a debug message
  Tracking the error
Code
  octo_debug("Tracking the error")
Code
  octo_inform("A notice")
Message
  A notice
A warning
An error
Code
  octo_debug("Tracking the error")
Output
  ::debug::Tracking the error
Code
  octo_inform("A notice")
Output
  ::notice file=universe.R,line=23,endLine=42,col=3,endCol=27::A notice
Code
  octo_warn("A warning")
Output
  ::warning file=universe.R,line=23,endLine=42,col=3,endCol=27::A warning
Code
  octo_abort("An error")
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error
Condition
  Error:
  ! An error
Code
  octo_abort("An error", .fail_fast = FALSE)
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error

messages work [ansi]

Code
  octo_debug("Tracking the error")
Message
  [33m![39m This is a debug message
  Tracking the error
Code
  octo_debug("Tracking the error")
Code
  octo_inform("A notice")
Message
  [1m[22mA notice
[1m[22mA warning
[1m[22mAn error
Code
  octo_debug("Tracking the error")
Output
  ::debug::Tracking the error
Code
  octo_inform("A notice")
Output
  ::notice file=universe.R,line=23,endLine=42,col=3,endCol=27::A notice
Code
  octo_warn("A warning")
Output
  ::warning file=universe.R,line=23,endLine=42,col=3,endCol=27::A warning
Code
  octo_abort("An error")
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error
Condition
  [1m[33mError[39m:[22m
  [1m[22m[33m![39m An error
Code
  octo_abort("An error", .fail_fast = FALSE)
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error

messages work [unicode]

Code
  octo_debug("Tracking the error")
Message
  ! This is a debug message
  Tracking the error
Code
  octo_debug("Tracking the error")
Code
  octo_inform("A notice")
Message
  A notice
A warning
An error
Code
  octo_debug("Tracking the error")
Output
  ::debug::Tracking the error
Code
  octo_inform("A notice")
Output
  ::notice file=universe.R,line=23,endLine=42,col=3,endCol=27::A notice
Code
  octo_warn("A warning")
Output
  ::warning file=universe.R,line=23,endLine=42,col=3,endCol=27::A warning
Code
  octo_abort("An error")
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error
Condition
  Error:
  ! An error
Code
  octo_abort("An error", .fail_fast = FALSE)
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error

messages work [fancy]

Code
  octo_debug("Tracking the error")
Message
  [33m![39m This is a debug message
  Tracking the error
Code
  octo_debug("Tracking the error")
Code
  octo_inform("A notice")
Message
  [1m[22mA notice
[1m[22mA warning
[1m[22mAn error
Code
  octo_debug("Tracking the error")
Output
  ::debug::Tracking the error
Code
  octo_inform("A notice")
Output
  ::notice file=universe.R,line=23,endLine=42,col=3,endCol=27::A notice
Code
  octo_warn("A warning")
Output
  ::warning file=universe.R,line=23,endLine=42,col=3,endCol=27::A warning
Code
  octo_abort("An error")
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error
Condition
  [1m[33mError[39m:[22m
  [1m[22m[33m![39m An error
Code
  octo_abort("An error", .fail_fast = FALSE)
Output
  ::error file=universe.R,line=23,endLine=42,col=3,endCol=27::An error


assignUser/octolog documentation built on June 4, 2023, 3:28 p.m.