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?
to your account
test_names <- gsub("\\.[rR]", "", test_names)
Should be (I think):
test_names <- sub("\\.[rR]$", "", test_names)
I'll submit a pull request in a few minutes to fix.
The text was updated successfully, but these errors were encountered:
Fix r-lib#492: only remove trailing [rR] from filename
adding tests for issue r-lib#492
Successfully merging a pull request may close this issue.