I hope someone can help me solve an issue in Quarto. I am trying to render a pdf, the code works fine in R, also the chunk I have issues with executes fine in Quarto, but when I render it, it halts with this message:
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between
```
It was a banal oversight from my side. I named 2 datasets "all" in separate analysis in R but Quarto manged to pull the other dataset somehow from the middle of the document down. So I just respcified in the R chunk right before the problematic lines which of these data sets was to be used and it rendered fine. I stil have not found out why did this happen, but as I've got the result I wanted i just moved on.