format_code: format_code

Description Usage Arguments Author(s)

Description

A convenience wrapper to format R code according to CIP standards for R (largely based on H. Wickham/GNU C coding) conventions.

Usage

1
format_code(indent = 2, arrow = TRUE, recursive = TRUE)

Arguments

indent

integer; 2 spaces indentation

arrow

logical; TRUE default means use arrows for assignments

recursive

logical; TRUE default means that anything in R code files will be formatted.

Author(s)

Reinhard Simon


c5sire/ciptools documentation built on May 13, 2019, 10:31 a.m.