Skip to content

Commit

Permalink
Remove test around match.arg
Browse files Browse the repository at this point in the history
Problematic in R CMD check as “ “ are converted to \" \"
  • Loading branch information
damianooldoni committed Mar 29, 2023
1 parent 67fc4cb commit 7221ea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions man/indicator_native_range_year.Rd

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

6 changes: 0 additions & 6 deletions tests/testthat/test-indicator_native_range_year.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ test_that("Arg: type", {
years = 2001),
"'arg' must be NULL or a character vector"
)
expect_error(
indicator_native_range_year(cleaned_input_test_df,
type = "aaa",
years = 2001),
"'arg' should be one of “native_range”, “native_continent”"
)
a <- cleaned_input_test_df
colnames(a)[colnames(a) == "native_range"] <- "l"
expect_error(
Expand Down

0 comments on commit 7221ea2

Please sign in to comment.