The goal of {styler.unify} is providing code cleaning but keep <-
as
=
. It is a third-party style guide for
{styler}.
You can install the released version of {styler.unify} from GitHub with:
remotes::install_github("BioSisyphus/styler.unify")
This is a basic example of how to style code with it.
library(styler.unify)
cache_deactivate()
text <- "x <- 4
y = 3
a;
"
style_text(text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.