lionel- / redpen

1 stars 2 forks source link

Crashing error #3

Closed dtkaplan closed 6 years ago

dtkaplan commented 6 years ago

This statement crashes my R.

node_match(quote(2 + 2), 4 ~ TRUE)

I'm making very good progress using redpen as the basis for a code-submission checking system. It's been a huge help. And I don't need the above statement to work (I'm thinking it should return NULL). But perhaps it would be better not to crash R!

> version
               _                           
platform       x86_64-apple-darwin15.6.0   
arch           x86_64                      
os             darwin15.6.0                
system         x86_64, darwin15.6.0        
status                                     
major          3                           
minor          4.2                         
year           2017                        
month          09                          
day            28                          
svn rev        73368                       
language       R                           
version.string R version 3.4.2 (2017-09-28)
nickname       Short Summer                
lionel- commented 6 years ago

But perhaps it would be better not to crash R!

I think I agree :-)

Very good to hear that you find it useful!