Closed bensoltoff closed 2 years ago
> library(tidyverse)
── Attaching packages ──────────────────────────────────────────────────────── tidyverse 1.3.0 ──
✓ ggplot2 3.3.3 ✓ purrr 0.3.4
✓ tibble 3.1.2 ✓ dplyr 1.0.7
✓ tidyr 1.1.3 ✓ stringr 1.4.0
✓ readr 1.4.0 ✓ forcats 0.5.1
── Conflicts ─────────────────────────────────────────────────────────── tidyverse_conflicts() ──
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
> count(diamonds, colour)
Error: Must group by variables found in `.data`.
* Column `colour` is not found.
Run `rlang::last_error()` to see where the error occurred.
library(tidyverse)
count(diamonds, colour)
#> Error: Must group by variables found in `.data`.
#> * Column `colour` is not found.
Created on 2021-07-13 by the reprex package (v2.0.0)
Why does this not work for me?