In an RMarkdown file I use the code

to add a picture, which it does in the source, add the photo I want, but when I knit to HTML it comes back with the error
File ~/RStudio/dsc520/assignments/assignment04/10-all-cases-log.png not found in resource path
Error: pandoc document conversion failed with error 99
I have both my Rmd file and my png in the same path so I'm not sure why I am getting the error.