我尝试tidy verse在 R studio 中安装该包并收到这些错误。
> install.packages('tidyverse')\nalso installing the dependency \xe2\x80\x98rstudioapi\xe2\x80\x99\n\n There is a binary version available but the source version is later:\n binary source needs_compilation\nrstudioapi 0.9.0 0.10 FALSE\n\ntrying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/tidyverse_1.2.1.tgz'\nContent type 'application/x-gzip' length 88754 bytes (86 KB)\n==================================================\ndownloaded 86 KB\n\n\nThe downloaded binary packages are in\n /var/folders/kn/b21xc36111z157czpz0swc900000gn/T//RtmpeVGvVh/downloaded_packages\ninstalling the source package \xe2\x80\x98rstudioapi\xe2\x80\x99\n\ntrying URL 'https://cran.rstudio.com/src/contrib/rstudioapi_0.10.tar.gz'\nContent type 'application/x-gzip' length 61888 bytes (60 KB)\n==================================================\ndownloaded 60 KB\n\nError in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : \n there is no package called …Run Code Online (Sandbox Code Playgroud)