shrink_help_file_images: Shrink Rd File Images

View source: R/shrink_help_file_images.R

shrink_help_file_imagesR Documentation

Shrink Rd File Images

Description

Shrink Rd File Images

Usage

shrink_help_file_images(
  path = here::here(),
  pkg = basename(path),
  image_files = NULL,
  path.output = file.path(path, "man", "figures")
)

Arguments

path

path to package directory. Default is here::here()

pkg

Name of package. Default is the folder name in path=

image_files

Character vector of .png file names to shrink. Default is all png files in the ~/man/figures folder that end with _ex[digits].png or _ex.png that do not begin with README-.

path.output

directory where images will be saved. Default is file.path(path, "man", "figures")


ddsjoberg/gt.doc.images documentation built on Oct. 5, 2022, 10:16 a.m.