From 9e3b06b86f968c8720030fb594ba96f0188ee170 Mon Sep 17 00:00:00 2001 From: luciorq Date: Mon, 9 Dec 2024 13:28:47 -0500 Subject: [PATCH] chore: new test-all-examples recipe --- justfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index cb82cf6..cd30e3f 100644 --- a/justfile +++ b/justfile @@ -14,10 +14,15 @@ github_org := 'luciorq' R -q -e 'devtools::load_all();styler::style_pkg();'; R -q -e 'devtools::load_all();usethis::use_tidy_description();'; R -q -e 'devtools::load_all();devtools::document();'; - R -q -e 'devtools::load_all();devtools::run_examples(run_dontrun = TRUE, run_donttest = TRUE);'; + R -q -e 'devtools::load_all();devtools::run_examples();'; R -q -e 'devtools::load_all();devtools::test();'; R -q -e 'devtools::load_all();rmarkdown::render("README.Rmd", encoding = "UTF-8")'; +@test-all-examples: + #!/usr/bin/env -vS bash -i + \builtin set -euxo pipefail; + R -q -e 'devtools::load_all();devtools::run_examples(run_dontrun = TRUE, run_donttest = TRUE);'; + @check: #!/usr/bin/env -vS bash -i \builtin set -euxo pipefail;