Function of the day: tidyr::separate_

Open
#2 2 comments 1 reaction 3 assignees View on GitHub

@E-Sh4rk is already working on this.

Since Nov 19, 2026.

Assessment

This issue has not been assessed yet.

Description

function-of-the-day pkg:tidyr type-changed

separate_, from the package tidyr 1.3.2 (R/dep-lazyeval.R, line 213), typed by tyr 02e8e6f9 in this run.

Its card on the dashboard · the package's page · the dashboard

Strict mode

Typed in 0.18 s:

((data: any, col: any, into: any, sep: any?, remove: any?, convert: any?, extra: any?, fill: any?, ...: any) -> any)<>
Gradual mode

Typed in 0.19 s, to the same type.

Source
separate_ <- function(
  data,
  col,
  into,
  sep = "[^[:alnum:]]+",
  remove = TRUE,
  convert = FALSE,
  extra = "warn",
  fill = "warn",
  ...
) {
  lifecycle::deprecate_warn("1.2.0", "separate_()", "separate()", always = TRUE)
  UseMethod("separate_")
}

Is this a good type for this function? React to this issue with 👍 or 👎, and comment to say why: too wide, too narrow, wrong, or what you would expect.

A later run in which this function's type changes, or it stops typing, comments here and reopens the issue (label type-changed).

Dominant language
R
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PRL-PRG/r-typing

All issues in PRL-PRG/r-typing

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.