powered by
Check if .tar.gz file is an R package.
.tar.gz
is.r.package(targz, spec = NULL, warn = TRUE)
a filename ending with tar.gz.
tar.gz
an optional list generated with parse.repo.
parse.repo
whether to warn if the file contents look like an R package nested inside a repository.
Logical indicating whether targz is an R package.
targz
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.
spec
# NOT RUN { is.r.package("bootstrap/software/SAM.tar.gz") is.r.package("bootstrap/software/stockassessment.tar.gz") # } # NOT RUN { # }
Run the code above in your browser using DataLab