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 a61d6ba commit 5f33ca2Copy full SHA for 5f33ca2
src/idatetime.c
@@ -141,7 +141,7 @@ SEXP convertDate(SEXP x, SEXP type)
141
else if (!strcmp(ctype_str, "year")) ctype = YEAR;
142
else if (!strcmp(ctype_str, "yearmon")) { ctype = YEARMON; ansint = false; }
143
else if (!strcmp(ctype_str, "yearqtr")) { ctype = YEARQTR; ansint = false; }
144
- else internal_error(__func__, "invalid type for, should have been caught before"); // # nocov
+ else internal_error(__func__, "invalid type, should have been caught before"); // # nocov
145
146
if (ansint) {
147
SEXP ans = PROTECT(allocVector(INTSXP, n));
0 commit comments