Skip to content

get rid of log slot #130

Open
Open

Description

@cbeleites

Slot @log has been deprecated for years now. Version 1.0.0 is a good point to do the step and get rid of it altogether.

  • There is no functional code accessing @log (hasn't been for years)
  • we'll need a fixObject() function that converts "old" hyperSpec objects into valid new ones
  • validObject() should check whether the slot exists (i.e. when a an old saved object is loaded from a file) and produce a message that tells people how to fix their objects.
  • also explain this in the hyperSpec vignette

Activity

  1. added this to the Version 1.0 milestone on May 18, 2020
  2. self-assigned this
    on May 18, 2020
  3. GegznaV commented on Aug 31, 2020

    @GegznaV
    Collaborator
    • Instead of fixObject(), I suggest creating method as_hypseSpec(<hyperSpec>) (see as.hyperSpec(<hyperSpec>) shouldn't fail #282).
    • Instead of validObject(), function is_hyperSpec() might be created. It may merge the properties of current validObject() and chk.hy() as well as introduce new functionality (e.g., show additional messages, if the old version of hyperSpec object is used).
  4. added
    Type: enhancement 🎈
    on Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: enhancement 🎈

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions