Skip to content

Commit

Permalink
add NEWS item
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Jun 12, 2016
1 parent e17bd5a commit ad2fc3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ezknitr 0.4 2016-06-09
# ezknitr 0.4 2016-06-12

- added `...` argument to `ezspin` that passes any additional arguments to `knitr::spin` (#6)
- add param `move_intermediate_file` to `ezspin` that controls whether the intermediate Rmd file stays with the source R script or moves to the output folder (thanks @klmr)

# ezknitr 0.3.0

Expand Down
4 changes: 2 additions & 2 deletions R/core.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#' @param keep_html Should the final \code{html} file be kept (\code{TRUE})
#' or deleted (\code{FALSE})?
#' @param move_intermediate_file Should the intermediate \code{Rmd} file be
#' moved to the destination folder (\code{TRUE}) or stay in the same folder as
#' moved to the output folder (\code{TRUE}) or stay in the same folder as
#' the source \code{R} file (\code{FALSE})?
#' @param ... Any extra parameters that should be passed to \code{knitr::spin}.
#'
Expand Down Expand Up @@ -147,7 +147,7 @@ ezknitr_helper <- function(type,
verbose = FALSE,
chunk_opts = list(tidy = FALSE),
keep_rmd, keep_md, keep_html,
move_intermediate_file = TRUE,
move_intermediate_file,
...) {
type <- match.arg(type, c("ezspin", "ezknit"))

Expand Down
2 changes: 1 addition & 1 deletion man/ezknitr_core.Rd

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

0 comments on commit ad2fc3c

Please sign in to comment.