-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump version * add check steps and tweak reelase steps * update docker file to pandoc 2.2-1 like travis-ci * add revdep checks * add rhub script * add revdep output * adjust release steps * copy cran comments from another pkg * on windows, files that end with a '/' do not exist (and will have a different error) * update cran comments * rhub note * spelling * add note in cran comments about mac port 8000
- Loading branch information
Showing
16 changed files
with
270 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ inst/analog-keys.R | |
inst/examples/03-github/github-key.txt | ||
.httr-oauth | ||
docs | ||
scripts | ||
^revdep$ | ||
^cran-comments\.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ Encoding: UTF-8 | |
Package: plumber | ||
Type: Package | ||
Title: An API Generator for R | ||
Version: 0.4.5 | ||
Date: 2018-05-09 | ||
Version: 0.4.6 | ||
Roxygen: list(markdown = TRUE) | ||
Authors@R: c( | ||
person(family="Trestle Technology, LLC", role="aut", email="[email protected]"), | ||
|
@@ -37,7 +36,7 @@ Suggests: | |
htmlwidgets, | ||
visNetwork, | ||
analogsea | ||
Collate: | ||
Collate: | ||
'content-types.R' | ||
'cookie-parser.R' | ||
'parse-globals.R' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Comments | ||
|
||
## 2018-6-4 | ||
This submission is done by Barret Schloerke <[email protected]> on behalf of Jeff Allen <[email protected]>. Please submit any changes to be made to <[email protected]>. | ||
|
||
- Barret | ||
|
||
|
||
## Test environments | ||
|
||
All NOTEs related to invalid URLs http:localhost:8000 are **false positives**. The URL makes sense when looking at the example within the README.md file. | ||
|
||
* local OS X install, R 3.5.0, --run-dontcheck | ||
* checking CRAN incoming feasibility ... NOTE | ||
Found the following (possibly) invalid URLs: | ||
URL: http://localhost:8000/echo?msg=hello | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
URL: http://localhost:8000/plot | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
* 0 errors | 0 warnings | 1 notes | ||
|
||
* ubuntu 14.04.5 (on travis-ci), R version 3.5.0 (2017-01-27) | ||
* 0 errors | 0 warnings | 0 notes | ||
|
||
* devtools::build_win() | ||
* x86_64-w64-mingw32, R version 3.5.0 (2018-04-23) | ||
* x86_64-w64-mingw32, R Under development (unstable) (2018-06-03 r74839) | ||
* checking CRAN incoming feasibility ... NOTE | ||
Found the following (possibly) invalid URLs: | ||
URL: http://localhost:8000/echo?msg=hello | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
URL: http://localhost:8000/plot | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
* 0 errors | 0 warnings | 1 note | ||
|
||
|
||
* r-hub | ||
|
||
* Platform: Ubuntu Linux 16.04 LTS, R-release, GCC | ||
* checked with `_R_CHECK_FORCE_SUGGESTS_=0` | ||
http://builder.r-hub.io/status/plumber_0.4.6.tar.gz-7eb7117f2cf74e1b8880c46e7819ab61 | ||
❯ checking CRAN incoming feasibility ... NOTE | ||
Maintainer: ‘Jeff Allen <[email protected]>’ | ||
|
||
Found the following (possibly) invalid URLs: | ||
URL: http://localhost:8000/echo?msg=hello | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
URL: http://localhost:8000/plot | ||
From: README.md | ||
Status: Error | ||
Message: libcurl error code 7: | ||
Failed to connect to localhost port 8000: Connection refused | ||
0 errors ✔ | 0 warnings ✔ | 1 note ✖ | ||
|
||
|
||
* rhub platform issues not related to code. These operating systems failed to complete properly and I do not have the ability to fix the error. | ||
* Windows Server 2008 R2 SP1, R-release, 32/64 bit | ||
* 'stringi' is not available | ||
* Windows Server 2008 R2 SP1, R-devel, 32/64 bit | ||
* 'stringi' is not available | ||
* Fedora Linux, R-devel, clang, gfortran | ||
* Has trouble opening a png device | ||
|
||
|
||
## Reverse dependencies | ||
|
||
* Revdep maintainers were not contacted as this release is for bug fixes and enhancements from particular maintainers. | ||
|
||
* I have run R CMD check on the 3 downstream dependencies. | ||
* https://github.com/trestletech/plumber/blob/master/revdep/problems.md | ||
* No errors, warnings, or notes were introduced due to changes in leaflet | ||
|
||
* All revdeps were able to be tested |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
|
||
## Check Steps | ||
|
||
1. `devtools::document()` | ||
1. `devtools::check()` | ||
1. `devtools::install()` | ||
1. `source("scripts/rhub.R")` | ||
* Copy urls and final outputs into cran comments | ||
1. `source("scripts/revdepcheck.R")` | ||
1. `devtools::release()`, | ||
* (don't actually release in the last step) | ||
* DON'T LIE!! | ||
1. Run the docker image in inst/check on the release candidate. Note that you will need to change the CMD to checkout the release branch so you're testing it, not master. | ||
1. ```{bash} | ||
cd inst/check | ||
docker build -t plumber_docker . | ||
docker run plumber_docker | ||
``` | ||
|
||
|
||
## Release Steps | ||
|
||
1. Create a release branch for the next release. | ||
1. Bump the version # and the date in DESCRIPTION to the next even number for release | ||
1. Bump the version # in DESCRIPTION to the next even number for release | ||
1. Bump the version # in NEWS.md to align with ^ | ||
1. Run the docker image in inst/check on the release candidate. Note that you will need to change the CMD to checkout the release branch so you're testing it, not master. | ||
1. Run check steps above | ||
1. Submit to CRAN. | ||
1. `devtools::release()` (actually release) | ||
1. Do any revisions CRAN requests on the release branch | ||
1. Once accepted to CRAN, merge the release branch to master and tag the release. | ||
1. Bump the version # in DESCRIPTION to the next odd number on master for development of next release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ FROM rocker/drd | |
MAINTAINER Jeff Allen <[email protected]> | ||
|
||
RUN apt-get update -qq && apt-get install -y \ | ||
curl \ | ||
libxml2-dev \ | ||
git-core \ | ||
libssl-dev/unstable \ | ||
|
@@ -13,14 +14,13 @@ RUN apt-get update -qq && apt-get install -y \ | |
RUN R -e 'install.packages(c("XML", "devtools", "testthat", "PKI", "httpuv", "rmarkdown"))' | ||
|
||
# Install pandoc | ||
RUN mkdir /pandoc && \ | ||
cd /pandoc && \ | ||
wget https://s3.amazonaws.com/rstudio-buildtools/pandoc-debian-x86_64-1.15.2.zip && \ | ||
unzip pandoc-debian* && \ | ||
rm pandoc-debian*.zip | ||
RUN curl -fLo /tmp/pandoc-2.2-1-amd64.deb https://github.com/jgm/pandoc/releases/download/2.2/pandoc-2.2-1-amd64.deb && \ | ||
dpkg -i /tmp/pandoc-2.2-1-amd64.deb && \ | ||
apt-get install -f && \ | ||
rm /tmp/pandoc-2.2-1-amd64.deb | ||
|
||
ENV RSTUDIO_PANDOC=/pandoc | ||
ENV PATH=$PATH:/pandoc | ||
# ENV RSTUDIO_PANDOC=/pandoc | ||
# ENV PATH=$PATH:/pandoc | ||
|
||
RUN R -e "install.packages(c('htmlwidgets', 'visNetwork', 'analogsea'))" | ||
|
||
|
@@ -29,6 +29,6 @@ RUN R -e "install.packages(c('htmlwidgets', 'visNetwork', 'analogsea'))" | |
RUN R -e "install.packages('PKI',,'https://www.rforge.net/')" | ||
|
||
|
||
CMD git clone https://github.com/trestletech/plumber.git /plumber && \ | ||
CMD git clone -b "release-v0.4.6" https://github.com/schloerke/plumber.git /plumber && \ | ||
R CMD build /plumber && \ | ||
R CMD check plumber_*.tar.gz --as-cran |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
checks | ||
library | ||
checks.noindex | ||
library.noindex | ||
data.sqlite | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Platform | ||
|
||
|field |value | | ||
|:--------|:----------------------------| | ||
|version |R version 3.5.0 (2018-04-23) | | ||
|os |macOS High Sierra 10.13.4 | | ||
|system |x86_64, darwin15.6.0 | | ||
|ui |X11 | | ||
|language |(EN) | | ||
|collate |en_US.UTF-8 | | ||
|tz |America/New_York | | ||
|date |2018-06-04 | | ||
|
||
# Dependencies | ||
|
||
|package |old |new |Δ | | ||
|:-------|:-----|:-------|:--| | ||
|plumber |0.4.4 |0.4.6 |* | | ||
|Rcpp |NA |0.12.17 |* | | ||
|rlang |NA |0.2.1 |* | | ||
|
||
# Revdeps | ||
|
||
## All (3) | ||
|
||
|package |version |error |warning |note | | ||
|:----------------------------------|:-------|:-----|:-------|:----| | ||
|bayesAB |1.1.0 | | | | | ||
|[rjsonapi](problems.md#rjsonapi) |0.1.0 | | |1 | | ||
|[rsconnect](problems.md#rsconnect) |0.8.8 | | |2 | | ||
|
Oops, something went wrong.