Anirban166 / Autocomment-atime-results

GitHub Action that automatically comments a plot and other atime-based results on PRs
https://github.com/marketplace/actions/autocomment-atime-results
0 stars 1 forks source link

Lazy loading fails for corrupted database (data.table.rdb): Internal error -3 in R_decompress1 #19

Closed Anirban166 closed 8 months ago

Anirban166 commented 8 months ago

Updated checkout to v4 and this time the git switch operations are working after the specification of a safe directory exception, but the workflow encounters an error between installing the source package (data.table) and running atime:

> library(atime); library(ggplot2); library(data.table); library(devtools); srcd <- Sys.getenv("GITHUB_WORKSPACE"); devtools::install(srcd); options(repos="http://cloud.r-project.org/"); atime::atime_pkg(srcd)

... 

* DONE (data.table)
Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
* installing to library ‘/__w/_temp/Library’
* installing *source* package ‘data.table.63326ba5b7e22cd6e5303b9e35f7bfc81537ff9e’ ...

...

* DONE (data.table.914697f3c36ea4c6cb128ca10f747e0178ec5ae5)
* installing to library ‘/__w/_temp/Library’

...

* DONE (data.table.b946292169b7e6e905910cbd7d984412812cf60b)
Registered S3 method overwritten by 'data.table.63326ba5b7e22cd6e5303b9e35f7bfc8[153](https://github.com/Anirban166/data.table/actions/runs/8117985314/job/22191308730#step:9:154)7ff9e':
  method         from      
  Ops.data.table data.table
Error in get(Info[i, 1], envir = env) : 
  lazy-load database '/__w/_temp/Library/data.table/R/data.table.rdb' is corrupt
Calls: <Anonymous> ... eval -> eval -> loadNamespace -> registerS3methods -> get
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
Execution halted
Error: Process completed with exit code 1.

(For reference, this is the run)

Anirban166 commented 8 months ago

Switching the setup of atime and data.table to my version fixed it.