-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from olivroy/cran
Remove hard testthat dependency.
- Loading branch information
Showing
27 changed files
with
1,064 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ Authors@R: c( | |
person("David", "Winter", role = "rev", comment = "David reviewed the package for rOpenSci, see https://github.com/richelbilderbeek/onboarding/issues/209"), | ||
person("Jason", "Griffiths", role = "ctb", comment = c(ORCID = "0000-0002-1667-8233")), | ||
person("Giovanni", "Laudanno", email = "[email protected]", role = "ctb")) | ||
Maintainer: Richèl J.C. Bilderbeek <[email protected]> | ||
Description: 'BEAST2' (<https://www.beast2.org>) is a widely used | ||
Bayesian phylogenetic tool, that uses DNA/RNA/protein data | ||
and many model priors to create a posterior of jointly estimated | ||
|
@@ -19,8 +18,8 @@ Description: 'BEAST2' (<https://www.beast2.org>) is a widely used | |
License: GPL-3 | ||
RoxygenNote: 7.2.3 | ||
VignetteBuilder: knitr | ||
URL: https://docs.ropensci.org/babette/ (website) | ||
https://github.com/ropensci/babette/ | ||
URL: https://docs.ropensci.org/babette/ (website), | ||
https://github.com/ropensci/babette | ||
BugReports: https://github.com/ropensci/babette/issues | ||
Depends: | ||
beautier (>= 2.6.11), | ||
|
@@ -30,17 +29,14 @@ Depends: | |
tracerer | ||
Imports: | ||
phangorn, | ||
remotes, | ||
rlang (>= 1.1.0), | ||
stringr, | ||
xml2 | ||
Suggests: | ||
ape, | ||
curl, | ||
ggplot2, | ||
hunspell, | ||
knitr, | ||
lintr, | ||
markdown, | ||
nLTT, | ||
rappdirs, | ||
rmarkdown, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -602,5 +602,6 @@ | |
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
#' @import rlang | ||
## usethis namespace: end | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Created by modifying check_bool from import-standalone-type-check. | ||
check_true <- function(x, | ||
..., | ||
allow_na = FALSE, | ||
allow_null = FALSE, | ||
arg = caller_arg(x), | ||
call = caller_env()) { | ||
|
||
if (!missing(x) && !isFALSE(x) &&.standalone_types_check_dot_call(ffi_standalone_is_bool_1.0.7, x, allow_na, allow_null)) { | ||
return(invisible(NULL)) | ||
} | ||
|
||
stop_input_type( | ||
x, | ||
c("`TRUE`"), | ||
..., | ||
allow_na = allow_na, | ||
allow_null = allow_null, | ||
arg = arg, | ||
call = call | ||
) | ||
} | ||
# Adapted from standalone-types-check.R | ||
check_false <- function(x, | ||
..., | ||
allow_na = FALSE, | ||
allow_null = FALSE, | ||
arg = caller_arg(x), | ||
call = caller_env()) { | ||
if (!missing(x) && !isTRUE(x) && .standalone_types_check_dot_call(ffi_standalone_is_bool_1.0.7, x, allow_na, allow_null)) { | ||
return(invisible(NULL)) | ||
} | ||
|
||
stop_input_type( | ||
x, | ||
c("`FALSE`"), | ||
..., | ||
allow_na = allow_na, | ||
allow_null = allow_null, | ||
arg = arg, | ||
call = call | ||
) | ||
} |
Oops, something went wrong.