tests/testthat/test-figshare.R

if(require("suppdata") & require("testthat")){
    
    context("Figshare")

    test_that("Figshare works with minimal input", {
        skip_on_cran()
        expect_true(file.exists(suppdata("10.6084/m9.figshare.979288", 1)))
    })

}

Try the suppdata package in your browser

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

suppdata documentation built on Oct. 17, 2023, 1:07 a.m.