Skip to content

Commit

Permalink
(textproc/R-rmarkdown) Updated 2.8 to 2.10, make test does NOT pass yet
Browse files Browse the repository at this point in the history
rmarkdown 2.10
=========================================================================

- `md_document()` will now handle correctly `preserve_yaml` value for
  all variants and all pandoc versions (#2190).
  * with `preserve_yaml = TRUE`, markdown output will keep the YAML
    metadata block from the Rmd file.
  * with `preserve_yaml = FALSE`, markdown output will have no YAML
    metadata block.

  This fixes a breaking change in Pandoc 2.13 regarding `gfm`,
  `commonmark` and `commonmark_x` which now supports
  `yaml_metadata_block` by default (#2118).

- New supported syntax for Shiny prerendered documents: you can now
  use `server: shiny` or `server: type: shiny`.

- Ability to inject additional functions into Shiny prerendered server
  scope using the "server-extras" context.

- Fixed the syntax highlighting issue with R's pipe operator `|>`
  (thanks, @edzer, rstudio/bookdown#1157).


rmarkdown 2.9
==========================================================================

- Fix a regression in version 2.8 when a url is used in `css` argument
  (thanks, @vnijs, #2163).

- All HTML dependencies are now correctly supported, included those
  with only an `href` component but not `file` component in their
  `src` attribute. Previously, **rmarkdown** would throw the error
  `'path for html_dependency not provided'` when rendering documents
  containing HTML dependencies with `href` components (thanks,
  @crazycapivara, @matthewstrasiotto, #1805, #1948, #2151).

- Fix an error thrown with output format using a `file_scope` function
  (like in **bookdown**) (thanks, @rfaelens, #2149).

- Fix an issue with `copy_ressource = TRUE` in `html_document_base`
  where very long HTML documents were truncated during post processing
  (thanks, @oliviermeslin, #2145).

- When `run()`-ing a `runtime: shiny` document, an extra temp folder
  will be used in the output path. With the extra temp random folder
  in the path, predictable output file names may be used. (#2137)

- When `run()`-ing a `runtime: shiny` document with a `{bslib}` theme,
  the global theme value wasn't being restored properly. (#2160)

- Floating ToC in `html_document` can now hide headings with
  unnumbered and unlisted classes (thanks, @atusy, #1993).

- Fix prefix handling in R Markdown website's navbar for Fontawesome
  V5 and compatibility with V4. For icon only available in V5, the
  full prefix + name should be use, especially with new `fab` prefix
  (e.g. `fab fa-r-project`). If no prefix is used (e.g `fa-home`
  instead of `fas fa-home`), the `fa` prefix will be added for V4
  compatibility as it has been deprecated in V5. We advice to use the
  full prefix + name for icons following Fontawesome
  documentation. (#1994)

- `rmarkdown::site_generator()` can hang session waiting for input
  when the `site` field is not found in the YAML frontmatter of
  `index.Rmd` (thanks, @kevinushey @mirh, #2043).
  • Loading branch information
mef committed Sep 5, 2021
1 parent ecbc1ed commit 117fc9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions textproc/R-rmarkdown/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2021/06/12 02:55:25 mef Exp $
# $NetBSD: Makefile,v 1.5 2021/09/05 01:50:39 mef Exp $

R_PKGNAME= rmarkdown
R_PKGVER= 2.8
R_PKGVER= 2.10
CATEGORIES= textproc

MAINTAINER= pkgsrc-users@NetBSD.org
Expand All @@ -22,8 +22,6 @@ DEPENDS+= R-withr>=2.4.2:../../devel/R-withr

# Packages suggested but not available: 'tufte', 'dygraphs', 'rsconnect'
#
# Package required and available but unsuitable version: 'tinytex'

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
Expand Down
10 changes: 5 additions & 5 deletions textproc/R-rmarkdown/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.3 2021/06/12 02:55:25 mef Exp $
$NetBSD: distinfo,v 1.4 2021/09/05 01:50:39 mef Exp $

SHA1 (R/rmarkdown_2.8.tar.gz) = 053fca446ff00a3426d8654aab01a2c27a11439e
RMD160 (R/rmarkdown_2.8.tar.gz) = 15a3b8a51b4229b2a914b8180ae5078f67b01137
SHA512 (R/rmarkdown_2.8.tar.gz) = 3e7104fb7efaf3872774ab32173c155bf0146ae6de4770f7c5bd60a508016af877e541fa9a805457f70811eb77b89601f450d0e5fc8cd6d42171adccfde28ac1
Size (R/rmarkdown_2.8.tar.gz) = 3244734 bytes
SHA1 (R/rmarkdown_2.10.tar.gz) = 298c69b011aca0370569a1e2f54ef07bda0111c7
RMD160 (R/rmarkdown_2.10.tar.gz) = 1a38e890d27107a0ed82ccac5a7bcbaca27f0f55
SHA512 (R/rmarkdown_2.10.tar.gz) = 800f3b132097236d60a703c0d89da11aeae872a17f10475b502b5b936059b268c013b07e0c0e9cdf4ee8cd47fc82b0b5bc901db36962d9084d1819748675b059
Size (R/rmarkdown_2.10.tar.gz) = 3248794 bytes

0 comments on commit 117fc9b

Please sign in to comment.