microsoft / datamations

https://microsoft.github.io/datamations/
Other
67 stars 15 forks source link

R-CMD-check workflow failing #170

Closed jhofman closed 2 years ago

jhofman commented 2 years ago

@willdebras, any idea what's up here?

https://github.com/microsoft/datamations/actions/runs/2077687777

i received two of these in a row after our meeting

willdebras commented 2 years ago

I'm not certain what is going on with this actions script. You received these because they got triggered on the PR merges, but this specific issue has been around for a while. Despite the package building fine and R CMD Check running fine locally (for all our environments), we get these specific issues from renv:

Error: Error in aliased_path(path) : could not find function "aliased_path"
Calls: source ... eval -> <Anonymous> -> renv_load_switch -> warningf
In addition: Warning message:
In eval(quote({ : ignoring recursive attempt to run renv autoloader
Error during wrapup: could not find function "renv_error_simplify"
Error: Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Error in renv_exit_handlers_remove(envir) : 
  object '_renv_exit_handlers' not found
Calls: source ... renv_load_switch -> <Anonymous> -> renv_exit_handlers_remove
Error during wrapup: could not find function "renv_error_simplify"
Error: Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Error in renv_exit_handlers_remove(envir) : 
  object '_renv_exit_handlers' not found
Calls: source ... <Anonymous> -> <Anonymous> -> renv_exit_handlers_remove
Execution halted
      -----------------------------------
ERROR: package installation failed
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1

It seems like specific issues with renv.

I believe the specific issues started occurring a few weeks ago and looks as if it started with this run #146. https://github.com/microsoft/datamations/actions/runs/1992771192

I wonder if it is related to the windows-latest updates: https://github.com/actions/virtual-environments/issues/4856

It doesn't affect the build or installation, but does limit the usefulness of the actions checks...