use the NULL option from getOption

small tidy up `tikz_writeRaster`