This function makes use of a on-server monorepo copy to work
faster than just a git clone call. It finds the copy by looking at the
G6TR_MONOREPO_LOCAL_MIRROR environment variable.
Usage
g6tr_clone_monorepo(name, main_dir = "~/monorepos")
Arguments
- name
Name of the new cloned directory. Inside it will look like our
"g6tr monorepo, but it may be called something else than "g6tr".
- main_dir
Main directory where to put the clone folder. Default value
is "~/monorepos", i.e. "monorepos" folder in your home directory.
Examples
if (FALSE) { # \dontrun{
# create a monorepo copy at ~/monorepo/luther
g6tr_clone_monorepo("luther")
} # }