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:           Wed Jan  1 02:13:06 UTC 2025

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

Log Message:
(textproc/R-rmarkdown) Updated 2.19 to 2.29

rmarkdown 2.29
================================================================================

- `find_external_resources()` now correctly detects knitr child
  document provided with option like `child = c("child.Rmd")` (thanks,
  @rempsyc, #2574).

- `knit_params_ask()` uses a `select` input for parameters which allow
  multiple selected values. Previously, a `radio` input was
  incorrectly used when the parameter had a small number of choices.

    ```yaml
    params:
        primaries:
            choices: ["red", "yellow", "blue"]
            multiple: true
    ```

    When `multiple` is not enabled, parameter configuration still uses
    `radio` when there are fewer than five choices.

    The `input` parameter field can still be used to force the
    configuration control.

    ```yaml
    params:
        grade:
            input: radio
            choices: ["A", "B", "C", "D", "F"]
    ```

rmarkdown 2.28
================================================================================

- Add classes `odd`, `even`, and `header` back to table rows for
  Pandoc >= 3.2.1, so tables can be styled properly (thanks,
  @therealgenna, #2567).

- `beamer_presentation` support handling latex dependencies via the
  new `extra_dependencies` argument and declarations within chunks
  (e.g., `knitr::asis_output("", meta =
  list(rmarkdown::latex_dependency("longtable")))`) (thanks, @cderv,
  @atusy, #2478).

rmarkdown 2.27
================================================================================

- Provide a global option `rmarkdown.files.suffix` to configure the
  suffix of the directory for auxiliary files (thanks,
  @certara-tzweers, #2550). By default, this suffix is `_files`, which
  can cause HTML output files to be deleted automatically on Microsoft
  OneDrive or Google Drive. If that is the case for you, you may set a
  different suffix in your `.Rprofile`, e.g.,
  `options(rmarkdown.files.suffix = "_rmdfiles")`.

- Fix a regression in 2.26 regarding image paths post-processing in
  `html_document_base()`. Now absolute paths to image in the output
  directory (`output_dir`) are correctly made relative to the output
  directory again.

rmarkdown 2.26
================================================================================

- **rmarkdown** now requires **knitr** >= 1.43.

- Get rid of the superfluous warning in `find_pandoc()` (thanks,
  @jszhao, #2527).

- Removed the **stringr** dependency since it is used only once in the
  package and the equivalent base R code is simple enough (thanks,
  @etiennebacher, #2530).

- For the output format option `fig_crop: auto`, it will now use the
  same logic as in **knitr** to decide if cropping is possible
  (yihui/knitr#2246).

- Avoid corrupting input files by accident (thanks, @J-Moravec, #2534).

rmarkdown 2.25
================================================================================

- Fixed a bug that filenames beginning with `-` cause incorrect
  invocation of Pandoc (thanks, @mbaynton, #2503).

- Documented how to merge `output_format_dependency()` to the output
  format (thanks, @atusy, #2508).

- `ioslides_presentation()` now correctly works with new **shiny**
  1.7.5 (thanks, @nicolasgaraycoa, #2514, @gadenbuie, #2516).

- Added a new argument `metadata` to the `pre_knit` function in
  `output_format()` so that users will have access to the YAML
  metadata of the input document before knitting it (#2485). Please
  note that if you define `pre_knit` for a custom output format, you
  are strongly recommended to leave a `...` argument in `pre_knit`, so
  we (**rmarkdown** package authors) are free to add more arguments to
  `pre_knit` without breaking your code. If your `pre_knit` function
  does not have the `...` argument, you will get a warning.

rmarkdown 2.24
================================================================================

- Fixed `file_scope` being lost when extending output formats that
  considers the `file_scope` using `output_format()`. Merge behavior
  is to apply overlay `file_scope` function onto the result of
  `base_format`'s `file_scope` function. This implies that
  `file_scope` gains second argument which receives the returned
  values of the base `file_scope` (thanks, @atusy, #2488).

- Added `output_format_dependency()` which allows extending output
  format from within chunks (thanks, @atusy, #2462)

- Fix an issue with shiny prerendered document where dependencies
  context were written twice leasing to parsing error (thanks,
  @gadenbuie, rstudio/learn#597, #2500).

rmarkdown 2.23
================================================================================

- `find_external_resources()` works with formats defining there own
  `theme` argument, like `cleanrmd::html_document_clean()`, not
  related to **bslib** supports (thanks, @gadenbuie, #2493,
  r-lib/pkgdown#2319).

- Fixed version number comparison problems as requested by CRAN.

rmarkdown 2.22
================================================================================

- Using `css` with `.scss` and `.sass` file, or with a bslib theme,
  now works as expected with a shiny runtime (thanks, @cpsievert,
  #2443, #2447).

- Add a `pandoc_metadata_file_arg()` function to match Pandoc's CLI flag `--metadata-file`.

- Mentions that **webshot** or **webshot2** is required to take
  screenshot of HTML widget. When not installed, an error message
  mentioning `always_allow_html: true` solution will be shown, but
  setting this is not the solution (quarto-dev/quarto-cli#4225).

- `html_dependency_jqueryui()` updated to 1.13.2 from version bundled
  in shiny (thanks, @daschnerm, #2477).

- Fix an issue with YAML header ending with a commented line
  containing incomplete yaml (thanks, @keithnewman, #2483).

- When code folding is enabled in `html_document()`, the text on the
  button to show the content has been changed from "Code" to "Show",
  because the content to show is not necessarily code, e.g.,
  yihui/knitr#2227.

rmarkdown 2.21
================================================================================

- Now HTML output formats use the Font Awesome HTML dependency from
  the **fontawesome** package instead of shipping an outdated version
  of Font Awesome in **rmarkdown** (thanks, @rich-iannone, #2451).

- Fixed a bug caused by a change in the `is_blank()` function in
  **xfun** 0.38 (thanks, @andreahgsin, #2469).

rmarkdown 2.20
================================================================================

- The defunct `tufte_handout()` has been removed from
  **rmarkdown**. Please use `tufte::tufte_handout()` instead.

- If an input path to `rmarkdown::render()` is a symbolic link, it is
  no longer resolved to its real path (thanks, @SamDM @jmw86069,
  #1508).

- Make sure to avoid creating invalid paths when copying resources
  (thanks, @mnazarov, #2429).

- Make sure `logo` is properly embedded in `ioslides_presentation()`
  when `self_contained = TRUE` (thanks, @mnazarov, #2428).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/R-rmarkdown/Makefile
cvs rdiff -u -r1.7 -r1.8 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.6 pkgsrc/textproc/R-rmarkdown/Makefile:1.7
--- pkgsrc/textproc/R-rmarkdown/Makefile:1.6    Sun Dec 18 04:44:47 2022
+++ pkgsrc/textproc/R-rmarkdown/Makefile        Wed Jan  1 02:13:05 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/12/18 04:44:47 mef Exp $
+# $NetBSD: Makefile,v 1.7 2025/01/01 02:13:05 mef Exp $
 
 R_PKGNAME=     rmarkdown
-R_PKGVER=      2.19
+R_PKGVER=      2.29
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -21,9 +21,12 @@ DEPENDS+=    R-tinytex-[0-9]*:../../print/R
 DEPENDS+=      R-withr>=2.4.2:../../devel/R-withr
 DEPENDS+=      R-jquerylib-[0-9]*:../../www/R-jquerylib
 DEPENDS+=      R-bslib>=0.2.5.1:../../www/R-bslib
+DEPENDS+=      R-fontawesome-[0-9]*:../../textproc/R-fontawesome
 
 # Packages suggested but not available:
-#  'dygraphs', 'rsconnect', 'katex', 'tufte'
+#   'dygraphs', 'rsconnect', 'katex', 'cleanrmd', 'xml2'
+
+# Package required and available but unsuitable version: 'fontawesome'
 
 TEST_DEPENDS+= R-base64enc-[0-9]*:../../converters/R-base64enc
 TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs

Index: pkgsrc/textproc/R-rmarkdown/distinfo
diff -u pkgsrc/textproc/R-rmarkdown/distinfo:1.7 pkgsrc/textproc/R-rmarkdown/distinfo:1.8
--- pkgsrc/textproc/R-rmarkdown/distinfo:1.7    Sun Dec 18 04:44:47 2022
+++ pkgsrc/textproc/R-rmarkdown/distinfo        Wed Jan  1 02:13:05 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2022/12/18 04:44:47 mef Exp $
+$NetBSD: distinfo,v 1.8 2025/01/01 02:13:05 mef Exp $
 
-BLAKE2s (R/rmarkdown_2.19.tar.gz) = f2daa66f9ccef373318dd1c990ab28e994ea255623a44177cbb9cd2985f44dd6
-SHA512 (R/rmarkdown_2.19.tar.gz) = 8a265c96ec1be4659fd3973652a31fe1e23b8fbf494e1dcb568213ed678a73c7b695f314581b37ccd42769b1c6773d83e3d41d520fe2e2e007ec6fb720c67aa2
-Size (R/rmarkdown_2.19.tar.gz) = 3243575 bytes
+BLAKE2s (R/rmarkdown_2.29.tar.gz) = 667a84d150f4c7ca6a83e3e8cda14946ff7cd3380884b7724baceb5fa2fa92ef
+SHA512 (R/rmarkdown_2.29.tar.gz) = 6f27384cf509d2bcb2eb8a0e03b917a081cef14fdb34122c9206ad00b5f78eee8647d373c1fc5b7852813a2a74a8f66d11a28ce06a4f8c5103baefef9ce760a4
+Size (R/rmarkdown_2.29.tar.gz) = 2194660 bytes



Home | Main Index | Thread Index | Old Index