copy_hisafe_template: Copy a Hi-sAFe template to specified location

Description Usage Arguments Value See Also Examples

View source: R/misc.R

Description

Copies a Hi-sAFe template to specified location.

Usage

1
copy_hisafe_template(template, destination, overwrite = FALSE, new.name = NULL)

Arguments

template

A character string of the path to the Hi-sAFe directory structure/files to use as a template (or one of the strings signaling a default template) See define_hisafe for more details on available default templates.

destination

A character string of the path to where the template folder should be copied.

overwrite

A logical indicating whether or not to allow overwriting of an existing folder.

new.name

A character string of the a name for the newly copied folder. If NULL, the default, then the name will remain the same as the original template folder.

Value

Invisibly returns a logical vector indicating if the attempted fily copy succeeded.

See Also

Other hisafe helper functions: get_pheno_dates(), get_pruning_dates(), hip_params(), hisafe_info(), hisafe_profiles(), hop_filter(), hop_merge(), hop_params(), hop_rename(), is_face(), is_hip(), is_hop(), join_profiles(), make_rel_years(), profile_check(), variable_check(), which_profiles()

Examples

1
2
3
4
## Not run: 
copy_hisafe_template("agroforestry", "/Users/myname/Desktop/")

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.