Package: html2pdfr 0.4.5

Rob Challen

html2pdfr: R Wrapper For Openhtmltopdf Java Library

HTML and CSS do a good job at automatically laying out and styling content particularly in tables, however it is not natively designed for pagination. This library converts HTML content into PDF and PNG formats for embedding into LaTeX documents, within the constraints of page sizes. It allows use of HTML table layout from HTML first libraries such as 'gt' and 'huxtable' within latex documents. It allows HTML content to grow in width up to the page dimensions, but preventing it from overflowing, and without forcing table layout to be wider than it would normally be. This heurisitic calculation of the output size up to fit within set limits is one of the differentiators between this and other HTML to PDF converters. Although the focus is on tables, any basic HTML content can be rendered, including simple SVG and MathML, up to the support of the underlying HTML rendering engine (https://github.com/danfickle/openhtmltopdf).

Authors:Rob Challen [aut, cre]

html2pdfr_0.4.5.tar.gz
html2pdfr_0.4.5.zip(r-4.5)html2pdfr_0.4.5.zip(r-4.4)html2pdfr_0.4.5.zip(r-4.3)
html2pdfr_0.4.5.tgz(r-4.4-any)html2pdfr_0.4.5.tgz(r-4.3-any)
html2pdfr_0.4.5.tar.gz(r-4.5-noble)html2pdfr_0.4.5.tar.gz(r-4.4-noble)
html2pdfr_0.4.5.tgz(r-4.4-emscripten)html2pdfr_0.4.5.tgz(r-4.3-emscripten)
html2pdfr.pdf |html2pdfr.html
html2pdfr/json (API)
NEWS

# Install 'html2pdfr' in R:
install.packages('html2pdfr', repos = c('https://terminological.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/terminological/html2pdfr/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT

On CRAN:

2.70 score 1 stars 2 scripts 9 exports 15 dependencies

Last updated 6 months agofrom:65dcb2445c (on 0.4.5). Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 21 2024
R-4.5-winNOTESep 21 2024
R-4.5-linuxNOTESep 21 2024
R-4.4-winNOTESep 21 2024
R-4.4-macNOTESep 21 2024
R-4.3-winOKSep 21 2024
R-4.3-macOKSep 21 2024

Exports:%>%file_to_pdfhtml_converterhtml_document_to_pdfhtml_fragment_to_pdfHtmlConverterJavaApiRFutureurl_to_pdf

Dependencies:clicpp11fsgluelifecyclemagrittrR6rappdirsrJavarlangstringistringrsystemfontsvctrsxml2

Using html2pdfr

Rendered fromhtml2pdfr.Rmdusingknitr::rmarkdownon Sep 21 2024.

Last update: 2022-10-06
Started: 2022-05-23