forked from ThinkR-open/thinkr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ThinkR-open#4 : ajout de tests sur find_name
- Loading branch information
philippe courteix
committed
Jan 25, 2022
1 parent
30f581e
commit 4c1dbf2
Showing
3 changed files
with
14 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
Package: thinkr | ||
Title: Tools for Cleaning Up Messy Files | ||
Version: 0.15 | ||
Authors@R: | ||
c(person(given = "Vincent", | ||
family = "Guyader", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0003-0671-9270")), | ||
person(given = "Sébastien", | ||
family = "Rochette", | ||
role = "aut", | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-1565-9313")), | ||
person(given = "ThinkR", | ||
role = "cph")) | ||
Authors@R: c( | ||
person("Vincent", "Guyader", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-0671-9270")), | ||
person("Sébastien", "Rochette", , "[email protected]", role = "aut", | ||
comment = c(ORCID = "0000-0002-1565-9313")), | ||
person("ThinkR", role = "cph") | ||
) | ||
Description: Some tools for cleaning up messy 'Excel' files to be suitable | ||
for R. People who have been working with 'Excel' for years built more | ||
or less complicated sheets with names, characters, formats that are | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 @@ | ||
test_that("find_name works", { | ||
# Checking object | ||
expect_equal(find_name(iris,"Sepal"),list(rang = 1:2, valeur = c("Sepal.Length", "Sepal.Width"))) | ||
# Checking object length | ||
expect_equal(length(find_name(iris,"Sepal")),2) | ||
}) |