search for: make_str

Displaying 1 result from an estimated 1 matches for "make_str".

Did you mean: makestr
2016 May 12
3
Suggestion: mkString(NULL) should be NA
...9; package where a documented version string was suddenly NULL if libcurl was built with some unusual configuration. These problems are hard to catch and I don't see any benefit of segfaulting for such edge cases. Some packages use a macro like this to protect against such problems: #define make_string(x) x ? Rf_mkString(x) : ScalarString(NA_STRING) But I think it would make sense if this was the default behavior in Rf_mkString and Rf_mkChar.