简体   繁体   English

找不到功能“find_rtools”

[英]could not find function “find_rtools”

R 3.5.1 windows 7 installed rTools35.exe while checking if rtools is installed properly, getting an error: R 3.5.1 windows 7在检查rtools是否安装正确时安装了rTools35.exe,收到错误:

library(devtools) find_rtools() Error in find_rtools() : could not find function "find_rtools" library(devtools)find_rtools()find_rtools()出错:找不到函数“find_rtools”

Screenshot of error: 错误的屏幕截图:

在此输入图像描述

You need to load "pkgbuild" for that version by running library(pkgbuild) . 您需要通过运行library(pkgbuild)为该版本加载“pkgbuild”。 Then you can call find_rtools() . 然后你可以调用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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM