Instead of using the options() to store multiloadr, should we create R6 class instead?
x <- multiloadr$new()
# methods
x$add_pkgs()
x$list_pkgs()
x$load_pkgs()
# constructor
multiloadr_obj <- create_multiloadr(path, pkg_name, branch_name, from_commit) # return multiloadr object
add_pkgs(multiloadr_obj, path, pkg_name, branch_name, from_commit)
list_pkgs(multiloadr_obj)
load_pkgs(multiloadr_obj)
Instead of using the
options()to store multiloadr, should we create R6 class instead?