In cran_metrics(), the has_vignette_build field is currently assigned TRUE if the field is NA. But if it's NA, that means that there is not a vignette, so the ifelse() return values are switched.
This PR fixes that, along with a typo in the cran_metrics() documentation.
Hello,
Really like the package - great work!
In
cran_metrics()
, thehas_vignette_build
field is currently assignedTRUE
if the field isNA
. But if it'sNA
, that means that there is not a vignette, so theifelse()
return values are switched.This PR fixes that, along with a typo in the
cran_metrics()
documentation.Best, Trey