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

gregexpr error when calling renv::status #1878

Open
mckenziephagen opened this issue Apr 16, 2024 · 3 comments
Open

gregexpr error when calling renv::status #1878

mckenziephagen opened this issue Apr 16, 2024 · 3 comments

Comments

@mckenziephagen
Copy link

Hi Renv folks!

I've been setting up a project using renv 1.0.7, but I keep getting this Warning. It happens whenever I call renv::status(). I'm using R version 4.3.2.

- Project '/global/u1/m/mphagen/tracto' loaded. [renv 1.0.7]
- The project is out-of-sync -- use `renv::status()` for details.
Warning message:
In gregexpr(pattern, text, perl = TRUE) : PCRE error
        'match limit exceeded'
        for element 1

Any idea what is causing this, or suggestions for debugging? I found a couple instances of gregexpr in the source code, but I'm not familiar enough with the source code to understand the underlying error.

Thanks!
McKenzie

@mckenziephagen
Copy link
Author

Update: I had an empty .renvignore for some reason, and deleting that fixed the problem! Closing.

@kevinushey
Copy link
Collaborator

Thanks! This should still be simple enough to resolve on the renv side, so I'll see if I can fix this up.

@kevinushey
Copy link
Collaborator

I wasn't able to reproduce just by creating an renv project with an empty .renvignore; let me know if the issue crops up again and if you can provide any more details?

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