These options will be used on objects of class 'Layer'.
Usage
opts_Layer(constructor = c("default", "layer", "next", "environment"), ...)Details
Depending on constructor, we construct the object as follows:
"default": We attempt to use the function originally used to create the plot."layer": We use theggplot2::layer()function"environment": Reconstruct the object using the general environment method (which can be itself tweaked usingopts_environment())
The latter constructor is the only one that reproduces the object exactly
since Layers are environments and environments can't be exactly copied (see ?opts_environment)
