tests/testthat/test_delete_journal_citation.R

context("Delete journal citation")

testthat::test_that("delete_journal_citation() works", {
  # Also tested in test_create_journal_citation.R
  vcr::skip_if_vcr_off()
  journalCitationId <- 183
  vcr::use_cassette("delete_journal_citation", {
    res <- delete_journal_citation(journalCitationId, env = "staging")
  })
  expect_true(res)
})

Try the EDIutils package in your browser

Any scripts or data that you put into this service are public.

EDIutils documentation built on Oct. 11, 2023, 1:08 a.m.