Skip to contents

Default knitr opts for chunks.

Usage

kjh_set_knitr_opts(
  warning = FALSE,
  message = FALSE,
  fig.retina = 3,
  fig.align = "center",
  dev = "ragg_png"
)

Arguments

warning

knitr warnings FALSE

message

knitr messages FALSE

fig.retina

Retina 3

fig.align

Alignment center

dev

Default device is ragg_png

Value

Knitr options

Examples

if (FALSE) {
if(interactive()){
 #EXAMPLE1
 }
}