From e9b87827bd605cbe4db01a276d33d8f14181acdd Mon Sep 17 00:00:00 2001 From: DeCicco Date: Thu, 14 Mar 2019 16:55:16 -0500 Subject: [PATCH 1/2] Getting EGRETci ready --- R/wBTCode.R | 1 + tests/testthat/tests_boot_tests.R | 2 ++ 2 files changed, 3 insertions(+) diff --git a/R/wBTCode.R b/R/wBTCode.R index ab9eb70..d22c414 100644 --- a/R/wBTCode.R +++ b/R/wBTCode.R @@ -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) } diff --git a/tests/testthat/tests_boot_tests.R b/tests/testthat/tests_boot_tests.R index b615fab..d643278 100644 --- a/tests/testthat/tests_boot_tests.R +++ b/tests/testthat/tests_boot_tests.R @@ -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) From 030936ddbe076a5592431feea9d3ca2b3c3b1f9f Mon Sep 17 00:00:00 2001 From: DeCicco Date: Thu, 14 Mar 2019 16:55:55 -0500 Subject: [PATCH 2/2] New version --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index b9156cd..6a01a92 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = "ldecicco@usgs.gov", comment=c(ORCID="0000-0002-3915-9487")),