I'd be curious to see what the error message was, ideally a screenshot of the error message from community.rstudio.com. Do you recall the text, or can you reproduce it now?
(Talk about meta, it feels like I'm basically asking for a reproducible example of the error this website give you when you to share your coding reprex!
)