clone: Clone of Turboveg database

Description Usage Arguments Details Author(s) Examples

View source: R/clone.R

Description

Packing respective files belonging to a Turboveg database into a zip file.

Usage

1
2
clone(db_name, tv_home=tv.home(), stamp=TRUE, overwrite=FALSE, extras=FALSE,
	...)

Arguments

db_name

Name of database as character value.

tv_home

Character value indicating the path to Turboveg's home directory.

stamp

Logical value indicating whether the date should be included in the zip file's name or not.

overwrite

Logical value indicating whether existing files should be overwritten or not.

extras

Logical value indicating the occurrence of extra files (see Details).

...

Additional arguments passed to function zip.

Details

This function attempts to substitute the backup options from Turboveg, generating a backup of the whole database at once.

An unpack function will be provided

For stamp=TRUE, the system date will be included in the name of the resulting zip file.

If overwrite=FALSE overwriting homonymous zip files will be avoided by inserting a numerical suffix to the resulting zip file.

Author(s)

Miguel Alvarez, [email protected].

Examples

1
2
## Add example for this function
## unzip(file, exdir=tv.home())

kamapu/vegtables2 documentation built on Feb. 11, 2019, 9:15 a.m.