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

Error using `stri_replace_all` #99

Closed
drammock opened this Issue Sep 18, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@drammock

drammock commented Sep 18, 2014

using stringi version 0.2-5, I get the following unexpected result:

stri_replace_all("abcde", fixed="bcd", replacement="")
# Error in stri_replace_all_fixed(str, fixed, ...) : 
#   argument "replacement" is missing, with no default
stri_replace_all_fixed("abcde", pattern="bcd", replacement="")
# [1] "ae"

Seems like something is wrong with the convenience function stri_replace_all

gagolews added a commit that referenced this issue Sep 18, 2014

@gagolews

This comment has been minimized.

Show comment
Hide comment
@gagolews

gagolews Sep 18, 2014

Owner

Thanks for the report! This has now been fixed.

Owner

gagolews commented Sep 18, 2014

Thanks for the report! This has now been fixed.

@gagolews gagolews closed this Sep 18, 2014

@gagolews gagolews added the bug label Sep 18, 2014

@gagolews gagolews self-assigned this Sep 18, 2014

@gagolews gagolews added this to the stringi-0.3 milestone Sep 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment