pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/R-rmarkdown



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Sep 20 09:26:39 UTC 2020

Modified Files:
        pkgsrc/textproc/R-rmarkdown: Makefile distinfo

Log Message:
(textproc/R-rmarkdown) Updated 2.1 to 2.3

rmarkdown 2.3
================================================================================

- Addressed an accessibility issue in highlighted code blocks of HTML
  output for screen reader users: screen readers no longer read out an
  unnecessary code line id values (thanks, @jooyoungseo and @atusy,
  #1833).

- Added `file_scope` option to output format definition. This enables
  handling of duplicate numeric footnote identifiers (e.g. across
  bookdown chapters) via the pandoc `--file-scope` option (#1837).

- Added the customizable `lang` atrribute to `ioslides_presentation`
  output (thanks, @jooyoungseo, #1841).

- Added `publish_site()` function for "one-button" publishing of R
  Markdown websites.

- When the `df_print` option is `kable` and the output format is not
  HTML, `<div class="kable-table">` is no longer added to the
  `kable()` output, because recent versions of Pandoc will convert the
  `div` to a LaTeX environment when the output format is LaTeX
  (thanks, Laurens, https://stackoverflow.com/q/62340425/559676).

- `html_vignette()` only warns against differences in the vignette
  title and the vignette index entry for R >= 3.6.0 (thanks, @krlmlr,
  #1832).

- `html_document()` can apply `code_folding` on any chunk engines if
  the `foldable` class is added to a source code block via the chunk
  options (`class.source` or `attr.source`). You may apply this
  feature to all the source code blocks, for example, by setting
  `knitr::opts_chunk$set(class.source = "foldable")` at the beginning
  of your document (thanks, @atusy, #1835).

rmarkdown 2.2
================================================================================

- Exported the internal function `find_pandoc()`, and also added two
  arguments, `dir` and `version`, so that users can provide a custom
  directory under which this function may find Pandoc, as well as an
  expected version of Pandoc to be found (thanks, @connorp, #1785).

- `pandoc_metadata_arg()` is a new Pandoc helper function to generate
  `--metadata` argument for Pandoc command line (thanks, @cderv,
  #1789).

- The output format `html_vignette()` now warns against differences in
  the vignette title specified in the `title` field in the YAML
  metadata and the one specified inside
  `\VignetteIndexEntry{}`. Normally they are expected to be identical
  (#1789).

- Fixed a bug with encoding when rendering `html_notebook` containing
  HTML widgets (thanks, @cderv, #1799).

- TOC title can now be specified for `html_document` via the top-level
  option `toc-title` in the YAML frontmatter (thanks, @atusy, #1771).

- Floating TOC can now distinguish upper/lower-cases (thanks, @atusy,
  #1783).

- When `code_folding='show'` for the output format `html_document`,
  code blocks can be individually hidden initially by specifying the
  chunk option `class.source='fold-hide'` (thanks, @atusy, #1798).

- For LaTeX/PDF output formats `pdf_document`, `beamer_presentation`,
  and `context_document`, the argument `citation_package = 'none'` was
  deprecated, and `citation_package = 'default'` should be used
  instead if citations are to be processed by `pandoc-citeproc`
  (thanks, @njbart, rstudio/bookdown#754).

- `output_format()` can now inherit `keep_md` and `clean_supporting`
  from `base_format` when `NULL` is passed to these
  arguments. Previously, you must explicitly specify `keep_md` and/or
  `clean_supporting` as `TRUE` or `FALSE` in `output_format()` since
  they could not inherit the corresponding options of
  `base_format`. This behavior was not consisent with other arguments
  of `output_format()` (thanks, @atusy, #1823).

- The `smart` argument of most output formats has been removed,
  because Pandoc's `smart` extension is enabled by default, and
  setting `smart: false` for an output format did not really have any
  effect (which could be considered a bug, but we want to get rid of
  this option since it existed only for a historical reason for Pandoc
  1.x, and Pandoc 2.x has been released for more than two years). If
  you want to disable the `smart` extension, you can use the option
  `md_extensions: -smart` of the output format (thanks, @atusy,
  #1774).

- `pdf_document()` should not specify the `geometry` variable when the
  `documentclass` variable is passed to Pandoc (thanks, @jpcirrus,
  #1782).

- `render()` now respects the YAML metadata in the R script when
  rendering the script with Pandoc 2.8 or later (thanks, @nsoranzo
  #1740, @cderv #1741).

- For `pandoc_convert()`, when the argument `to = 'pdf'`, it will be
  changed to `'latex'` internally (thanks, @JohannesFriedrich, #1802).

- `render(run_pandoc = FALSE)` no longer cleans up the Markdown file
  (typically knitted from Rmd) (thanks, @BrianDiggs, #1812).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/R-rmarkdown/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/R-rmarkdown/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/R-rmarkdown/Makefile
diff -u pkgsrc/textproc/R-rmarkdown/Makefile:1.2 pkgsrc/textproc/R-rmarkdown/Makefile:1.3
--- pkgsrc/textproc/R-rmarkdown/Makefile:1.2    Sat Feb  1 02:24:03 2020
+++ pkgsrc/textproc/R-rmarkdown/Makefile        Sun Sep 20 09:26:39 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/02/01 02:24:03 mef Exp $
+# $NetBSD: Makefile,v 1.3 2020/09/20 09:26:39 mef Exp $
 
 R_PKGNAME=     rmarkdown
-R_PKGVER=      2.0
+R_PKGVER=      2.3
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -19,9 +19,12 @@ DEPENDS+=    R-stringr>=1.2.0:../../textpro
 DEPENDS+=      R-yaml>=2.1.19:../../textproc/R-yaml
 DEPENDS+=      R-tinytex-[0-9]*:../../print/R-tinytex
 
-# Packages suggested but not available: 'tufte', 'dygraphs', 'pkgdown'
+# Packages suggested but not available:
+#   'tufte', 'dygraphs', 'pkgdown', 'rsconnect'
+
 TEST_DEPENDS+= R-base64enc-[0-9]*:../../converters/R-base64enc
 TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
+TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/textproc/R-rmarkdown/distinfo
diff -u pkgsrc/textproc/R-rmarkdown/distinfo:1.1 pkgsrc/textproc/R-rmarkdown/distinfo:1.2
--- pkgsrc/textproc/R-rmarkdown/distinfo:1.1    Mon Jan 13 09:57:53 2020
+++ pkgsrc/textproc/R-rmarkdown/distinfo        Sun Sep 20 09:26:39 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/01/13 09:57:53 mef Exp $
+$NetBSD: distinfo,v 1.2 2020/09/20 09:26:39 mef Exp $
 
-SHA1 (R/rmarkdown_2.0.tar.gz) = 41d3728066a3b7f5aba7de1a575ad72d396ed8dc
-RMD160 (R/rmarkdown_2.0.tar.gz) = 399be77d4277db79483a95b1b2d6b89760cf8cf0
-SHA512 (R/rmarkdown_2.0.tar.gz) = 14c43eb646d8b8b4d219030e914cd681b9dce9c990165ca3f024505081a13d5ca09ea1064fe12763ada1c7d2ebcada37d8b2a73899d8890baf9cbc113a105249
-Size (R/rmarkdown_2.0.tar.gz) = 3186667 bytes
+SHA1 (R/rmarkdown_2.3.tar.gz) = e36d1745db979a3e101bc635f59120950dd0369a
+RMD160 (R/rmarkdown_2.3.tar.gz) = 296c75d1530078b7e58356cbbfd941f3a002b35e
+SHA512 (R/rmarkdown_2.3.tar.gz) = aa02e4650b8cd51e84554655c742fb9ab73bffc3107ad222750fc7f75130b18b0d255e5d3db3eff9ff998f2c9797b9522a5d05e06ec15141d4287eda54d3b8ff
+Size (R/rmarkdown_2.3.tar.gz) = 3195381 bytes



Home | Main Index | Thread Index | Old Index