tests/testthat/test-get_lai_forcing.R

library(SticsRFiles)

stics_version <- get_stics_versions_compat()$latest_version
version_num <- get_version_num()

context("Test LAI Forcing")

workspace_path <- get_examples_path("xml", stics_version = stics_version)
xml_usms <- file.path(workspace_path, "usms.xml")
get_lai_forcing(xml_usms, "wheat")

test_that("Lai Forcing", {
  expect_false(get_lai_forcing(xml_usms, "wheat"))
})

Try the SticsRFiles package in your browser

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

SticsRFiles documentation built on Sept. 12, 2024, 7:41 a.m.