Skip to content

Commit

Permalink
chore: new test-all-examples recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
luciorq committed Dec 9, 2024
1 parent 97e1fdc commit 9e3b06b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9e3b06b

Please sign in to comment.