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

Check var_registration is syntactically valid in spatial registration functions #92

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

lahuuki
Copy link
Member

@lahuuki lahuuki commented Dec 12, 2024

Add grepl test (regex source) for var_registration to be syntactically valid. If not, use makes.names() to correct to syntactically valid names instead and warn user of the change. Also warn if variable is numeric, and convert to syntactically valid names w/ make.names() .

Addresses issues #72 and #48.

@lcolladotor lcolladotor merged commit c4bc630 into devel Dec 12, 2024
7 of 9 checks passed
lcolladotor added a commit that referenced this pull request Dec 12, 2024
@lahuuki lahuuki deleted the spatial_registration_syntatic_check branch December 16, 2024 15:15
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.

2 participants