install.pandoc: Downloads and installs pandoc

View source: R/install.R

install.pandocR Documentation

Downloads and installs pandoc

Description

Downloads and installs the latest version of pandoc for Windows.

Usage

install.pandoc(
  URL = "https://github.com/jgm/pandoc/releases",
  use_regex = TRUE,
  to_restart,
  ...
)

Arguments

URL

a link to the list of download links of pandoc

use_regex

(default TRUE) - deprecated (kept for legacy purposes).

to_restart

boolean. Should the computer be restarted after pandoc is installed? (if missing then the user is prompted for a decision)

...

extra parameters to pass to install.URL

Details

pandoc is a free open source software for converting documents from many filetypes to many filetypes. For details, see https://johnmacfarlane.net/pandoc/.

Credit: the code in this function is based on GERGELY DAROCZIs coding in his answer on the Q&A forum StackOverflow, and also G. Grothendieck for the non-XML addition to the function. I thank them both!

Value

TRUE/FALSE - was the installation successful or not.

Author(s)

GERGELY DAROCZI, G. Grothendieck, Tal Galili

Source

https://stackoverflow.com/questions/15071957/is-it-possible-to-install-pandoc-on-windows-using-an-r-command

Examples

## Not run: 
install.pandoc() 

## End(Not run)

installr documentation built on Nov. 13, 2022, 1:06 a.m.