Problem with function in dynamicSDM package

Hello,

I'm having a problem with a function from dynamicSDM package, when i get a error saying: Error: [rast] filename is empty. Provide a valid filename. However, my path locations are correct, my raster stack is correct (spatraster). What i'm missing here?

> dynamic_proj_covariates(dates = projection_dates,
+                         varnames = variablenames,
+                         local.directory = "E:/abundance_teste/predi",
+                         resample.method = "bilinear",
+                         spatial.ext = sample_2,
+                         static.rasters = predictors,
+                         static.varnames = variablenames,
+                         static.resample.method = "bilinear",
+                         spatial.res.degrees = 0.0089,
+                         cov.file.type = "csv",
+                         save.directory = "E:/abundance_teste/projection_covariates")
Error: [rast] filename is empty. Provide a valid filename

Thank you for the help.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.