Error while knit the R markdown

Hai, When i knit the file, error is showing . All necessary package are loaded. Kindly help

Can you confirm if in your data you have a column named "player_of_match"

1 Like

When you knit an Rmd document the code gets executed in a clean environment other than the one you are currently working on, so you need to include in the Rmd file the code to import or define your data as well. Otherwise is going to work when run interactively (in your current environment) but not when knitted (on a clean environment).

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.


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.