f <- system.file("ex/test.rds", package="terra")
x <- rast(f)
y <- rast(nrows=2, ncols=2, vals=1:4, names="random")
time(y) <- as.POSIXct("2025-01-25 21:28:51", tz="UTC")
expect_true(all.equal(x, y))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.