Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Modern tidyverse for R

Writes current tidyverse R code with checked joins and filters, so rows never quietly vanish or double.

What we improved

Checked the newer dplyr functions against the dplyr documentation. filter_out(), when_any(), when_all(), replace_when(), recode_values(), replace_values() and case_when(.unmatched) are real, released in dplyr 1.2.0 on CRAN in February 2026,

Improved by YourAISkill from the original by ab604, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Current tidyverse idioms with the version each needs, join and NA-filter safety checks, dplyr 1.2 features with fallbacks and a migration table.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Modern tidyverse patterns for R including pipes, joins, grouping, purrr, and stringr. Use when writing tidyverse R code.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: tidyverse-patterns
description: "Modern tidyverse idioms for R with the package version each one needs: the native pipe and its placeholder rules, join_by() with inequality, rolling and overlap joins, join checks (relationship, unmatched, na_matches), .by grouping, pick(), reframe(), across() and if_any(), NA-safe filtering (filter_out(), when_any() and when_all() from dplyr 1.2.0, with fallbacks for older dplyr), recoding with case_when(), replace_when() and recode_values(), purrr 1.0 to 1.1 (list_rbind(), walk(), in_parallel() with mirai), stringr, tidyr separate_wider_*(), qs2 serialization, and a table for migrating old code. Use when writing, reviewing or modernizing tidyverse R code, converting %>% to |>, replacing map_dfr() or group_by() plus ungroup(), or making joins and filters fail loudly instead of silently dropping or duplicating rows."
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by ab604. See CHANGES.md. -->

# Modern Tidyverse Patterns

*Best practices for modern tidyverse development with dplyr 1.1+ and R 4.3+. Features from dplyr 1.2.0 are marked; check the installed version before using them.*

## Core Principles

1. **Use modern tidyverse patterns**: native pipe, dplyr 1.1+ verbs and current purrr, tidyr and stringr APIs.
2. **Match the installed versions**: run `packageVersion("dplyr")` before using a newer function, and give a fallback when code must run on older installs.
3. **Make silent failures loud**: joins and filters are where rows quietly vanish or multiply. Declare what you expect.
4. **Write readable code first**: profile with profvis or bench before optimizing.
5. **Follow the tidyverse style guide**: consistent naming, spacing and structure.

## Which Version Gives What

| Needs | Feature |
|---|---|
| R 4.1 | `|>` and `\(x)` lambdas |
| R 4.2 | `_` placeholder (named argument only) |
| R 4.3 | `_` at the head of an extraction (`_$coef`) |
| dplyr 1.1.0 | `.by`, `join_by()` (inequality, rolling, overlap joins), `relationship`, `unmatched`, `pick()`, `reframe()`, `case_when(.default)`, `consecutive_id()` |
| dplyr 1.2.0 (CRAN, February 2026) | `filter_out()`, `when_any()`, `when_all()`, `replace_when()`, `recode_values()`, `replace_values()`, `case_when(.unmatched)` |
| purrr 1.0.0 | `list_rbind()`, `list_cbind()`; `map_dfr()` and `map_dfc()` superseded |
| purrr 1.1.0 | `in_parallel()` (runs on mirai daemons) |
| tidyr 1.3.0 | `separate_wider_delim()`, `separate_wider_position()`, `separate_wider_regex()`, `separate_longer_*()` |

## Pipe Usage (`|>` not `%>%`)

Use the native pipe in new code. It is not a drop-in replacement, so convert carefully:

```r
# Good - native pipe
data |>
  filter(year >= 2020) |>
  summarise(mean_value = mean(value))
...

From ab604's repository, MIT licence.

Related skills

  • Checked

    Snowflake SQL and pipelines

    Writes, reviews and debugs Snowflake SQL, pipelines and Cortex AI calls, so jobs run right and costs stay low.

    by alirezarezvani 31k
    8/101 credit
  • Checked

    dbt platform migration

    Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.

    by dbt-labs 777
    7/101 credit
  • Checked

    CSV and Excel merging

    Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.

    by OneWave-AI 454
    7/101 credit
  • Checked

    dbt Mesh contracts

    Checks whether a dbt model change breaks consumers and versions it, so downstream dashboards keep working.

    by dbt-labs 777
    7/101 credit
  • Checked

    SQL and dbt Analytics

    Writes analytical SQL and dbt models tested for grain and join errors, so the numbers come out right.

    by makifbaysal 123
    7/101 credit
  • Checked

    D3 Animated Data Charts

    Turns sourced data into honest, accessible animated D3 charts that render reliably frame by frame for video.

    by calesthio 262
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added