Maybe you're missing RTools or there is some issue with it. It might be something to do with the packages are installed. Otherwise, maybe related to one of these:
Maybe you're missing RTools or there is some issue with it. It might be something to do with the packages are installed. Otherwise, maybe related to one of these: