spaceout

The goal of spaceout is to make it easier to follow the style guide recommended in pkgcheck CONTRIBUTING guide.

Installation

You can install the released version of spaceout with:

remotes::install_github("ropensci-review-tools/spaceout")

Example

This is a basic example which shows you how to solve a common problem:

code <- "say('hi'); list[[a[2]]]"
styler::style_text (code, style = spaceout::spaceout_style)
#> say ("hi")
#> list [[a [2]]]