Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
skip tests on cran
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Oct 23, 2018
1 parent a32cf7c commit 70d3c5d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-abstract.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
context("ma_abstract")

test_that("ma_abstract works as expected", {
skip_on_cran()

vcr::use_cassette("ma_abstract", {
aa <- ma_abstract(query = "Y='19'...", count = 10)

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-calchist.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
context("ma_calchist")

# test_that("ma_calchist works as expected", {
# skip_on_cran()
# ## FIXME: add vcr back later, rate limit exceeded on this, must have changed to be very very few per time period
# vcr::use_cassette("ma_calchist", {
# aa <- ma_calchist(query = "And(Composite(AA.AuN=='jaime teevan'),Y>2012)",
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-evaluate.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
context("ma_evaluate")

test_that("ma_evaluate works as expected", {
skip_on_cran()

vcr::use_cassette("ma_evaluate", {
aa <- ma_evaluate(query = "Y='19'...")

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-interpret.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
context("ma_interpret")

test_that("ma_interpret works as expected", {
skip_on_cran()

vcr::use_cassette("ma_interpret", {
aa <- ma_interpret(query = "papers by jaime'...")

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-search.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
context("ma_search")

test_that("ma_search works as expected", {
skip_on_cran()

vcr::use_cassette("ma_search", {
aa <- ma_search(query = "Y='19'...")

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-similarity.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
context("ma_similarity")

test_that("ma_similarity works as expected", {
skip_on_cran()

s1 <- "Using complementary priors, we derive a fast greedy algorithm that
can learn deep directed belief networks one layer at a time, provided the
top two layers form an undirected associative memory"
Expand Down

0 comments on commit 70d3c5d

Please sign in to comment.