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

Limit assess_size_codebase to only .R files #363

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gotfrid
Copy link

@Gotfrid Gotfrid commented Feb 14, 2025

Closes #362

Description

This change is related to assess_size_codebase metric, when it is being assessed on a local source code. It currently fails for packages that have .rda files inside the R folder. Examples: acss.data, bayesPop.

The proposed change is to only list files with .R extension.

Addresses #362 

## Description

This change only list files with R source code. An example of a "valid" package where this metric fails is [bayesPop](https://cran.r-project.org/web/packages/bayesPop/index.html) because it has an RDA file inside the R directory.
@Gotfrid Gotfrid changed the title Update assess_size_codebase.R Limit assess_size_codebase to only .R files Feb 14, 2025
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

Successfully merging this pull request may close these issues.

riskmetric::pkg_assess is stuck for packages without source code
1 participant