Skip to content

tryCatch without handler in QC.R

2 messages · suh@rto_@@ggo@o m@iii@g oii y@hoo@com

#
The following is among those added by r77792 to src/library/tools/R/QC.R in R devel.
                bad <- tryCatch(check_url_db(udb))

The 'tryCatch' has no handler. It does nothing. Error would still stop execution.
#
Sorry, it is already fixed. Currently, it is as follows.
 bad <- tryCatch(check_url_db(udb), error = identity)
On Tuesday, 10 March 2020, 11:53:16 pm GMT+7, <suharto_anggono at yahoo.com> wrote:
The following is among those added by r77792 to src/library/tools/R/QC.R in R devel.
? ? ? ? ? ? ? ? bad <- tryCatch(check_url_db(udb))

The 'tryCatch' has no handler. It does nothing. Error would still stop execution.