gpt4 book ai didi

r - R包的Gitignore man目录?

转载 作者:IT王子 更新时间:2023-10-29 00:39:08 24 4
gpt4 key购买 nike

因为 R 包的 man/ 目录中的每个文件都是自动用包 roxygen2 写入的,我想知道什么会阻止我将整个目录添加到我的 .gitignore.

换句话说,为什么 GitHub 上的所有 R 包仍然对 man/ 目录进行版本控制?

最佳答案

为了方便使用 devtools::install_github() 的用户。

如果 man/*.Rd 不在 repo 中,他们将收到类似 No man pages found in package... 的注释,在安装和之后,help(...)?...??... 将因 No documentation 对您的用户失败code> 或 未找到结果

关于r - R包的Gitignore man目录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45834808/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com