简体   繁体   English

在R中找到安装的package SHA hash

[英]Find installed package SHA hash in R

I have installed a package from GitHub in R long ago using remotes::install_github .我很久以前使用remotes::install_github在 R 中从 GitHub 安装了 package 。 Since then, the package has had several new commits, and all the commits have the same package version.从那时起,package 有几个新的提交,所有的提交都有相同的 package 版本。 I want to find out which GitHub commit was the one I installed the first time.我想找出我第一次安装的 GitHub 提交。

package_info() can be used: package_info()可以使用:

install.packages("devtools")
library("devtools")
package_info("<package_name>")

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

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