Skip to content

Commit

Permalink
Moved tests.R to tests/testthat/helper_functions.R.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Feb 19, 2020
1 parent fc06231 commit fa12727
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ Imports:
SQUAREM,
etrunct,
invgamma
LinkingTo: Rcpp
Suggests:
testthat,
knitr,
rmarkdown,
ggplot2,
REBayes
LinkingTo: Rcpp
License: GPL (>=3)
NeedsCompilation: yes
LazyData: true
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions tests/testthat/test_optmethod.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
context("ashr optimization algorithms")
source("helper_functions.R")

test_that("control is passed to optmethod correctly when method is mixIP", {
skip_if_mixkwdual_doesnt_work()
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test_w_mixEM.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
context("ashr with weighted samples")
source("helper_functions.R")

test_that("optimization with weights matches expectations", {
set.seed(1)
Expand Down

0 comments on commit fa12727

Please sign in to comment.