Skip to content

Commit 5f33ca2

Browse files
fix a typo while we're here
1 parent a61d6ba commit 5f33ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idatetime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ SEXP convertDate(SEXP x, SEXP type)
141141
else if (!strcmp(ctype_str, "year")) ctype = YEAR;
142142
else if (!strcmp(ctype_str, "yearmon")) { ctype = YEARMON; ansint = false; }
143143
else if (!strcmp(ctype_str, "yearqtr")) { ctype = YEARQTR; ansint = false; }
144-
else internal_error(__func__, "invalid type for, should have been caught before"); // # nocov
144+
else internal_error(__func__, "invalid type, should have been caught before"); // # nocov
145145

146146
if (ansint) {
147147
SEXP ans = PROTECT(allocVector(INTSXP, n));

0 commit comments

Comments
 (0)