From f2da882ce6d8889842b8b46294b367ff734f6513 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Wed, 24 Jul 2024 11:00:30 +0200 Subject: [PATCH] Fix missing DCF code block on website (#2635) --- DESCRIPTION | 2 +- R/settings.R | 2 +- man/read_settings.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4831fe875..ff326321a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -55,7 +55,7 @@ Config/Needs/development: pkgload, cli, testthat, patrick Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Collate: 'make_linter_from_xpath.R' 'xp_utils.R' diff --git a/R/settings.R b/R/settings.R index 9bd7da159..475467335 100644 --- a/R/settings.R +++ b/R/settings.R @@ -12,7 +12,7 @@ #' This file is a DCF file, see [base::read.dcf()] for details. #' Here is an example of a `.lintr` file: #' -#' ```dcf +#' ``` #' linters: linters_with_defaults( #' any_duplicated_linter(), #' any_is_na_linter(), diff --git a/man/read_settings.Rd b/man/read_settings.Rd index cbb1dc9ec..84e53666e 100644 --- a/man/read_settings.Rd +++ b/man/read_settings.Rd @@ -27,7 +27,7 @@ or the environment variable \code{R_LINTR_LINTER_FILE} This file is a DCF file, see \code{\link[base:dcf]{base::read.dcf()}} for details. Here is an example of a \code{.lintr} file: -\if{html}{\out{
}}\preformatted{linters: linters_with_defaults( +\if{html}{\out{
}}\preformatted{linters: linters_with_defaults( any_duplicated_linter(), any_is_na_linter(), backport_linter("oldrel-4", except = c("R_user_dir", "str2lang")),