Skip to content

Commit

Permalink
Run examples on CI only
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jul 18, 2022
1 parent 092495f commit 1d58ba4
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 58 deletions.
35 changes: 18 additions & 17 deletions R/extract_tracelog_filename_from_beast2_input_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,29 @@
#' @inheritParams default_params_doc
#' @return the name of the tracelog file
#' @examples
#' check_empty_beaustier_folders()
#' if (beautier::is_on_ci())
#' {
#'
#' beast2_input_filename <- get_beastier_tempfilename()
#' tracelog_filename <- get_beastier_tempfilename()
#' beautier::create_beast2_input_file_from_model(
#' input_filename = beautier::get_beautier_path("test_output_0.fas"),
#' output_filename = beast2_input_filename,
#' inference_model = beautier::create_inference_model(
#' mcmc = beautier::create_mcmc(
#' tracelog = beautier::create_tracelog(
#' filename = tracelog_filename
#' beast2_input_filename <- get_beastier_tempfilename()
#' tracelog_filename <- get_beastier_tempfilename()
#' beautier::create_beast2_input_file_from_model(
#' input_filename = beautier::get_beautier_path("test_output_0.fas"),
#' output_filename = beast2_input_filename,
#' inference_model = beautier::create_inference_model(
#' mcmc = beautier::create_mcmc(
#' tracelog = beautier::create_tracelog(
#' filename = tracelog_filename
#' )
#' )
#' )
#' )
#' )
#' extract_tracelog_filename_from_beast2_input_file(
#' input_filename = beast2_input_filename
#' )
#' file.remove(beast2_input_filename)
#' extract_tracelog_filename_from_beast2_input_file(
#' input_filename = beast2_input_filename
#' )
#' file.remove(beast2_input_filename)
#'
#' remove_beaustier_folders()
#' check_empty_beaustier_folders()
#' remove_beaustier_folders()
#' }
#' @author Richèl J.C. Bilderbeek
#' @export
extract_tracelog_filename_from_beast2_input_file <- function( # nolint indeed a long internal function name
Expand Down
24 changes: 12 additions & 12 deletions R/extract_treelog_filename_from_beast2_input_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
#' @inheritParams default_params_doc
#' @return the treelog filename for a BEAST2 input file
#' @examples
#' check_empty_beaustier_folders()
#' if (beautier::is_on_ci()) {
#'
#' beast2_input_filename <- get_beastier_tempfilename()
#' beast2_input_filename <- get_beastier_tempfilename()
#'
#' beautier::create_beast2_input_file_from_model(
#' input_filename = beautier::get_beautier_path("test_output_0.fas"),
#' output_filename = beast2_input_filename
#' )
#' extract_treelog_filename_from_beast2_input_file(
#' input_filename = beast2_input_filename
#' )
#' file.remove(beast2_input_filename)
#' beautier::create_beast2_input_file_from_model(
#' input_filename = beautier::get_beautier_path("test_output_0.fas"),
#' output_filename = beast2_input_filename
#' )
#' extract_treelog_filename_from_beast2_input_file(
#' input_filename = beast2_input_filename
#' )
#' file.remove(beast2_input_filename)
#'
#' remove_beaustier_folders()
#' check_empty_beaustier_folders()
#' remove_beaustier_folders()
#' }
#' @author Richèl J.C. Bilderbeek
#' @export
extract_treelog_filename_from_beast2_input_file <- function( # nolint indeed a long function name
Expand Down
35 changes: 18 additions & 17 deletions man/extract_tracelog_filename_from_beast2_input_file.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions man/extract_treelog_filename_from_beast2_input_file.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d58ba4

Please sign in to comment.