create_accessors: Create accessor functions in the namespace

Description Usage Arguments Value

View source: R/accessor_fn_utils.R

Description

Create accessor functions in the namespace

Usage

1
2
3
4
5
6
create_accessors(
  dep_dir = "data",
  deps = NULL,
  dep_update = dep_update_dropbox,
  update_all = TRUE
)

Arguments

dep_dir

(chr) of the directory in which dependencies to be accessed with functions is stored. Note: Either dep_dir or deps must be supplied.

deps

(chr) of full filepaths for all dependencies to be accessed with functions.

dep_update

(function) dependency update from remote location function

update_all

(lgl) update all dependencies immediately.

Value

The accessor functions will be available in the package namespace if a golem package, otherwise accessor functions will be returned in a list


yogat3ch/maleta documentation built on Feb. 9, 2022, 12:55 a.m.