check_split: Check that code split matches original code

Description Usage Arguments Value

View source: R/code_analysis_helper.R

Description

Check that code split matches original code

Usage

1
check_split(code, rec)

Arguments

code

full code

rec

split code, as a named list with names before, middle, and after

Value

returns code invisibly, or throws an error if paste0(rec$before, rec$middle, rec$after) doesn't match the original code


jtimonen/stanbreaker documentation built on Jan. 20, 2021, 12:34 a.m.