Personally, I prefer to use dummy data to re-create and solve challenges. Sometimes including complicated data in an example, takes focus away from the core problem you are trying to address (imho).
However, if the problem pertains to a function embedded deep in a package, this can be difficult. If this is the case, then you will have to supply your data (or a small enough part to reproduce the error) along with the code, which results in the error.
Hope this helps 