replace_docx_imgs_with_mscharts {saros}R Documentation

Replace Images in A Quarto-Generated docx-file with Mschart docx-files

Description

Replace Images in A Quarto-Generated docx-file with Mschart docx-files

Usage

replace_docx_imgs_with_mscharts(
  main_file,
  chart_dir = fs::path_ext_remove(main_file),
  delete_mschart_files = FALSE
)

Arguments

main_file

docx file where images are to be replaced with mscharts

chart_dir

Directory path to where the mscharts as docx files can be found.

delete_mschart_files

Flag. Whether to delete the mschart docx files after insertion. Defaults to FALSE.

Value

String, path to input file.


[Package saros version 1.0.4 Index]