# Some highly motivated object, even a list
x <- list(my_dream = "I want to be a yield table!")
x <- new_fe_yield_table(x) # let's help the guy
is_fe_yield_table(x) # nice - it worked?!
# But here's the error. That's why you should not use the bare constructor
# if you don't know what you are doing.
try(
validate_fe_yield_table(x)
)
Run the code above in your browser using DataLab