Is there a way to move up the checking for CRAN status to avoid the less helpful error message?
Expected output
> packagemetrics::package_list_metrics(list("stackr"))
Package stackr not in CRAN. Only supply packages that exists in CRAN`
Actual Output
> packagemetrics::package_list_metrics(list("stackr"))
Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 0, 1
> packagemetrics::getGitHub(list("stackr"))
Error in inCran(packages, forget) :
Package stackr not in CRAN. Only supply packages that exists in CRAN
Is there a way to move up the checking for CRAN status to avoid the less helpful error message?
Expected output
Actual Output
using:
packagemetrics 0.0.1.9001 2018-02-21