如何解决R我无法将其他库导入我的R包
我的目标是在安装我的软件包(名为wcp1108)后,不必键入“ library(ggplot2)”和“ library(grid)”。但是我仍然必须输入。描述和命名空间文件如下。 我能知道应该解决什么吗?
[Description] : the ggplot2 and grid is already in the imports
Package: wcp1108
Title: What the Package Does (One Line,Title Case)
Version: 0.0.0.9000
Authors@R:
person(given = "First",family = "Last",role = c("aut","cre"),email = "first.last@example.com",comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph).
License: `use_mit_license()`,`use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
Imports: ggplot2,grid
NeedsCompilation: no
Packaged: 2020-11-08 11:19:45 UTC; id0101
Author: First Last [aut,cre] (YOUR-ORCID-ID)
Maintainer: First Last <first.last@example.com>
[Namespace]
# Generated by roxygen2: do not edit by hand
export(wcp)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。