在R的 RGui中,使用devtools 安装trajeR

@创建于:2024.5.5

在R的 RGui中,使用devtools 安装trajeR。

背景信息
window 64bit,R version 4.1.0 (2021-05-18) 。
在R的Gui中(以管理员身份打开),尝试安装trajeR包。

1. 报错信息

报错信息如下:

> install.packages("trajeR")
将程序包安装入‘C:/Users/chen_/Documents/R/win-library/4.1’
(因为‘lib’没有被指定)
Warning message:
package ‘trajeR’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 

2. 尝试使用指定的清华镜像,没有解决

使用下面两种方式,还是无法安装trajeR包。

# 方式 1
options(repos=structure(c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))) 
install.packages("trajeR")

# 方式 2
install.packages("trajeR", repos="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")

在这里插入图片描述

3. 找到原因:官网把包删除了

2024.5.5,在官网发现如下信息:
https://cran.r-project.org/web/packages/trajeR/index.html

Package ‘trajeR’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2024-01-12 as issues were not corrected despite reminders.

A summary of the most recent check results can be obtained from the
check results archive.

Please use the canonical form
https://CRAN.R-project.org/package=trajeR to link to this page.

在这里插入图片描述

4. 尝试从网上下载,然后安装。没有成功

download.fi
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值