dn_modify_path: modify figure path

View source: R/dn_modify_path.R

dn_modify_pathR Documentation

modify figure path

Description

This function uses chunk options to rename the figure file. You should add a chunk option called dn_id that uses dn_figure_rename to get the figure number. See the vignette for an example of how to use this in an actual document.

Usage

dn_modify_path(figure_path, options)

Arguments

figure_path

the original figure path

options

the chunk options

Details

We often want to include the figure number in figure file names. This function allows us to rename them easily.

Value

character


rmflight/documentNumbering documentation built on Aug. 10, 2024, 2:43 a.m.