check_beast2_options_do_not_overwrite_existing_files {beastier}R Documentation

Internal function

Description

Check if the beast2_options will not overwrite existing files, when the 'overwrite' options is set to FALSE.

Usage

check_beast2_options_do_not_overwrite_existing_files(beast2_options)

Arguments

beast2_options

a set of BEAST2 options, that are the R equivalent of the BEAST2 command-line options, as can be created by create_beast2_options

Details

Will stop if a file is threatened to be overwritten

Value

Nothing. Will stop if a file is threatened to be overwritten

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beaustier_folders()

check_beast2_options_do_not_overwrite_existing_files(
  beast2_options = create_beast2_options()
)

check_empty_beaustier_folders()

[Package beastier version 2.5.1 Index]