r-hyperspec / hyperSpec

hyperSpec: Tools for Spectroscopy (R package)
https://r-hyperspec.github.io/hyperSpec/
GNU General Public License v3.0
12 stars 3 forks source link

Rename `spc.label.wlonly()` → `format_label_wl_only()`, etc. #39

Closed GegznaV closed 2 years ago

GegznaV commented 3 years ago

The following do the formatting, so:

Current name Rename to Comment
spc.label.wlonly format_label_wl_only Adds label with wavelength only
spc.label.default format_label_ispc_wl Adds label with index of i-th spectrum (ispc) and wavelength (default)

If you think, that format_ is too long, we may use fmt_. But the first version is more explicit.

bryanhanson commented 3 years ago

Just curious, are these user-facing functions? There are a lot of nooks and crannies in hyperSpec where I've never been so I don't know off the top of my head!

GegznaV commented 3 years ago

They are exported.