Fill NA values in a SpatRast object
fill_na(rst, mask = NULL, layer_names = names(rst))rst and mask should have the same extent and resolution. The NA values in rst
are infilled using the most common neighbouring value through multiple passes of focal.