install_otp {accessr} | R Documentation |
Install OfficeToPDF
Description
Downloads OfficeToPDF.exe
from
https://github.com/cognidox/OfficeToPDF/releases and copies it to
a suitable location, by default system.file(package = "accessr")
.
Usage
install_otp(dir, url, method, quiet = TRUE, ...)
Arguments
dir |
Directory into which to download the executable file
If |
url |
URL from which to download |
method |
Passed to |
quiet |
Passed to |
... |
Additional arguments passed to
|
Details
The argument mode = "wb"
to
download.file
is hard-coded, so that binary transfer
is forced.
Value
See the Value section of download.file
.
Note
OfficeToPDF.exe
is used to create PDF files from Word
documents in rmd2word
.