What prompted the message? If you ran a line of code that just said reprex, this is what I would expect to see.
If you have the code you'd like to render as a reprex on your clipboard you need to either run library(reprex) beforehand and just run reprex() in the console, or run reprex::reprex() in the console with the namespace prefixed.
FYI, if you've installed library(tidyverse) you already have reprex installed.
Yep. reprexes have to be self-contained, so it's likely it doesn't know where test2.csv is. That's not a bad thing, because no one else has that file either, so they wouldn't be able to reproduce your work anyhow!
See this thread for how to include your data in a reprex:
I also recently wrote up a quick post with gifs on how to use datapasta with reprex here: