decorate_code_alerts_mapped: Make two versions of lines of code look nice, side by side,...

Description Usage Arguments Value

View source: R/functions.R

Description

Make two versions of lines of code look nice, side by side, in markdown, with their alerts

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
decorate_code_alerts_mapped(
  strings_old_param,
  alerts_old_param,
  strings_new_param,
  alerts_new_param,
  map_param,
  region_only = FALSE,
  region_size = 3,
  length_alert_name_side_by_side = 14,
  size_line_of_code_side_by_side = 77,
  use_mnemonic = FALSE
)

Arguments

strings_old_param

source code of the old version

alerts_old_param

alerts of the old version

strings_new_param

source code of the new version

alerts_new_param

alerts of the new version

map_param

line map between new and old versions

region_only

show only region where alerts are ?

region_size

size of the region near alerts to show

length_alert_name_side_by_side

length of the alert name in the markdown output

size_line_of_code_side_by_side

size of each line of code in the markdown output

Value

code that can be put on markdown document


crotman/kludgenudger documentation built on Oct. 19, 2021, 7:30 p.m.