check_beast2_options_do_not_overwrite_existing_files: Internal function

View source: R/check_beast2_options_do_not_overwrite_existing_files.R

check_beast2_options_do_not_overwrite_existing_filesR 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()

beastier documentation built on Nov. 7, 2023, 5:08 p.m.