From 66185414f9c4a6acd043e9e744240f562a8aab65 Mon Sep 17 00:00:00 2001 From: Adam Forys Date: Tue, 3 Oct 2023 04:41:04 +0200 Subject: [PATCH] Clean lintr config --- .github/workflows/r-renv-lock.yml | 2 +- .lintr | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/r-renv-lock.yml b/.github/workflows/r-renv-lock.yml index 9ce08bdf..67e8c29c 100644 --- a/.github/workflows/r-renv-lock.yml +++ b/.github/workflows/r-renv-lock.yml @@ -98,7 +98,7 @@ jobs: options("repos" = c("RSPM" = cran_r_release)) renv::install("openpharma/staged.dependencies", repos = options("repos")) - renv::install("devtools") + renv::install("devtools", repos = options("repos")) # Packages from stage dependencies to ignore renv::settings$ignored.packages(c("admiraldev")) diff --git a/.lintr b/.lintr index 7b15df47..e154edce 100644 --- a/.lintr +++ b/.lintr @@ -24,7 +24,6 @@ linters: linters_with_defaults( sprintf_linter(), strings_as_factors_linter(), undesirable_function_linter(c(Sys.setenv = NA_character_, mapply = NA_character_)), - unnecessary_nested_if_linter(), unnecessary_concatenation_linter(allow_single_expression = FALSE), yoda_test_linter() )