Skip to content

Commit

Permalink
remove tidyr from DESCRIPTION/Suggests temporarily
Browse files Browse the repository at this point in the history
- github action fails to install dependency withr
  • Loading branch information
mtmorgan committed Jan 17, 2024
1 parent 3d24f33 commit 6d90061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Suggests:
zellkonverter,
SingleCellExperiment,
HDF5Array,
tidyr,
BiocStyle,
knitr,
rmarkdown,
Expand Down
8 changes: 4 additions & 4 deletions vignettes/b_case_studies.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,16 @@ author_datasets |>

A second approach is to follow the practices in [R for Data
Science][r4ds], the `disease` column can be 'unnested' twice, the
first time to expand the `author_datasets` table for each disease, and
the second time to separate the two columns of each disease.
first time using `unnest_longer()` to expand the `author_datasets`
table for each disease, and the second time with `unnest_wider()` to
separate the two columns of each disease.

```{r disease-unnest}
```{r disease-unnest, eval = FALSE}
author_dataset_diseases <-
author_datasets |>
select(family, given, dataset_id, disease) |>
tidyr::unnest_longer(disease) |>
tidyr::unnest_wider(disease)
author_dataset_diseases
```

Author-dataset combinations associated with COVID-19, and contributors
Expand Down

0 comments on commit 6d90061

Please # to comment.