burn_sparse() has been removed. Use burn() instead, which produces identical output for polygon input and also supports lines and points.

burn_sparse(...)

Arguments

...

ignored