is.r.package {TAF} | R Documentation |
Is R Package
Description
Check if ‘.tar.gz’ file is an R package.
Usage
is.r.package(targz, spec = NULL, warn = TRUE)
Arguments
targz |
a filename ending with |
spec |
an optional list generated with |
warn |
whether to warn if the file contents look like an R package nested inside a repository. |
Details
The only purpose of passing spec
is to get a more helpful warning
message if the file contents look like an R package nested inside a
repository.
Value
Logical indicating whether targz
is an R package.
Examples
## Not run:
is.r.package("boot/software/SAM.tar.gz")
is.r.package("boot/software/stockassessment.tar.gz")
## End(Not run)
[Package TAF version 4.2.0 Index]