Check that the latest release of the package at username/repo has been signed.

retrieve_release_signature(repo, verbose = TRUE)

Arguments

repo

Repository address in the format username/repo

verbose

if TRUE then a message will be returned with information about the signer of the package.

Examples

retrieve_release_signature("hrbrmstr/hrbrthemes")
#> $verified #> [1] TRUE #> #> $reason #> [1] "valid" #> #> $signature #> [1] "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABCAAdFiEE6jzCzOywJa54wkT3HXUpvhTiu6kFAlxE+cIACgkQHXUpvhTi\nu6lGvBAAgQW6FjRdUhyRhwzbQkDP5cZsn0YDK+BpN4z6OeZW+t6qxuHKSZuoredP\namaW9bH+qLlfWY3l2eFiYaoaFiMN8YOATzkZ8P4FQk1MWr9pnZhkFkA8jl6trIQK\nNoudOX8WMz0Qk5nwNDRgDTVRHH1OttkoS6m3CRAIinpZv8BUMns9R/xcu9AIA+2v\n2Y6arD9IMUz000j8Zsm5Cfm9Dy7S2OdKDMz0wd2n1GahNAKQDsfaMfMa7CCQgtT9\njb5ZUovKVsZJpcRrD/NODE/BvkcW9l2fyXFg3XXDtB+8F4uiOjDmwDGMYSmBD8fl\ncHwhSzY0eQgP2R7f8OC/qZlaU8cXsuTOcWuRyUMYnb5WWFGzgl8uOwjgiswCDN1S\noE9S4mdp3ml3RW7dB1/9A8pdHTp+vXHpr8FVu14lBZ83yppoMWKtkyU5pJsV4qEd\n/4ojp80kVhocSxrZ7mMFMUZHyXGRmzNetRKjOiAFKt0LFJ1BiqCe8yJMxWH1J99q\nxHdV+TvPN6887Z7H91EiJopKZVuPSSA09qTvi9i75YqNyLUFXZDBsmZ4j19kEWdR\ng3sM2g+/KDqQQzLaAhSViGx6IIkSVPGD584T+pCHBVRTSJzk1ssy03iYZx8JkZ/v\nndfCZ7DrrB6SExSsDO83jlDLAZ7z1JHQPzDY909NR0+p/4+N6d4=\n=L6vg\n-----END PGP SIGNATURE-----" #> #> $payload #> [1] "tree ae6daafe6554f67ee080d0deb47b6aa229af6810\nparent e42d295063132b53ee6d418cb36bcc5f1ae049e6\nauthor boB Rudis <[email protected]> 1548024258 -0500\ncommitter boB Rudis <[email protected]> 1548024258 -0500\n\ncran try 3\n" #>
retrieve_release_signature("ironholds/rgeolocate")
#> Latest release is not signed or has not been verified
#> NULL