Learn R Programming

beastier (version 2.5)

are_beast2_input_lines_fast: Would these lines of text, when written to a file, result in a valid BEAST2 input file?

Description

Would these lines of text, when written to a file, result in a valid BEAST2 input file?

Usage

are_beast2_input_lines_fast(lines)

Value

TRUE if the text is valid, FALSE if not

Arguments

lines

lines of text

Author

Richèl J.C. Bilderbeek

See Also

Use is_beast2_input_file to check a file

Examples

Run this code

beast2_filename <- get_beastier_path("anthus_2_4.xml")
text <- readLines(beast2_filename)

# TRUE
are_beast2_input_lines_fast(text)
check_empty_beaustier_folders()

Run the code above in your browser using DataLab