Do the raster cells have a rotation?
rotated(x)
x
A Raster* object
Logical value
rectify
Run examples
r <- raster() rotated(r)