Skip to content

Commit

Permalink
Run examples in seq
Browse files Browse the repository at this point in the history
  • Loading branch information
ntthung committed Apr 21, 2020
1 parent 1fe8373 commit e030216
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions man/LDS_reconstruction.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/cvLDS.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat/test-non-standard-calls.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
context('non-standard EM')

u <- v <- t(NPpc)
u <- v <- t(NPpc[601:813])

.runThisTest <- Sys.getenv("RunAllTests") == "yes"

if (.runThisTest) {
test_that('Return-raw = TRUE works', {
expect_is(LDS_reconstruction(NPannual, u, v, start.year = 1200, num.restarts = 2, return.raw = TRUE), "list")
expect_is(LDS_reconstruction(NPannual, u, v, start.year = 1800, num.restarts = 2, return.raw = TRUE), "list")
})
}

0 comments on commit e030216

Please sign in to comment.