diff --git a/appveyor.yml b/appveyor.yml index 9043ba6..a3dddb3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,6 +11,7 @@ install: ps: Bootstrap build_script: + - travis-tool.sh r_install maps geojsonio - travis-tool.sh install_github jeroenooms/V8 - travis-tool.sh install_deps diff --git a/tests/testthat/test-count.R b/tests/testthat/test-count.R index d1bfc0a..d22300a 100644 --- a/tests/testthat/test-count.R +++ b/tests/testthat/test-count.R @@ -16,5 +16,4 @@ test_that("lawn_count works", { test_that("count fails correctly", { expect_error(lawn_count(), "argument \"polygons\" is missing, with no default") expect_error(lawn_count(polygons = ply, points = 4), "Cannot read property") - #expect_error(lawn_count(polygons = ply, points = pts, NULL), "expecting a single value") }) diff --git a/tests/testthat/test-sample.R b/tests/testthat/test-sample.R index c47ff83..9e0347e 100644 --- a/tests/testthat/test-sample.R +++ b/tests/testthat/test-sample.R @@ -26,8 +26,6 @@ test_that("n parameter works as expected", { }) test_that("lawn_sample fails correctly", { - # missing arguments - #expect_error(lawn_sample(), "expecting a single value") # n of negative number gives back no data expect_equal(length(lawn_sample(dat, -1)$features), 0) # n of character string errors