# S4 method for SpatRaster
varnames(x)# S4 method for SpatRaster
varnames(x)<-value
# S4 method for SpatRaster
longnames(x)
# S4 method for SpatRaster
longnames(x)<-value
# S4 method for SpatRasterDataset
varnames(x)
# S4 method for SpatRasterDataset
varnames(x)<-value
# S4 method for SpatRasterDataset
longnames(x)
# S4 method for SpatRasterDataset
longnames(x)<-value