Reputation: 31
R 3.5.1 windows 7 installed rTools35.exe while checking if rtools is installed properly, getting an error:
library(devtools) find_rtools() Error in find_rtools() : could not find function "find_rtools"
Screenshot of error:
Upvotes: 2
Views: 2555
Reputation: 6162
You need to load "pkgbuild" for that version by running library(pkgbuild)
. Then you can call find_rtools()
.
> library(devtools)
> find_rtools()
Error in find_rtools() : could not find function "find_rtools"
> library(pkgbuild)
Attaching package: ‘pkgbuild’
The following object is masked from ‘package:devtools’:
build
> find_rtools()
[1] TRUE
Upvotes: 4