On 22.06.2017 17:35, Dirk Eddelbuettel wrote:

On 22 June 2017 at 16:23, Gábor Csárdi wrote:
| So, along these lines, I was thinking if we could / should build a
| pandoc R package, that could just pull the right binary at install
| time.

And drops it in the package? Then we cannot provide binaries for these package on CRAN unless we also copy the pandoc sources to CRAN, or do I get this wrong?

Best,
Uwe


Would that make sense? It is a bit unusual, but I think a lot of
| users would like it, and it would help standardizing pandoc versions
| and usage.

Exactly.  That is pretty much what Christoph and I do for x13binary to
provide the (also free but nuisance to build) x13ashtml binaries.

Here x13binary is a CRAN package utilizing a GitHub repo x13prebuilt
containing those builds, and "shielding" the binary.

Other CRAN packages such as seasonal then just depend on x13binary and only
see automagic provision of binaries --- replacing and old scheme of manual
download and environment variable settings.  Much better now.
| The static binary is good for 64 bit Linux, and we also have
| self-contained binaries for Windows and MacOS.
|
| (The relevant links to the Docker containers and the binaries, in case
| you are interested:
| https://github.com/r-hub/pandoc-builders#readme
| https://files.r-hub.io/pandoc/

Yes, I saw those when you tweeted about it.

Dirk


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to