View source: R/are_beast2_input_lines.R
are_beast2_input_lines_deep | R Documentation |
Would these lines of text, when written to a file, result in a valid BEAST2 input file?
are_beast2_input_lines_deep(
lines,
verbose = FALSE,
beast2_path = get_default_beast2_path()
)
lines |
lines of text |
verbose |
if TRUE, additional information is displayed, that is potentially useful in debugging |
beast2_path |
name of either a BEAST2 binary file
(usually simply |
TRUE if the text is valid, FALSE if not
Richèl J.C. Bilderbeek
Use is_beast2_input_file
to check a file
if (is_beast2_installed() && beautier::is_on_ci()) {
beast2_filename <- get_beastier_path("anthus_2_4.xml")
text <- readLines(beast2_filename)
are_beast2_input_lines_deep(text)
remove_beaustier_folders()
}
check_empty_beaustier_folders()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.