write_gtr_str_mthds_for_slots: Write getter setter methods for slots

Description Usage Arguments

Description

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

Usage

 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
)

Arguments

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)


readyforwhatsnext/ready4class documentation built on Nov. 14, 2020, 1:29 a.m.