We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba21fd commit 1685a3bCopy full SHA for 1685a3b
src/idatetime.c
@@ -145,7 +145,7 @@ SEXP convertDate(SEXP x, SEXP type)
145
SEXP ans = PROTECT(allocVector(INTSXP, n));
146
int *ansp = INTEGER(ans);
147
148
- SEXP opt = GetOption(install("datatable.week"), R_NilValue);
+ SEXP opt = GetOption1(install("datatable.week"));
149
const char *mode = isString(opt) && length(opt) == 1 ? CHAR(STRING_ELT(opt, 0)) : "default";
150
151
bool use_sequential = !strcmp(mode, "sequential");
0 commit comments