Closed cbeleites closed 2 years ago
One of the solutions is to add a log
argument to new("hyperSpec", ...)
, which is sued only for backward compatibility (i.e., not to break the result of dput()
). In the future, this can be solved in a more systematic way.
gives:
Which throws an error due to trying to assign the log slot.
This prevents
reprex()
from working with user-supplied spectra