| default_settings | R Documentation |
The default settings consist of
linters: a list of default linters (see default_linters())
encoding: the character encoding assumed for the file
exclude: pattern used to exclude a line of code
exclude_start, exclude_end: patterns used to mark start and end of the code block to exclude
exclude_linter, exclude_linter_sep: patterns used to exclude linters
exclusions: a list of exclusions, see exclude() for a complete description of valid values.
cache_directory: location of cache directory
comment_token: a GitHub token character
error_on_lint: decides if error should be produced when any lints are found
There are no settings without defaults, i.e., this list describes every valid setting.
default_settings
An object of class list of length 12.
read_settings(), default_linters
# available settings
names(default_settings)
# linters included by default
names(default_settings$linters)
# default values for a few of the other settings
default_settings[c(
"encoding",
"exclude",
"exclude_start",
"exclude_end",
"exclude_linter",
"exclude_linter_sep",
"exclusions",
"error_on_lint"
)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.