Skip to content

Rename more functions #38

Open
Open

Activity

  1. added this to the 1.0 CRAN submission milestone on Aug 11, 2021
  2. GegznaV commented on Aug 11, 2021

    @GegznaV
    MemberAuthor

    I opened separate issues for each portion of functions I suggest renaming. All these functions are exported functions. So we should decide if and how to rename them.

  3. GegznaV commented on Aug 11, 2021

    @GegznaV
    MemberAuthor

    @sangttruong, @bryanhanson, @cbeleites, please, add comments in each issue.

  4. bryanhanson commented on Aug 11, 2021

    @bryanhanson
    Contributor

    I support the renaming in general, subject to CB fine-tuning the names. I think we need to start thinking about adding something additional to .onAttach warning users that the changes are extensive ("extensive" is just my word for now, we probably need several sentences to give a sense of the sweep of changes).

  5. GegznaV commented on Aug 11, 2021

    @GegznaV
    MemberAuthor

    I think we need to start thinking about adding something additional to .onAttach warning users that the changes are extensive

    I think we need:

    1. a new vignette or several sections in current vignettes on that;
    2. a section in README on that.
  6. bryanhanson commented on Aug 11, 2021

    @bryanhanson
    Contributor

    A new vignette, dedicated to the changes, would be a good idea. It would be really great if we could create it by reading the deprecated *.R files and having the vignette create itself, e.g. by writing a table of old and new function names. Personally I would want such a thing in printable form, probably pdf. This would be a great kindness to users.

    The audience for such a vignette are existing users, but in the face of problems with old scripts I'm not sure their first move would be to look for a vignette; they might go to the README. Nor is it very pleasant to run an old script dozens of times, each time fixing the re-named or deprecated function that is named in the messages. That's why I think having a printable cheat sheet of changes would be nice -- users could work through their scripts using it.

    If we create such a vignette, I would put a message in .onAttach saying to check the vignette and telling them how to view it. Something like:

    "Existing users of hyperSpec will find that many functions have been renamed in favor of more consistent names. To help you update your workflows, there is a cheat sheet available as a vignette"

    If you really want to be nice, we would write a function to read their scripts and point out what needs to be changed.

  7. bryanhanson commented on Aug 11, 2021

    @bryanhanson
    Contributor

    Suggest moving the conversation about user experience here.

  8. added a commit that references this issue on Dec 14, 2021
  9. GegznaV commented on Dec 14, 2021

    @GegznaV
    MemberAuthor

    I'm starting the procedures to rename the functions as this summer, in general, there was an agreement on doing this.

  10. added 2 commits that reference this issue on Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions