When you knit an Rmd document the code gets executed on a clean environment other than your current working environment where hotelRH.15
already exists, so you have to include the code to import/create hotelRH.15
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.