Oh okay then👍I use 4.1.2 version of R. So if the version of R is 4.1.2, should I have to update RTools 42 or RTools 41 (I’m not sure of it exist or not😅)?
For R 4.1.2 you need RTools 40. Don’t forget to put RTools on the path as described here.
Finally It solved! Thank you so much @schuemie !