Movatterモバイル変換


[0]ホーム

URL:


pandoc

Lifecycle: experimentalCRAN statusR-CMD-checkCodecov test coverage

pandoc is currently an experimental R packageprimarily develop to help maintainers of R Markdown ecosystem.

Indeed, the R Markdown ecosystem is highly dependent on Pandoc (https://pandoc.org/) changesand it is designed to be as version independent as possible. R Markdownis best used with the latest Pandoc version but anyrmarkdown package version should work with previousversion of Pandoc, and new change in Pandoc should not break anyrmarkdown features.

This explains the needs for a more focused tooling to:

This package can also be useful to advanced developers that areworking around Pandoc throughrmarkdown or not.

Installation

Install from CRAN:

install.packages("pandoc")

The development version can be install fromGitHub with:

# install.packages("pak")pak::pak("cderv/pandoc")

Usage

All functions are prefixed withpandoc_ and you willfind below their main usage. SeeGetstarted for usage examples andReferencepage for full details of functions.

Most functions follows these following rules:

Available functions allows:

Example

library(pandoc)# Install versionpandoc_install("2.7.3")#> ✔ Pandoc 2.7.3 already installed.#>   Use 'force = TRUE' to overwrite.pandoc_install("2.11.4")#> ✔ Pandoc 2.11.4 already installed.#>   Use 'force = TRUE' to overwrite.# Highest install is usedpandoc_version()#> [1] '3.1.6'

See detailed examples inGetstarted.

Code of Conduct

Please note that thepandoc project is released withaContributorCode of Conduct. By contributing to this project, you agree to abideby its terms.


[8]ページ先頭

©2009-2025 Movatter.jp