Skip to content

Commit

Permalink
Merge pull request #27 from william-hutchison/clean-code
Browse files Browse the repository at this point in the history
Clean code
  • Loading branch information
william-hutchison authored Apr 2, 2024
2 parents 3395271 + 68c8a6c commit 0b52bf6
Show file tree
Hide file tree
Showing 24 changed files with 1,714 additions and 1,154 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
^\.github$
^LICENSE\.md$
^NEWS\.md$
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: tidySpatialExperiment
Title: Brings SpatialExperiment to the tidyverse
Version: 0.99.20
Title: SpatialExperiment with tidy principles
Version: 0.99.21
Authors@R: c(
person("William", "Hutchison", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0009-0001-6242-4269")),
Expand All @@ -11,7 +11,7 @@ Description: tidySpatialExperiment provides a bridge between the SpatialExperime
tidyverse ecosystem. It creates an invisible layer that allows you to interact with a
SpatialExperiment object as if it were a tibble; enabling the use of functions from dplyr,
tidyr, ggplot2 and plotly. But, underneath, your data remains a SpatialExperiment object.
License: GPL-3
License: GPL (>= 3)
Depends:
R (>= 4.3.0),
SpatialExperiment,
Expand All @@ -30,7 +30,6 @@ Imports:
dplyr,
tidyr,
ggplot2,
magrittr,
rlang,
purrr,
stringr,
Expand Down
595 changes: 595 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ importFrom(SummarizedExperiment,colData)
importFrom(dplyr,add_count)
importFrom(dplyr,arrange)
importFrom(dplyr,count)
importFrom(dplyr,distinct_at)
importFrom(dplyr,filter)
importFrom(dplyr,full_join)
importFrom(dplyr,inner_join)
Expand All @@ -53,11 +52,8 @@ importFrom(dplyr,right_join)
importFrom(dplyr,sample_frac)
importFrom(dplyr,sample_n)
importFrom(dplyr,select)
importFrom(dplyr,select_if)
importFrom(fansi,strwrap_ctl)
importFrom(ggplot2,aes)
importFrom(magrittr,equals)
importFrom(magrittr,set_rownames)
importFrom(methods,callNextMethod)
importFrom(methods,getMethod)
importFrom(methods,is)
Expand All @@ -66,11 +62,11 @@ importFrom(pillar,get_extent)
importFrom(pillar,style_subtle)
importFrom(pillar,tbl_format_header)
importFrom(pkgconfig,get_config)
importFrom(purrr,as_mapper)
importFrom(purrr,imap)
importFrom(purrr,map)
importFrom(purrr,map2)
importFrom(purrr,map_chr)
importFrom(purrr,pluck)
importFrom(purrr,reduce)
importFrom(purrr,when)
importFrom(rlang,":=")
Expand All @@ -81,9 +77,6 @@ importFrom(rlang,expr)
importFrom(rlang,flatten_if)
importFrom(rlang,is_spliced)
importFrom(rlang,names2)
importFrom(rlang,quo_is_null)
importFrom(rlang,quo_is_symbol)
importFrom(rlang,quo_is_symbolic)
importFrom(rlang,quo_name)
importFrom(rlang,quo_squash)
importFrom(rlang,sym)
Expand All @@ -100,6 +93,7 @@ importFrom(tidyr,separate)
importFrom(tidyr,spread)
importFrom(tidyr,unite)
importFrom(tidyr,unnest)
importFrom(tidyselect,all_of)
importFrom(tidyselect,eval_select)
importFrom(ttservice,bind_cols)
importFrom(ttservice,bind_rows)
Expand Down
14 changes: 11 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# tidySpatialExperiment 0.99.13

* Removed unneeded dependencies.
* Updated README and vignette material.
* Improved README and vignette material.

# tidySpatialExperiment 0.99.14

Expand All @@ -44,8 +44,16 @@

# tidySpatialExperiment 0.99.19

* Improve code style.
* Improved code style.

# tidySpatialExperiment 0.99.20

* tidySpatialExperiment is now in Bioconductor. Documentation has been updated accordingly.
* tidySpatialExperiment is now in Bioconductor! Documentation has been updated accordingly.

# tidySpatialExperiment 0.99.21

* Improved code style.
* Removed magrittr pipe.
* Removed unneeded dependencies.
* Improved README and vignette material.
* Bug fixes.
Loading

0 comments on commit 0b52bf6

Please sign in to comment.