Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rcpp package evaluation is misleading #1

Open
ycphs opened this issue Dec 7, 2021 · 1 comment
Open

Rcpp package evaluation is misleading #1

ycphs opened this issue Dec 7, 2021 · 1 comment

Comments

@ycphs
Copy link

ycphs commented Dec 7, 2021

The package openxlsx uses Rcpp quite extensively, but it still shows 0% usage.

Package: 'Rcpp'
Package Dependencies: 0
Package Usage: 0 / 44 (0%)
Functions Used: 
@ashbaldry
Copy link
Owner

Thanks for testing this out! At the moment {depcheck} only looks at the R code for R function calls from a dependent package's namespace exports. As all use of {Rcpp} is called in the C++ scripts, it will say that {Rcpp} isn't being used even though it is.

I can see how the output is misleading when using non-R code, and will it clearer that it is only checking R functionality. For future runs, you can include ignore_low_usage_packages = "Rcpp" in summary to remove the flag for {Rcpp}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants