Skip to contents

This function copies all PDF files from the source directory to the target directory. It ensures that the PDF files are included in the `gh-pages` branch for the site.

Usage

copy_pdf_to_site(source_dir = "inst/doc", target_dir = "docs/pdf")

Arguments

source_dir

A character string specifying the directory containing the PDF files. Default is "inst/doc".

target_dir

A character string specifying the directory where the PDF files will be copied. Default is "docs/pdf".

Value

The function does not return a value. It is called for its side effects of copying PDF files.

Examples

if (FALSE) { # \dontrun{
copy_pdf_to_site()
copy_pdf_to_site(source_dir = "inst/doc", target_dir = "docs/pdf")
} # }