r_code_extract_ggplots_code_list: Save a history and fix indentation (reformat code in...

Description Usage Arguments Value Examples

View source: R/ggmemory.R

Description

Save a history and fix indentation (reformat code in RStudio), then extract ggplots

Usage

1
2
3
4
r_code_extract_ggplots_code_list(
  script_path = NULL,
  code = readLines(script_path)
)

Arguments

script_path

a path to a prepared r code script (prepared history)

code

r code or path to script

Value

a list containing ggplot code lines as vectors.

Examples

1
2

EvaMaeRey/ggmemory documentation built on Dec. 17, 2021, 7:25 p.m.