Please have a look to our homework policy, homework inspired questions are welcome but they should not include verbatim instructions from your course.
About your error message, it seems you are entering the wrong path to your file.
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.