I am trying to stack two bands together, but it shows empty layers ignored. Please see the code below:
r<-raster("F:\\\\....\\\\Land_Cover.tif")