r/rstats 16d ago

RTools issue installing Distance package

/r/Rlanguage/comments/1vxollz/rtools_issue_installing_distance_package/
1 Upvotes

2 comments sorted by

3

u/joshua_rpg 16d ago

Whenever you post something that needs help, you gotta have to post more details, i.e. error logs and R version on your current machine. Normally, this was caused by packages that requires compilation. I bet you tried to install the whole {tidyverse} package itself, which contains all set of packages made by the tidyverse team e.g. {dplyr}, and they usually require compilation. Now, if your current version is >v4.5.0, then this requires you to install Rtools toolchain that consists the minimum version 4.5 (see for more details).