format_r_code: format a string of R code using the formatR and styler...

View source: R/util_generic.R

format_r_codeR Documentation

format a string of R code using the formatR and styler packages

Description

parameter can either be a string or an array of strings (eg; lines from R history)

Usage

format_r_code(rcode_lines)

Arguments

rcode_lines

R code as an array of characters (strings)


ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.