Hi, and welcome!
For future coding-related questions, please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers. This question doesn't require one.
It looks like you're missing RTools
. See this link