Skip to content

Commit

Permalink
Merge pull request #57 from ldecicco-USGS/master
Browse files Browse the repository at this point in the history
Fixes required by CRAN
  • Loading branch information
ldecicco-USGS authored Apr 1, 2019
2 parents 250b4b0 + 030936d commit fa3fa79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: EGRETci
Type: Package
Title: Exploration and Graphics for RivEr Trends Confidence Intervals
Version: 2.0.2
Version: 2.0.3
Authors@R: c(person("Laura", "DeCicco", role = c("aut","cre"),
email = "[email protected]",
comment=c(ORCID="0000-0002-3915-9487")),
Expand Down
1 change: 1 addition & 0 deletions R/wBTCode.R
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ setForBoot<-function (eList,caseSetUp, windowY = 7, windowQ = 2,
blockSample <- function(localSample, blockLength, startSeed = NA){

if(!is.na(startSeed)){
suppressWarnings(RNGversion("3.5.0"))
set.seed(startSeed)
}

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/tests_boot_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ test_that("wordLike", {
})

test_that("blockSample", {
skip_on_cran()
Sample <- eList$Sample
suppressWarnings(RNGversion("3.5.0"))
set.seed(1)
bsReturn <- blockSample(Sample, 25)

Expand Down

0 comments on commit fa3fa79

Please sign in to comment.