Description Usage Arguments Details Value Note Author(s) See Also Examples
View source: R/base_importPackage.R
Fast way to use import for a new package
1 | importPackage(path.namespace = ".")
|
path.namespace |
the path of NAMESPACE file of the new package |
1. The package must be managed via roxygen2-package
;
2. The package import relationship must be updated via roxygenise
a complete import relationship in DESCRIPTION file of a new package
before use importPackage()
, you have to run roxygen2::roxygenise()
before in order to gather correct package usage from this new package.
Weibin Huang<654751191@qq.com>
1 2 | # If you are in the space of a new package, just
importPackage()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.