Default method value changed from c("greedy","dynamic") into "greedy" and match.arg replaced with pmatch (pmatch is faster). Also method param. can now take vector and use different methods for every string in s.
All unnecessary SEXP replaced with double* name = (double*)R_alloc(). Added some time efficiency comparision between strwrap, str_wrap and stri_wrap.