~hrbrmstr/cloc

bacdeb49c48a4bf178dbe046f4971d5965caf507 — boB Rudis 6 years ago bd517e3
purl
2 files changed, 3 insertions(+), 3 deletions(-)

M R/purl-rmd.R
M R/strip-rmd.R
M R/purl-rmd.R => R/purl-rmd.R +2 -2
@@ 18,7 18,7 @@ purl_rmd_addin <- function() {

      cat(ctx$contents, file = tf1, sep = "\n")

      knitr::purl(tf1, output = tf2)
      knitr::purl(tf1, output = tf2, quiet = TRUE)

      navigateToFile(tf2, line = -1L, column = -1L)



@@ 29,7 29,7 @@ purl_rmd_addin <- function() {
      )

    } else {
      stop("Can only style .R and .Rmd files.", call. = FALSE)
      stop("Can only perform operations on Rmd files.", call. = FALSE)
    }

  }

M R/strip-rmd.R => R/strip-rmd.R +1 -1
@@ 30,7 30,7 @@ strip_rmd_addin <- function() {
      )

    } else {
      stop("Can only style .R and .Rmd files.", call. = FALSE)
      stop("Can only perform operations on .Rmd files.", call. = FALSE)
    }

  }