Description Usage Arguments Details Value See Also Examples
A crucial element of good software is software that users can patch
(or at least complain about). check_upstream_repository
consumes package
metadata and identifies from it if users are provided with an actual versioning
system, or contact email, to forward issues or fixes to.
1 | check_upstream_repository(package_metadata)
|
package_metadata |
package metadata retrieved with |
check_upstream_repository
works by checking the "URL" and "BugReports"
fields of the most recent package release - since these are the fields most likely
to contain a valid pointer to an upstream source - for anything that case-insensitively
matches "github", "r-forge", "bitbucket" or "@" (for email addresses). If one is matched,
that's the value. If none are matched, "None/Other".
"GitHub", "R-Forge", "BitBucket", "Email" or "None/Other".
see the package index for more checks.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
#urltools uses GitHub. Let's see if we can identify that.
urltools_metadata <- get_package_metadata("urltools")
check_upstream_repository(urltools_metadata)
#tm uses R-Forge
tm_metadata <- get_package_metadata("tm")
check_upstream_repository(tm_metadata)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.