write_reporting_dir: Write reporting directory

write_reporting_dirR Documentation

Write reporting directory

Description

write_reporting_dir() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write reporting directory. The function returns Path to program (a character vector of length one).

Usage

write_reporting_dir(
  path_to_write_to_1L_chr = getwd(),
  path_to_rmd_dir_1L_chr,
  consent_1L_chr = "",
  consent_indcs_int = 1L,
  options_chr = c("Y", "N"),
  path_to_main_rmd_fl_1L_chr = "/CSP/CSP.Rmd",
  new_dir_nm_1L_chr = "TTU_Project",
  overwrite_1L_lgl = FALSE
)

Arguments

path_to_write_to_1L_chr

Path to write to (a character vector of length one), Default: getwd()

path_to_rmd_dir_1L_chr

Path to Markdown directory (a character vector of length one)

consent_1L_chr

Consent (a character vector of length one), Default: ”

consent_indcs_int

Consent indices (an integer vector), Default: 1

options_chr

Options (a character vector), Default: c("Y", "N")

path_to_main_rmd_fl_1L_chr

Path to main Markdown file (a character vector of length one), Default: '/CSP/CSP.Rmd'

new_dir_nm_1L_chr

New directory name (a character vector of length one), Default: 'TTU_Project'

overwrite_1L_lgl

Overwrite (a logical vector of length one), Default: FALSE

Value

Path to program (a character vector of length one)


ready4-dev/ready4show documentation built on June 16, 2024, 8:08 a.m.