r-lib / revdepcheck

R package reverse dependency checking
https://revdepcheck.r-lib.org
Other
99 stars 31 forks source link

Error in h(simpleError(msg, call)) : error in evaluating the argument 'statement' in selecting a method for function 'dbExecute': invalid multibyte string, element 1 #292

Open sfirke opened 3 years ago

sfirke commented 3 years ago

Running the 2020-12-27 dev version of revdepcheck today on Windows 10, I twice got this error:

[0/34] 00:02:08 | ETA:  ?s | (4) ballr [I], BARIS [I], BFS [CC]Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'statement' in selecting a method for function 'dbExecute': invalid multibyte string, element 1

Causing the process to stop. In each case, I removed the latest-listed package from the check and restarted the check. In this case that command was revdep_rm(pkg = ".", "BFS"). In the end, I only had to do this twice on a 34-package check.

If it's hard to resolve this, it would be acceptable behavior for it to warn or skip that package - the stopping the check is the rough part, since I've usually stepped away while the process runs.