Are you using R4.0 and rtools4? These kinds of errors can occur when upgrading your R and RTools version to the latest versions.
Can you try the instructions in the post below and see if they fix the problem?
Are you using R4.0 and rtools4? These kinds of errors can occur when upgrading your R and RTools version to the latest versions.
Can you try the instructions in the post below and see if they fix the problem?