From 2c282ff2fdd2c7998b4c9b682a9227b05e2af91c Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Sat, 10 Jun 2017 12:17:01 +0200 Subject: [PATCH] Prepare for release --- DESCRIPTION | 2 +- tests/testthat/test-detect.R | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7fea83b..bf3090b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", ,"jeroen@berkeley.edu", role = c("aut", "cre")), person("Dirk Sites", role = "cph", comment = "Author of CLD2 C++ library") diff --git a/tests/testthat/test-detect.R b/tests/testthat/test-detect.R index 7bb4440..7d3d11d 100644 --- a/tests/testthat/test-detect.R +++ b/tests/testthat/test-detect.R @@ -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")