are_beast2_input_lines_fast: Would these lines of text, when written to a file, result in...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/are_beast2_input_lines.R

Description

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

Usage

1

Arguments

lines

lines of text

Value

TRUE if the text is valid, FALSE if not

Author(s)

Richèl J.C. Bilderbeek

See Also

Use is_beast2_input_file to check a file

Examples

1
2
3
4
5
beast2_filename <- get_beastier_path("anthus_2_4.xml")
text <- readLines(beast2_filename)

# TRUE
are_beast2_input_lines_fast(text)

beastier documentation built on Sept. 19, 2021, 5:06 p.m.