Skip to content

fix: find R files in auto_test_r directories - #660

Open
dajiaohuang wants to merge 1 commit into
Appsilon:mainfrom
dajiaohuang:w15/auto-test-r-file-discovery
Open

dajiaohuang wants to merge 1 commit into
Appsilon:mainfrom
dajiaohuang:w15/auto-test-r-file-discovery

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

auto_test_r() recursively scans app subdirectories for R files, but the expression *.[Rr]$ is not a valid regular expression because it starts with a repetition operator. This makes the documented watcher fail while it is collecting directories. Match a literal dot before .R/.r files and add a focused regression test for both extensions and a directory with no R files.

Validation

  • git diff --check passed.
  • The new test was not run locally: this host has no Rscript on PATH or in the checked standard install locations. The regression test is included for the repository's normal pull-request CI. No CI status was queried or waited on.

This branch has not been deployed

No deployments
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.

1 participant