Re-exported nlayers
method from 'raster'
package to avoid failing when working on 'raster' objects without having
'raster' loaded first.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.