Skip to content

Commit

Permalink
Bump for 4.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Sep 22, 2021
1 parent 388ea31 commit 02d726a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: Testing and documenting code that communicates with remote servers
test fixtures. The ability to save responses and load them offline also
enables one to write vignettes and other dynamic documents that can be
distributed without access to a live server.
Version: 4.0.0.9000
Version: 4.1.0
Authors@R: c(
person("Neal", "Richardson", role=c("aut", "cre"), email="neal.p.richardson@gmail.com"),
person("Jonathan", "Keane", role="ctb", email="jkeane@gmail.com"),
Expand All @@ -40,7 +40,7 @@ Suggests:
spelling,
xml2
Language: en-US
RoxygenNote: 7.1.1
RoxygenNote: 7.1.1.9001
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
VignetteBuilder: knitr
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
VERSION = $(shell grep ^Version DESCRIPTION | sed s/Version:\ //)

doc:
R --slave -e 'library(roxygen2); roxygenise()'
R -s -e 'library(roxygen2); roxygenise()'
-git add --all man/*.Rd

test:
R CMD INSTALL --install-tests --no-test-load --no-docs --no-help --no-byte-compile .
export NOT_CRAN=true && R --slave -e 'library(testthat); setwd(file.path(.libPaths()[1], "httptest", "tests")); system.time(test_check("httptest", filter="${file}", reporter=ifelse(nchar("${r}"), "${r}", "summary")))'
export NOT_CRAN=true && R -s -e 'library(testthat); setwd(file.path(.libPaths()[1], "httptest", "tests")); system.time(test_check("httptest", filter="${file}", reporter=ifelse(nchar("${r}"), "${r}", "summary")))'

deps:
R --slave -e 'install.packages(c("codetools", "testthat", "devtools", "roxygen2", "knitr"), repo="http://cran.at.r-project.org", lib=ifelse(nchar(Sys.getenv("R_LIB")), Sys.getenv("R_LIB"), .libPaths()[1]))'
R -s -e 'install.packages(c("codetools", "testthat", "devtools", "roxygen2", "knitr"), repo="http://cran.at.r-project.org", lib=ifelse(nchar(Sys.getenv("R_LIB")), Sys.getenv("R_LIB"), .libPaths()[1]))'

build: doc
R CMD build .
Expand Down Expand Up @@ -37,7 +37,7 @@ build-vignettes: md
cd inst/doc && ls | grep .html | xargs -n 1 sed -i '' 's/.md)/.html)/g'

covr:
export NOT_CRAN=true && R --slave -e 'library(covr); cv <- package_coverage(); df <- covr:::to_shiny_data(cv)[["file_stats"]]; cat("Line coverage:", round(100*sum(df[["Covered"]])/sum(df[["Relevant"]]), 1), "percent\\n"); report(cv)'
export NOT_CRAN=true && R -s -e 'library(covr); cv <- package_coverage(); df <- covr:::to_shiny_data(cv)[["file_stats"]]; cat("Line coverage:", round(100*sum(df[["Covered"]])/sum(df[["Relevant"]]), 1), "percent\\n"); report(cv)'

build-pkgdown:
R -e 'pkgdown::build_site()'
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# httptest 4.0.0.9000
# httptest 4.1.0

* Function alias `with_mock_API`, deprecated in 3.0.0, has been removed.
* Update some test for an upcoming release of `testthat`.

# httptest 4.0.0

Expand Down

0 comments on commit 02d726a

Please sign in to comment.