Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.2.6
Date: 2023-02-01 08:32:27 UTC
SHA: 67779d3a0813d03a2458fdc2305c3b9b3a7e6f41
Version: 0.3.0
Date: 2023-12-11 13:38:35 UTC
SHA: 49af5c4317ff8a957026e21f0e09a9121d74f311
9 changes: 6 additions & 3 deletions tests/testthat/test-gn_parse_tidy.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ skip_on_cran()
skip_on_ci()

test_that("gn_parse_tidy", {
x <- c("Quadrella steyermarkii (Standl.) Iltis & Cornejo",
"Parus major Linnaeus, 1788", "Helianthus annuus var. texanus")
x <- c(
"Quadrella steyermarkii (Standl.) Iltis & Cornejo",
"Parus major Linnaeus, 1788",
"Helianthus annuus var. texanus"
)
z <- gn_parse_tidy(x)

expect_is(z, "data.frame")
Expand All @@ -15,5 +18,5 @@ test_that("gn_parse_tidy", {
name <- "Parus major Linnaeus, 1788"
w <- gn_parse_tidy(name)
expect_equal(w$verbatim, name)
expect_equal(w$authorship, "Linnaeus 1788")
expect_equal(w$authorship, "Linnaeus, 1788")
})
Loading