Skip to content

Commit

Permalink
babette update
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Mar 14, 2018
1 parent 27b84eb commit 88d2573
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export(get_beastier_paths)
export(get_default_beast2_folder)
export(get_default_beast2_jar_path)
export(get_trees_filenames)
export(give_beast2_warning)
export(gives_beast2_warning)
export(install_beast2)
export(is_beast2_input_file)
export(run_beast2)
2 changes: 1 addition & 1 deletion R/give_beast2_warning.R → R/gives_beast2_warning.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @author Richel J.C. Bilderbeek
#' @seealso Use \code{\link{are_beast2_input_lines}} to check the lines
#' @export
give_beast2_warning <- function(
gives_beast2_warning <- function(
filename,
verbose = FALSE,
beast2_jar_path = get_default_beast2_jar_path()
Expand Down
8 changes: 4 additions & 4 deletions man/give_beast2_warning.Rd → man/gives_beast2_warning.Rd

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

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
context("give_beast2_warning")
context("gives_beast2_warning")

test_that("use", {

testthat::expect_true(
give_beast2_warning(
gives_beast2_warning(
filename = beastier:::get_beastier_path("beast2_warning.xml")
)
)
testthat::expect_false(
give_beast2_warning(
gives_beast2_warning(
beautier:::get_beautier_paths("2_4.xml")
)
)
Expand All @@ -17,12 +17,12 @@ test_that("use", {
test_that("abuse", {

testthat::expect_error(
give_beast2_warning("abs.ent"),
gives_beast2_warning("abs.ent"),
"'filename' must be the name of an existing file. "
)

testthat::expect_error(
give_beast2_warning(
gives_beast2_warning(
get_beastier_path("anthus_2_4.xml"),
beast2_jar_path = "abs.ent"
),
Expand Down

0 comments on commit 88d2573

Please sign in to comment.