@@ -2247,7 +2247,7 @@ function(package, dir, file, lib.loc = NULL,
22472247                     error  =  function (e )
22482248                     stop(gettextf(" parse error in file '%s':\n %s" 
22492249                                   file ,
2250-                                    .massage_file_parse_error_message(conditionMessage( e ) )),
2250+                                    .massage_file_parse_error( e )),
22512251                          domain  =  NA , call.  =  FALSE ))
22522252    }
22532253    for (i  in  seq_along(exprs )) {
@@ -3036,7 +3036,7 @@ function(package, dir, file, lib.loc = NULL)
30363036                     error  =  function (e )
30373037                     stop(gettextf(" parse error in file '%s':\n %s" 
30383038                                   file ,
3039-                                    .massage_file_parse_error_message(conditionMessage( e ) )),
3039+                                    .massage_file_parse_error( e )),
30403040                          domain  =  NA , call.  =  FALSE ))
30413041        else 
30423042            tryCatch(str2expression(txt ),
@@ -6169,7 +6169,7 @@ function(package, dir, lib.loc = NULL)
61696169                     error  =  function (e )
61706170                     stop(gettextf(" parse error in file '%s':\n %s" 
61716171                                   file ,
6172-                                    .massage_file_parse_error_message(conditionMessage( e ) )),
6172+                                    .massage_file_parse_error( e )),
61736173                               domain  =  NA , call.  =  FALSE ))
61746174    }
61756175    for (i  in  seq_along(exprs )) find_bad_exprs(exprs [[i ]])
@@ -6601,7 +6601,7 @@ function(db, files)
66016601                 error  =  function (e )
66026602                 warning(gettextf(" parse error in file '%s':\n %s" 
66036603                                  summary(files )$ description ,
6604-                                   .massage_file_parse_error_message(conditionMessage( e ) )),
6604+                                   .massage_file_parse_error( e )),
66056605                         domain  =  NA , call.  =  FALSE ))
66066606    }
66076607
0 commit comments