Trying to knit in r studio and getting this error?

Error in spread(Data_Extract_From_WDI_names, "Series Name", "2018") :
object 'Data_Extract_From_WDI_names' not found
Calls: ... withVisible -> eval_with_user_handlers -> eval -> eval -> spread
Execution halted
and I have this above
datw = readxl::read_excel("~/Desktop/Data_Extract_From_WDI_names.xlsx", sheet = "Data")
and Im confused on how to fix it


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.