include_graphics_latex: Wrapper of 'knitr::include_graphics' for PDF Output

View source: R/include_graphics2.R

include_graphics_latexR Documentation

Wrapper of knitr::include_graphics for PDF Output

Description

Deals with URL and GIFs. If an url is passed to path of include_graphics, the figure is automatically downloaded and included using local relative path. If a figure with .gif extension is included, a piece of text, rather than the figure, is inserted.

Usage

include_graphics_latex(
  path,
  alt_path = NULL,
  handler = function(path) knitr::asis_output(paste("View", tools::file_ext(path), "at",
    path)),
  ...
)

caayala/desuctools documentation built on Aug. 24, 2023, 8:10 a.m.