Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jun 10, 2017
1 parent 1bd039c commit 2c282ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: cld2
Type: Package
Title: Google's Compact Language Detector 2
Version: 1.0.9000
Version: 1.1
Authors@R: c(
person("Jeroen", "Ooms", ,"[email protected]", role = c("aut", "cre")),
person("Dirk Sites", role = "cph", comment = "Author of CLD2 C++ library")
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-detect.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ test_that("vectorised input works", {
})

test_that("language detection is accurate", {
skip_on_os("solaris")
# Doesn't work on sparc
skip_if_not(.Platform$endian == "little")
expect_equal(detect_language("To be or not to be"), "en")
expect_equal(detect_language("Ce n'est pas grave."), "fr")
expect_equal(detect_language("Nou breekt mijn klomp!"),"nl")
Expand Down

0 comments on commit 2c282ff

Please sign in to comment.