Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.
In this case, the reason is necessarily speculative without a reprex
, particularly in light of the absence of the train
object.