-
Notifications
You must be signed in to change notification settings - Fork 49
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
Errors on Solaris #94
Comments
Dear Tyler, thanks for noting that error. In short, do not worry, everything works perfectly also on Solaris machines. Basically, the error is on the CRAN side. After ICU is compilled, the installer tries to download a data file from one of our mirror servers. Unfortunately, from time to time a download error occurs out there (firewall issues? I don't know). Basically, the CRAN test results complain about missing icudt files; I think of removing fragile R CMD check tests completely to avoid that... I have access to a very old Solaris/Sparc serv and everything run smoothly there (unless I forbid the installer to fetch icudt, of course). Normally a call to stri_install_check() helps, but I cannot issue the command on CRAN... |
@ TODO: get rid of icudt-dependent R CMD check tests; will start working on that after my vacation period |
Thanks for the response. Sounds reasonable. |
All right, icu-dependent test has been wrapped within Thanks again for the report, closing. |
Dear @trinker, http://cran.r-project.org/web/checks/check_results_stringi.html --- everything's OK now :) |
Unfortunately, actions made didn't solve the problem --> http://cran.r-project.org/web/checks/check_results_qdapRegex.html I have some ideas, but first I must replicate this error
|
Setting up a Solaris machine with R for testing purposes is a major pain. I've set up Solaris on VB but not been able to run an instance of R. |
Well, I do have access to an old Solaris/SPARC (little-endian) server and everything works fine there. |
resolving #115 may do the trick. UPDATE 2014-11-30: I don't think so http://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/stringi-00check.html
www.r-project.org/nosvn/R.check/r-patched-solaris-sparc/stringi-00check.html
BTW, http://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/qdapRegex-00check.html:
BTW, http://www.r-project.org/nosvn/R.check/r-patched-solaris-sparc/qdapRegex-00check.html:
(!!!) THIS IS WEIRD
|
Hooray, hooray, hooray! I spent 2 days on installing Solaris 10 + Solaris Studio on a VM -- the bug IS reproducible, thank goodness!!!! :)))))) It has nothing to do with an icudt download fail. |
Seems that the bug is caused by |
@trinker: It's fixed now, finally --> http://cran.r-project.org/web/checks/check_results_qdapRegex.html |
👍 Yay! Thanks for the work :-) |
Love the work in this package. I think that the work many are doing to make R faster is awesome and this package is moving to do this for string manipulation.
I am working on a package that contains canned regexes and wraps them in a way that the user can either substitute or extract them. More for convenience than speed.
stringi
has the speed and if users want the speed they can use the regex dictionaries and supply directly tostringi
functions like:stri_replace_all_regex
andstri_extract_all_regex
.Any way I was fiddling with a snippet of code along the lines of:
and see that replacing that with:
yields a substantial speed up that is about 8x faster on 1 million simple strings (I only have tested this with a few regexes but assume it is generalizable).
I want to make this switch but am a little hesitant because in CRAN checks: http://cran.r-project.org/web/checks/check_results_stringi.html
stringi
has errors on solaris. Is there a planned fix for this? I know this isn't a CRAN requirement (and I know of no one who uses Solaris but I am sure there are users).The text was updated successfully, but these errors were encountered: