Both functions compare the Depends field of the DESCRIPTION of the BiocCaseStudies package. requiredPackages is run before a build of the book. It throws an error if there are any missing or outdated packages. packages2install returns a character vector of packages that need (re)installing.
这两个功能比较DependsDESCRIPTION包BiocCaseStudies领域。 requiredPackages运行之前,这本书的构建。它抛出一个错误,如果有任何丢失或过时的包。 packages2install返回的需要(重新)安装的软件包的特征向量。
用法----------Usage----------
requiredPackages(load=FALSE)
packages2install()
参数----------Arguments----------
参数:load
Logical. Should all packages be loaded?
逻辑。如果所有的包被加载?
值----------Value----------
requiredPackages returns invisible(NULL). The function is called for its side effects. packages2install returns a character vector that can be passed to the biocLite function from the biocLite.R script.
requiredPackages返回invisible(NULL)。该功能被称为它的副作用。 packages2install返回一个字符向量可以通过biocLite函数biocLite.R脚本。