Skip to content

Commit 691a100

Browse files
committed
version 1.3.4 skip tests on cran
add condition on publish example
1 parent aa41522 commit 691a100

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: rchallenge
22
Title: A Simple Data Science Challenge System
3-
Version: 1.3.3
3+
Version: 1.3.4
44
Authors@R: c(person("Adrien", "Todeschini", email = "adrien.todeschini@gmail.com", role=c("aut", "cre")),
55
person("Robin", "Genuer", email = "robin.genuer@isped.u-bordeaux2.fr", role=c("ctb")))
66
Description: A simple data science challenge system using R Markdown and 'Dropbox' <https://www.dropbox.com/>.

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# rchallenge 1.3.4 (08-03-2021)
2+
- Skip test for pandoc availability on CRAN.
3+
- Added condition on publish() example.
4+
15
# rchallenge 1.3.3 (05-03-2021)
26
- Use South German Credit data from [UCI ML Repository](https://archive.ics.uci.edu/ml/datasets/South+German+Credit)
37

R/new.r

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ new_team <- function(..., path = ".", submissions_dir = "submissions",
232232
#' wd <- setwd(path)
233233
#' new_challenge()
234234
#' outdir = tempdir()
235-
#' publish(output_dir = outdir, output_options = list(self_contained = FALSE))
235+
#' if (rmarkdown::pandoc_available('1.12.3')) {
236+
#' publish(output_dir = outdir, output_options = list(self_contained = FALSE))
237+
#' }
236238
#' unlink(outdir)
237239
#' setwd(wd)
238240
#' unlink(path)

cran-comments.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,3 @@ We checked 0 reverse dependencies, comparing R CMD check results across CRAN and
2121
* We saw 0 new problems
2222
* We failed to check 0 packages
2323

24-
## Resubmission
25-
26-
This is a resubmission. In this version I have:
27-
28-
* changed http --> https, added trailing slashes, or followed moved content as
29-
appropriate.
30-
31-
* linked to files in the package or used fully specified URLs.

man/publish.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-pandoc.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
test_that("pandoc available", {
2+
skip_on_cran()
23
expect_true(rmarkdown::pandoc_available('1.12.3'))
34
})

0 commit comments

Comments
 (0)