if (is_beast2_installed() &&
beautier::is_on_ci() &&
rappdirs::app_dir()$os == "unix") {
# This file is OK for BEAST2, no warning, returns FALSE
gives_beast2_warning(filename = get_beastier_path("2_4.xml"))
# BEAST2 will give a warning on this file, returns TRUE
gives_beast2_warning(
filename = get_beastier_path("beast2_warning.xml")
)
}
Run the code above in your browser using DataLab