scripts/issue_101.r

# Issue #101
testthat::expect_true(beastier::is_beast2_installed())

zip_filename_url <- "https://github.com/ropensci/babette/files/7802540/airCommunitiesMM_1.zip"
zip_filename <- tempfile(fileext = ".zip")
download.file(url = zip_filename_url, destfile = zip_filename)
beast2_input_file <- unzip(zipfile = zip_filename, exdir = tempfile())
beast2_input_file

beastier::run_beast2_from_options(
  beast2_options = beastier::create_beast2_options(
    input_filename = beast2_input_file,
    verbose = TRUE
  )
)
richelbilderbeek/rbeast2 documentation built on Sept. 30, 2023, 9:39 a.m.