Skip to content

Rename setLabels family functions to meet Tidyverse requirements #35

@GegznaV

Description

@GegznaV

The family of setLabels functions should be renamed as it doesn't follow Tidyverse conventions, e.g., use only lower-case letters.

setLabels <- function(.data, ...) {

I suggest renaming:

  1. setLabelslabels_set() (I think, that labels_set() and labels_get() should live in the main hyperSpec package as they give core functionality to work with labels).
  2. setLabels_transmutelabels_transmute() (Why is this function needed at all?)
  3. setLabels_selectlabels_select
  4. setLabels_renamelabels_rename

Yet, it is still a bit vague for me, what these functions do and why are they needed. The file with these functions lacks:

  1. description/better explanation, why they are needed;
  2. examples (at least one per function;
  3. unit tests (at least one per function).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions