RevolutionAnalytics / checkpoint

Install R packages from snapshots on checkpoint-server
164 stars 38 forks source link

Save logs as rds #315

Closed hongooi73 closed 2 years ago

hongooi73 commented 2 years ago

Instead of serialising the output objects from pkgdepends as json, simply save them as rds files. This is because pkgdepends has recently changed the format of some of these objects to be environments, rather than simple data frames or lists. While this is a richer format, it means serialisation to text is now tricky and error-prone.

Since checkpoint is an R package and anyone interacting with it can be assumed to know R, this change should be safe.

Fixes #312