write_with_consent() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write with consent. The function returns Object (an output object of multiple potential types).
write_with_consent(
consented_fn,
prompt_1L_chr,
consent_1L_chr = "",
consented_args_ls = NULL,
consent_indcs_int = 1L,
consented_msg_1L_chr = character(0),
declined_args_ls = NULL,
declined_fn = NULL,
declined_msg_1L_chr = "No files have been written.",
force_from_opts_1L_chr = TRUE,
options_chr = c("Y", "N"),
return_1L_lgl = FALSE
)
Object (an output object of multiple potential types)
Consented (a function)
Prompt (a character vector of length one)
Consent (a character vector of length one), Default: ''
Consented arguments (a list), Default: NULL
Consent indices (an integer vector), Default: 1
Consented message (a character vector of length one), Default: character(0)
Declined arguments (a list), Default: NULL
Declined (a function), Default: NULL
Declined message (a character vector of length one), Default: 'No files have been written.'
Force from opts (a character vector of length one), Default: TRUE
Options (a character vector), Default: c("Y", "N")
Return (a logical vector of length one), Default: FALSE