Skip to content

Commit

Permalink
avoid random network timeout on winbuilder 🤞
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 12, 2018
1 parent a658d88 commit 062867c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
^docs$
^docs/$
^codemeta\.json$
^inst/notebook/$
^inst/notebook$
inst/notebook/*
^paper\.md$
^paper\.bib$
^data-raw$
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: codemetar
Type: Package
Title: Generate 'CodeMeta' Metadata for R Packages
Version: 0.1.3
Version: 0.1.4
Authors@R: person("Carl", "Boettiger",
role=c("aut", "cre", "cph"),
email="[email protected]",
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# codemetar 0.1.3
# codemetar 0.1.4

* Allow vignettes to gracefully handle network timeout errors that
may occur on CRAN's Windows build server.

# codemetar 0.1.3

* CRAN release
* Switch to <http://purl.org> based URIs for the JSON-LD
Context file instead of a DOI, due to frequent failure
of content negotiation on DataCite servers
Expand Down
13 changes: 5 additions & 8 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Dear CRAN Maintainers,

I am pleased to submit the codemetar package for generating codemeta.json files for R packages. Note that
this package uses the X-schema.org-* pattern as previously discussed and recommended by CRAN maintainers (Kurt Hornik, Aug 27),
please let me know if this needs to be revised in any way. Thanks!

The title now uses single quotes around 'CodeMeta' as requested. (Package description also uses these quotes.)
As requested, this release should address the network timeout issue
in one of the vignettes which appeared during CRAN's attempt to build
the Windows binaries.

Thanks!

Expand All @@ -13,17 +11,16 @@ Carl

## Test environments
* local OS X install, R 3.4.3
* ubuntu 12.04 (on travis-ci), R 3.4.3
* ubuntu 16.04 (on travis-ci), R 3.4.3
* win-builder (devel and release)

## R CMD check results

0 errors | 0 warnings | 0 notes

* This is a new release.

## Reverse dependencies

This is a new release, so there are no reverse dependencies.
There are no reverse dependencies.


2 changes: 2 additions & 0 deletions vignettes/A-codemeta-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ vignette: >

```{r include=FALSE}
knitr::opts_chunk$set(comment="")
if(grepl("windows", tolower(Sys.info()[["sysname"]])))
knitr::opts_chunk$set(comment="", error =TRUE)
```


Expand Down
2 changes: 2 additions & 0 deletions vignettes/B-translating.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ vignette: >

```{r include=FALSE}
knitr::opts_chunk$set(comment="")
if(grepl("windows", tolower(Sys.info()[["sysname"]])))
knitr::opts_chunk$set(comment="", error =TRUE)
```

```{r message=FALSE}
Expand Down
2 changes: 2 additions & 0 deletions vignettes/C-validation-in-json-ld.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ library(codemetar)

```{r include=FALSE}
knitr::opts_chunk$set(comment="")
if(grepl("windows", tolower(Sys.info()[["sysname"]])))
knitr::opts_chunk$set(comment="", error =TRUE)
```


Expand Down
2 changes: 2 additions & 0 deletions vignettes/D-codemeta-parsing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ vignette: >

```{r include=FALSE}
knitr::opts_chunk$set(comment="")
if(grepl("windows", tolower(Sys.info()[["sysname"]])))
knitr::opts_chunk$set(comment="", error =TRUE)
```


Expand Down

0 comments on commit 062867c

Please sign in to comment.