Current connection to host code displayed in the vignette is different from the code that a user needs to run. I suggest making a new chunk of R code that is not evaluated or run that displays the code a user should run and its output, i.e.
and then having the existing chunk of code in the vignette actually be the code that is run, but have it be not displayed in the vignette. It would be a bit of a "lie" to the end user, but I think would achieve the same end result without having to explain why the code in the vignette is different from what they need to run.
Current connection to host code displayed in the vignette is different from the code that a user needs to run. I suggest making a new chunk of R code that is not evaluated or run that displays the code a user should run and its output, i.e.
and then having the existing chunk of code in the vignette actually be the code that is run, but have it be not displayed in the vignette. It would be a bit of a "lie" to the end user, but I think would achieve the same end result without having to explain why the code in the vignette is different from what they need to run.