parse_source_statements: recursively inline replace shiny source statements

Description Usage Arguments

View source: R/parse.R

Description

detect all source statements used to split shiy server into separate files and replace them inline with the actual sourced code. Do this recursively for sourced files so we make sure there are no source statements left in the returned code

Usage

1
2
parse_source_statements(code, dir,
  regex = regex_pattern()$source_pattern)

Arguments

code

string server.R code

dir

string path of server.R file

regex

string regex pattern to detect source statements


basf/reactflush documentation built on Feb. 15, 2021, 12:12 a.m.