write_gtr_str_mthds_for_slots() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write getter setter methods for slots. The function is called for its side effects and does not return a value. WARNING: This function writes R scripts to your local environment. Make sure to only use if you want this behaviour
1 2 3 4 5 6 7 8 9 10 | write_gtr_str_mthds_for_slots(
slot_names_chr,
set_only_chr,
parent_cls_nm_1L_chr,
class_nm_1L_chr,
print_gtrs_strs_1L_lgl,
output_dir_1L_chr,
nss_to_ignore_chr,
req_pkgs_chr
)
|
slot_names_chr |
Slot names (a character vector) |
set_only_chr |
Set only (a character vector) |
parent_cls_nm_1L_chr |
Parent class name (a character vector of length one) |
class_nm_1L_chr |
Class name (a character vector of length one) |
print_gtrs_strs_1L_lgl |
Print getters setters (a logical vector of length one) |
output_dir_1L_chr |
Output directory (a character vector of length one) |
nss_to_ignore_chr |
Namespaces to ignore (a character vector) |
req_pkgs_chr |
Req packages (a character vector) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.