tests/testthat/test-rp.datalink.R

#     Tests for the rp.datalink

# setwd('rpanel')
# library(devtools)
# library(testthat)
# load_all()

# test_that('Standard calls', {
#    expect_no_error(rp.datalink('covid19_deaths_scotland'))
#    expect_no_error(rp.datalink("global_temperature"))
#    expect_no_error(rp.datalink("~/Desktop/temp_dir", "set local directory"))
#    expect_no_error(rp.datalink('NAO', 'download'))
#    expect_no_error(rp.datalink('all', 'download'))
# })

Try the rpanel package in your browser

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

rpanel documentation built on March 12, 2026, 9:07 a.m.