Locates the pandoc executable on the current system.

# S3 method for default
findPandoc(mustExist=TRUE, ..., verbose=FALSE)

Arguments

mustExist

If TRUE, an exception is thrown if the executable could not be located.

...

Not used.

verbose

See Verbose.

Value

Returns the pathname to the executable, or NULL if not found.

Details

The executable is searched for as follows:

  1. Sys.which("pandoc")

Author

Henrik Bengtsson