Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘geodl-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: luz_metric_f1score > ### Title: luz_metric_f1score > ### Aliases: luz_metric_f1score > > ### ** Examples > > ## No test: > library(terra) terra 1.9.11 > library(torch) > #Generate example data as SpatRasters > ref <- terra::rast(matrix(sample(c(1, 2, 3), 625, replace=TRUE), nrow=25, ncol=25)) > pred1 <- terra::rast(matrix(sample(c(1:150), 625, replace=TRUE), nrow=25, ncol=25)) > pred2 <- terra::rast(matrix(sample(c(1:150), 625, replace=TRUE), nrow=25, ncol=25)) > pred3 <- terra::rast(matrix(sample(c(1:150), 625, replace=TRUE), nrow=25, ncol=25)) > pred <- c(pred2, pred2, pred3) > > #Convert SpatRaster to array > ref <- terra::as.array(ref) > pred <- terra::as.array(pred) > > #Convert arrays to tensors and reshape > ref <- torch::torch_tensor(ref, dtype=torch::torch_long()) Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Execution halted