Skip to content

Commit

Permalink
Expanded definition of whitespace in formula
Browse files Browse the repository at this point in the history
  • Loading branch information
spgarbet committed Sep 14, 2018
1 parent 22477a2 commit b265131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parser.R
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ Parser <- R6Class("Parser",
},
eat_whitespace = function()
{
while(substr(self$input, self$pos, self$pos) %in% c(" ","\t") &&
while(substr(self$input, self$pos, self$pos) %in% c(" ","\t","\n","\r") &&
self$pos < self$len)
{
self$pos = self$pos + 1
Expand Down

0 comments on commit b265131

Please sign in to comment.