File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1829,15 +1829,15 @@ Rboolean asRbool(SEXP x, SEXP call)
18291829{
18301830    int  ans  =  asLogical2 (x , 1 , call );
18311831    if  (ans  ==  NA_LOGICAL )
1832- 	errorcall (call , _ ("NA in coercion to Rboolean " ));
1832+ 	errorcall (call , _ ("NA in coercion to boolean " ));
18331833    return  (Rboolean ) ans ;
18341834}
18351835
18361836bool  asBool2 (SEXP  x , SEXP  call )
18371837{
18381838    int  ans  =  asLogical2 (x , 1 , call );
18391839    if  (ans  ==  NA_LOGICAL )
1840- 	errorcall (call , _ ("NA in coercion to bool " ));
1840+ 	errorcall (call , _ ("NA in coercion to boolean " ));
18411841    return  (bool ) ans ;
18421842}
18431843
@@ -1846,15 +1846,15 @@ Rboolean asRboolean(SEXP x)
18461846{
18471847    int  ans  =  asLogical2 (x , 1 , R_NilValue );
18481848    if  (ans  ==  NA_LOGICAL )
1849- 	error (_ ("NA in coercion to Rboolean " ));
1849+ 	error (_ ("NA in coercion to boolean " ));
18501850    return  (Rboolean ) ans ;
18511851}
18521852
18531853bool  asBool (SEXP  x )
18541854{
18551855    int  ans  =  asLogical2 (x , 1 , R_NilValue );
18561856    if  (ans  ==  NA_LOGICAL )
1857- 	error (_ ("NA in coercion to bool " ));
1857+ 	error (_ ("NA in coercion to boolean " ));
18581858    return  (bool ) ans ;
18591859}
18601860
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments