[英]Issue installing devtools on R and dependency on usethis and fs
我正在嘗試讓開發工具在devtools
上工作。 我使用以下方法安裝了 package:
install.packages("devtools")
當我跑步時
library(devtools)
我得到錯誤:
Loading required package: usethis
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘fs’
Error: package ‘usethis’ could not be loaded
所以我嘗試使用install.packages('fs')
安裝fs
,但是當我運行library(fs)
時,我收到錯誤Error in library(fs): there is no package called 'fs'
而且我安裝了usethis
但我猜是取決於fs
因為當我運行它時,我得到:
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘fs’
我想知道如何解決這個問題?
我認為您需要 Rcpp package 依賴項。 安裝它:
install.packages("Rcpp", dependencies = TRUE)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.