uptake / pkgnet

R package for analyzing other R packages via graph representations of their dependencies
https://uptake.github.io/pkgnet/
Other
152 stars 37 forks source link

Avoid partial matching #328

Closed olivroy closed 4 months ago

olivroy commented 4 months ago

Caught by using

  options(
    warnPartialMatchArgs = TRUE,
    warnPartialMatchDollar = TRUE,
    warnPartialMatchAttr = TRUE
  )
bburns632 commented 4 months ago

@olivroy thanks for the catch! (reference doc here)

Could you elaborate on when you specified those options to catch this error? Was it directly before a CreatePackageReport() call?

olivroy commented 4 months ago

yes indeed!

with the options set, just run CreatePackageReport("ggplot2") and you should see a warning on the cran version of pkgnet