Skip to content

Commit

Permalink
removed \donttest for mathpix example
Browse files Browse the repository at this point in the history
added cran-comments
ignored README
  • Loading branch information
jonocarroll committed Sep 27, 2017
1 parent 4abcaf5 commit 9fff63a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
^README\.md$
^README-.*\.png$
^revdep$
^\.travis\.yml$
Expand Down
3 changes: 1 addition & 2 deletions R/connect.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ rmarkdown_block <- function(img, trial = FALSE) {
#' @export
#'
#' @examples
#' \dontrun{
#' mathpix(system.file("eq_no_01.png", package = "mathpix"))
#' ## returns
#' ## $$\n \\int \\frac { 4x } { \\sqrt { x ^ { 2} + 1} } d x \n$$}
#' ## $$\n \\int \\frac { 4x } { \\sqrt { x ^ { 2} + 1} } d x \n$$
mathpix <- function(img, trial = FALSE) {

block <- rmarkdown_block(img, trial)
Expand Down
5 changes: 3 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## Test environments
* local ubuntu 16.04.2, R 3.4.0
* local ubuntu 16.04.2, R 3.4.1
* rhub check_on_windows() x86_64-w64-mingw32 (64-bit), R 3.4.1
* rhub check_on_linux() x86_64-pc-linux-gnu (64-bit), R 3.4.1
* rhub check_on_macos() 10.11 El Capitan, x86_64-apple-darwin15.6.0 (64-bit), R 3.4.1
* rhub check_for_cran()
* travis-ci ubuntu 12.04.5, R 3.4.1
* win-builder (devel, release, and oldrelease)

Expand All @@ -24,5 +25,5 @@ Resubmitting after applying recommended changes:
- updated titles
- added examples
- made unnecessary functions internal

- included example without \dontrun
---
3 changes: 1 addition & 2 deletions man/mathpix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fff63a

Please sign in to comment.