tests/testthat/test-Artifact.R

artifact <- ln$Artifact$from_df(
  ln$core$datasets$small_dataset1(otype = "DataFrame", with_typo = TRUE),
  key = "my_datasets/rnaseq1.parquet"
)

test_that("Setting description works", {
  expect_null(artifact$description)
  expect_no_error(artifact$description <- "Description")
  expect_identical(artifact$description, "Description")
})

Try the laminr package in your browser

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

laminr documentation built on March 13, 2026, 5:08 p.m.