Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Sep 6, 2022
2 parents 563a321 + 37b588b commit 5c4b3e4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
},
"SystemRequirements": null
},
"fileSize": "1989.012KB",
"fileSize": "1989.013KB",
"readme": "https://github.com/ropensci-review-tools/autotest/blob/main/README.md",
"contIntegration": ["https://github.com/ropensci-review-tools/autotest/actions?query=workflow%3AR-CMD-check", "https://codecov.io/gh/ropensci-review-tools/autotest"],
"developmentStatus": "https://www.repostatus.org/#concept"
Expand Down
21 changes: 16 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
LFILE = README
VIGNETTE = autotest-control

all: init vignette

init:
echo "pkgdown::init_site()" | R --no-save -q

vignette:
echo "pkgdown::build_article('$(VIGNETTE)',quiet=FALSE)" | R --no-save -q

all: knith #open

knith: $(LFILE).Rmd
echo "rmarkdown::render('$(LFILE).Rmd',output_file='$(LFILE).html')" | R --no-save -q

knitr: $(LFILE).Rmd
echo "rmarkdown::render('$(LFILE).Rmd', output_format = rmarkdown::md_document (variant = 'gfm'))" | R --no-save -q
echo "rmarkdown::render('$(LFILE).Rmd',output_file='$(LFILE).md')" | R --no-save -q

open:
xdg-open docs/articles/$(VIGNETTE).html &

open: $(LFILE).html
xdg-open $(LFILE).html &
check:
Rscript -e 'library(pkgcheck); checks <- pkgcheck(); print(checks); summary (checks)'

clean:
rm -rf *.html *.png README_cache
rm -rf docs/ *.html *.png README_cache
2 changes: 1 addition & 1 deletion vignettes/autotest-control.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ xt1 <- tibble::tibble (
)
```

And the `r length (which (xf$type == "dummy"))` tests yielded `r nrow (xt)`
And the `r length (which (xf$type == "dummy"))` tests yielded `r nrow (xt1)`
unexpected responses. The best way to understand these results is to examine
the object in detail, typically through `edit(xt)`, or equivalently in RStudio,
clicking on the listed object. The different types of tests which produced
Expand Down

0 comments on commit 5c4b3e4

Please sign in to comment.