diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 5322d988..00000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# All available hooks: https://pre-commit.com/hooks.html -# R specific hooks: https://github.com/lorenzwalthert/precommit -repos: -- repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9001 - hooks: - - id: style-files - args: [--style_pkg=styler, --style_fun=tidyverse_style, --cache-root=styler-perm] - require_serial: true - - id: lintr - exclude: > - (?x)^( - tests/testthat/test-fetchers\.R| - vignettes/.* - )$ - - id: parsable-R - exclude: > - (?x)^( - tests/testthat/in/.*| - )$ - - id: no-browser-statement - -default_stages: ["commit"] - -ci: - # skip: [consistent-release-tag, spell-check-ordered-exclude, pkgdown] - autoupdate_schedule: monthly diff --git a/create_dev_env.R b/create_dev_env.R index 5ab7075e..07bae46c 100644 --- a/create_dev_env.R +++ b/create_dev_env.R @@ -5,7 +5,7 @@ rix( r_pkgs = c( "devtools", "diffviewer", "fledge", "lintr", "styler", "codetools", "jsonlite", "httr", "sys", "testthat", "knitr", - "rmarkdown", "rhub", "docopt", "precommit" + "rmarkdown", "rhub" ), system_pkgs = c("R", "glibcLocalesUtf8", "pandoc", "nix"), tex_pkgs = "scheme-small", diff --git a/default.nix b/default.nix index 852b2ae0..832c48b5 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -# This file was generated by the {rix} R package v0.11.0 on 2024-09-16 +# This file was generated by the {rix} R package v0.11.0 on 2024-09-20 # with following call: # >rix(r_ver = "bleeding_edge", # > r_pkgs = c("devtools", @@ -13,9 +13,7 @@ # > "testthat", # > "knitr", # > "rmarkdown", -# > "rhub", -# > "docopt", -# > "precommit"), +# > "rhub"), # > system_pkgs = c("R", # > "glibcLocalesUtf8", # > "pandoc", @@ -39,13 +37,11 @@ let codetools devtools diffviewer - docopt fledge httr jsonlite knitr lintr - precommit rhub rmarkdown styler @@ -70,7 +66,7 @@ let in pkgs.mkShell { - LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else ""; + LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else ""; LANG = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";