synchro: synchro

Description Usage Arguments Details Value Examples

View source: R/synchro.R

Description

It takes care that the system it's synchronized - all the parameters added to csv files in the backup folder should be present also in the RData file. Updates the data Rd files if a more recent backup is found.

Usage

1
synchro(s.mode = F, s.bk = normalizePath("~"), s.version = "current")

Arguments

s.mode

Flag. F (default) for phenotypical parameter, T for environmental.

s.bk

Character. Path to the backup folder. (default home folder).

s.version

character. Tells which version should be saved in the .RData file ("current" default)

Details

It's hypothically possible to syncrhonize the system with a version that is previous to the current one. In this case the parameter s.version has to be specified with the correct version the user wants, tagged with date and time in the format yyyy-mm-dd_hh-mm-ss.

Value

NULL. It automatically updates RData files.

Examples

1
2
3
4
5
# Example with phenotypical data
synchro()

# Example with environmental data
synchro(s.mode = TRUE)

pezzcvd/daphneg2 documentation built on Oct. 13, 2021, 10:34 p.m.