Skip to content

Cleanup old code #240

@Hugovdberg

Description

@Hugovdberg

While documenting all functions I discovered a few functions that seem to be unused anywhere. They are not called from other functions and are not exported into the namespace. I'm listing candidates for removal here, please comment to substantiate why we should keep them:

  • cache.name in R/cache.name.R
  • .cache.status in R/cache.R
  • .unload.project in R/load.project.R (This function is only called from two tests where they seem to test completely unrelated stuff. Those function calls should be removed anyway, if clearing memory is necessary clear should be preferred)

If you think more functions can be removed also please comment.

These functions should be marked deprecated by use of the .Deprecated function, so we later can mark them .Defunct and eventually remove them altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions