tests/testthat/test-function-ftp_path_daily_grids.R

test_that("ftp_path_daily_grids() works", {

  f <- kwb.dwd:::ftp_path_daily_grids

  result <- f()

  expect_type(result, "character")
  expect_length(result, 1L)
  expect_true(startsWith(result, "ftp://"))
})
KWB-R/kwb.dwd documentation built on Sept. 28, 2022, 6:03 p.m.