Skip to content

rbmi writing files to cache directory during CRAN tests #537

@gowerc

Description

@gowerc

rbmi is leaving files in the cache directory when run on CRAN which is causing a note in the CRAN R CMD check logs:

Found the following files/directories:
  ‘~/.cache/R/rbmi/rbmi_MMRM_us_default_999123a8603e2aaf4bc799fe64ecafd9.rds’
  ‘~/.cache/R/rbmi/rbmi_MMRM_us_default_999123a8603e2aaf4bc799fe64ecafd9.stan’
* DONE

Primary cause appears to be due to rbmi writing *.stan files to the cache directory even when rbmi.enable_cache = FALSE. That being said I am confused as to why the *.rds file is still being created as Stan should have autowrite disabled during CRAN tests.

https://www.stats.ox.ac.uk/pub/bdr/donttest/rbmi.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions