download_pandoc_binaries: Download Pandoc release binaries

download_pandoc_binariesR Documentation

Download Pandoc release binaries

Description

Downloads the executable program binaries of a certain Pandoc release for Linux, macOS and Windows.

Usage

download_pandoc_binaries(
  release_id = pandoc_release_id_latest(),
  os = c("linux", "macos", "windows"),
  path = "bin/",
  overwrite = TRUE
)

Arguments

release_id

The GitHub release ID of the desired Pandoc release. Use pandoc_releases() to determine the release ID of a specific Pandoc version number. An integer scalar.

os

The operating systems for which Pandoc binaries should be downloaded. Any combination of "linux","macos" and "windows")'.

path

The filesystem path to which the binaries are saved to. A path or something coercible to.

overwrite

Whether to overwrite existing binaries under path.

Value

path invisibly.

See Also

Other Pandoc-related functions: pandoc_release_assets(), pandoc_release_id_latest(), pandoc_releases(), pandoc_version_latest()


salim-b/salim documentation built on July 9, 2022, 10:53 a.m.