tests/testthat/test-basic.R

test_that("join_weather is available", {
  expect_true(exists("join_weather"))
  expect_true(is.function(join_weather))
})

test_that("cache dir helper returns a path", {
  p <- .cache_dir(cache_scope = "project", pkg = "weatherjoin")
  expect_true(is.character(p))
  expect_true(nchar(p) > 0)
})

Try the weatherjoin package in your browser

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

weatherjoin documentation built on Feb. 4, 2026, 5:11 p.m.