Skip to content

Commit

Permalink
Fixing merge conflicts
Browse files Browse the repository at this point in the history
Merge branch 'FixingTests' into dev

# Conflicts:
#	DESCRIPTION
#	tests/testthat/test-JPSD2F.R
#	tests/testthat/test-One_Sample.R
#	tests/testthat/test-RSSDF.R
#	tests/testthat/test-RSSNRF.R
#	tests/testthat/test-rss_sample.R
#	tests/testthat/test-sbs_pps_estimate.R
#	tests/testthat/test-sbs_pps_sample.R
  • Loading branch information
rogerssam committed May 23, 2024
2 parents b782b4a + 423924f commit 40a834e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ URL: https://biometryhub.github.io/RankedSetSampling/
BugReports: https://github.com/biometryhub/RankedSetSampling/issues
Depends:
R (>= 3.5.0)
Imports:
Imports:
Rcpp,
ggplot2,
SDaA,
FNN
Suggests:
Suggests:
covr,
testthat,
parallel
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-rss_sample.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
test_that("RSS has a correct output.", {
skip_if(getRversion() < "3.4")
matrix_ <- matrix(1:200, ncol = 2)

rss_matrix_w_replacement <- rss_sample(matrix_, 100, 10, 2, TRUE)
Expand Down
3 changes: 0 additions & 3 deletions tests/testthat/test-sbs_pps_estimate.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
test_that("An SBS PPS estimator works.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")
load("../expected_sbs_pps_estimate.RData")

Expand All @@ -16,7 +15,6 @@ test_that("An SBS PPS estimator works.", {
})

test_that("An SBS PPS estimator works for PPS only.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")
load("../expected_pps_estimate.RData")

Expand All @@ -33,7 +31,6 @@ test_that("An SBS PPS estimator works for PPS only.", {
})

test_that("An SBS PPS estimator works for SBS only.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")
load("../expected_sbs_estimate.RData")

Expand Down
3 changes: 0 additions & 3 deletions tests/testthat/test-sbs_pps_sample.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
test_that("An SBS PPS sample works.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")

n_sbs <- 20
Expand All @@ -20,7 +19,6 @@ test_that("An SBS PPS sample works.", {
})

test_that("An SBS PPS sample works for PPS only.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")

n_sbs <- 0
Expand All @@ -33,7 +31,6 @@ test_that("An SBS PPS sample works for PPS only.", {
})

test_that("An SBS PPS sample works for SBS only.", {
skip_if(getRversion() < "3.4")
load("../sbs_pps_input.RData")

n_sbs <- 20
Expand Down

0 comments on commit 40a834e

Please sign in to comment.