Skip to content

Commit

Permalink
fix #80
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Sep 6, 2022
1 parent fc7b8cf commit 37b588b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: autotest
Title: Automatic Package Testing
Version: 0.0.2.197
Version: 0.0.2.198
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265")),
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/autotest",
"issueTracker": "https://github.com/ropensci-review-tools/autotest/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.0.2.197",
"version": "0.0.2.198",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
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 37b588b

Please sign in to comment.