A new release of rmangal is now available on CRAN. Following up on a recent issue in vcr (see '
Overview of fixes for upcoming v1.2’ for more details), I decided to have fixtures written in JSON rather than in YAML, the change was pretty straightforward
1
2
3
4
5
6
7
  | # see tests/testthat/setup-rmangal.R 
# in https://github.com/ropensci/rmangal/commit/9a2293d75b8af7f4b856e024dc8760f97d349e50#diff-ab9aa624c8da203a8b11856c8203c5de205fa4cabceb048838c965106a3d406f
vcr::vcr_configure(
    dir = "../fixtures",
    write_disk_path = "../files",
    serialize_with = "json"
)
  | 
instead of
1
2
3
4
5
  | vcr::vcr_configure(
    dir = "../fixtures",
    write_disk_path = "../files",
    # 'yaml' is (was?) the default value
)
  | 
I’d like to add that this CRAN release was seamless, it made CRAN quickly after the first submission!