You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Posit Cloud免费版安装Tidyverse失败:rlang依赖404错误求助

Posit Cloud免费版安装Tidyverse库报错求助

环境:Posit Cloud免费版,R版本4.5.3(2026-03-11)

执行install.packages("tidyverse")时出现两类错误:

Warning: invalid package ‘/tmp/Rtmprr2mTv/downloaded_packages/rlang_1.1.7.tar.gz’
Error: ERROR: no packages specified
1: In .rs.downloadFile(url = c("http://rspm/default/__linux__/noble/latest/src/contrib/fastmap_1.2.0.tar.gz",  :
  cannot open URL 'http://rspm/default/__linux__/noble/latest/src/contrib/rlang_1.1.7.tar.gz': HTTP status was '404 Not Found'
2: In .rs.downloadFile(url = c("http://rspm/default/__linux__/noble/latest/src/contrib/fastmap_1.2.0.tar.gz",  :
  some files were not downloaded
3: In utils::install.packages("tidyverse") :
  installation of package ‘rlang’ had non-zero exit status

尝试加载库时执行library(tidyverse)报错:

Error: package or namespace load failed for ‘tidyverse’:
 .onAttach failed in attachNamespace() for 'tidyverse', details:
  call: NULL
  error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘rlang’

单独执行install.packages("rlang")安装依赖包rlang同样失败,报错:

1: In .rs.downloadFile(url = urls, destfile = destfiles, method = "libcurl",  :
  downloaded length 0 != reported length 47
2: In .rs.downloadFile(url = urls, destfile = destfiles, method = "libcurl",  :
  cannot open URL 'http://rspm/default/__linux__/noble/latest/src/contrib/rlang_1.1.7.tar.gz': HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  download of package ‘rlang’ failed

内容的提问来源于stack exchange,提问作者JenInfinity

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.01 13:07:41