Replace httr with httr2
Change-Id: I196d7eed6560a560a74d31cdaba8715c89e4b4cf
diff --git a/tests/testthat/test-collocations.R b/tests/testthat/test-collocations.R
index 5f4e4c5..9734173 100644
--- a/tests/testthat/test-collocations.R
+++ b/tests/testthat/test-collocations.R
@@ -21,18 +21,13 @@
collocationAnalysis(
kco,
"focus([tt/p=ADJA] {Newstickeritis})",
- vc = "corpusSigle=/W.D17/",
leftContextSize = 1,
rightContextSize = 0,
- searchHitsSampleLimit = 100,
- topCollocatesLimit = 1,
- exactFrequencies = FALSE,
- maxRecurse = 2
),
"access token"
)
expect_gt(df$O, df$E)
- expect_gt(df$logDice, 1)
+ expect_gt(df$logDice, -1)
})
test_that("collocationAnalysis on unaccounted strings does not error out", {