Nothing
test_that("read_output reads bundled APSIMX example", {
apsimx_file <- system.file("example", "cultivar.apsimx", package = "rapsimng.decide.core")
expect_true(nzchar(apsimx_file))
expect_true(file.exists(apsimx_file))
result <- read_output(apsimx_file)
expect_s3_class(result, "data.frame")
expect_gt(nrow(result), 0)
expect_true(all(c(
"Clock.Today",
"SowingDate",
"Cultivar",
"Fertilisation",
"SowingDOY",
"Year"
) %in% names(result)))
expect_s3_class(result$Clock.Today, "Date")
expect_type(result$SowingDOY, "double")
expect_type(result$Year, "double")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.