View source: R/lintr_wrappers.R
use_lintr_template_on_file | R Documentation |
This opens up an untitled script in RStudio containing calls to lintr::lint()
or lintr::lint_dir()
with various linters, sorted by category and rough
order of importance.
use_lintr_template_on_file(path = NULL)
use_lintr_template_on_dir(path = NULL)
path |
Path to a R script or a directory. By default |
Returns NULL
invisibly. Called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.