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

added safe option in qdap::multigsub as implemented by mgsub::mgsub #247

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bmewing
Copy link

@bmewing bmewing commented Oct 2, 2018

The multigsub function admittedly doesn't enable simultaneous global string substitutions which can have some unintended effects while using it. The R package mgsub implements a simultaneous string substitution which is slower than the sequential used in qdap. This pull request adds a simultaneous flag to multigsub to enable this type of substitution. The vignette was updated as well to reflect the change. I couldn't find any tests for this function so I didn't update those (or write any)

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.

None yet

1 participant