Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
completely comment out old tests, install suggested pkgs on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Mar 4, 2016
1 parent 38b791f commit f764145
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-count.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
2 changes: 0 additions & 2 deletions tests/testthat/test-sample.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f764145

Please sign in to comment.