Skip to content

Commit 03c3530

Browse files
authored
Submit 5.3.0 to CRAN (#271)
* Bump version * Update documentation * Update changelog * Update documentation * Update documentation * Update cran-comments.md
1 parent d5026b0 commit 03c3530

File tree

7 files changed

+59
-9
lines changed

7 files changed

+59
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: SeuratObject
22
Title: Data Structures for Single Cell Data
3-
Version: 5.2.1.9001
3+
Version: 5.3.0
44
Authors@R: c(
55
person(given = 'Paul', family = 'Hoffman', email = 'hoff0792@alumni.umn.edu', role = 'aut', comment = c(ORCID = '0000-0002-7693-8957')),
66
person(given = 'Rahul', family = 'Satija', email = 'seurat@nygenome.org', role = c('aut', 'cre'), comment = c(ORCID = '0000-0001-9448-8833')),

NEWS.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
# Unreleased
1+
# SeuratObject 5.3.0
22

3-
## Changes
3+
## Changes:
44
- Update `subset.Seurat` to no longer call `droplevels` on the input's cell-level `meta.data` slot; update `subset.Assay` to no longer call `droplevels` on the input's feature-level `meta.features` slot; update `subset.StdAssay` to no longer call `droplevels` on the input's feature-level `meta.data` slot (reverting #251, see discussion in #247)
5+
- Add `drop = FALSE` when retrieving data in `LayerData.Assay` to preserve dimensions when subsetting to the requested cells (#261)
6+
- Update `sf.data` slot in the `Segmentation` class to store a `data.frame` in accordance with changes in loading Visium segmentations (#267)
7+
- Add `compact` slot to the `Segmentation` class to denote whether the object only stores segmentation information in the `sf.data` slot, or also the `sp`-inherited slots (#267)
8+
- Update `CreateSegmentation`, `CreateSegmentation.data.frame`, `CreateSegmentation.sf`, and methods interacting with `Segmentation` objects (`Cells.Segmentation`, `RenameCells.Segmentation`, `Crop.Segmentation`, `subset.Segmentation`, `[[<-`, `coordinates`, `Overlay`, `show`, `setValidity`) to account for the addition of `compact` and the update to `sf.data`
9+
- For a detailed description of changes, see [#267](https://github.com/satijalab/seurat-object/pull/267)
10+
- Add `coords_x_orientation` slot to the `FOV` class to hold the orientation of the x-axis for spatial data (to mark whether the coordinate system of a spatial object has been updated)
11+
- Update `UpdateSeuratObject` to check whether an object requires an update to the coordinate system based on the existence and value of the `coords_x_orientation` slot (currently only relevant for Visium objects)
12+
- Add method `safeValidityCheck` to show an improved error message suggesting to run `UpdateSeuratObject` when a "slots in class definition but not in object" error is thrown by R's internal object validation; use in `FOV`-interacting methods
513

614
# SeuratObject 5.2.0
715

R/seurat.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ RenameAssays <- function(
628628
#' @order 1
629629
#'
630630
#' @examples
631+
#' \dontrun{
631632
#' if (requireNamespace("fs", quietly = TRUE)) {
632633
#' # Write out with DelayedArray
633634
#' if (requireNamespace("HDF5Array", quietly = TRUE)) {
@@ -678,6 +679,7 @@ RenameAssays <- function(
678679
#' pbmc2[["disk"]]
679680
#' }
680681
#' }
682+
#' }
681683
#'
682684
SaveSeuratRds <- function(
683685
object,

R/utils.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,8 +1338,6 @@ ListToS4 <- function(x) {
13381338
#' \code{PackageCheck} was deprecated in version 5.0.0; please use
13391339
#' \code{\link[rlang:check_installed]{rlang::check_installed}()} instead
13401340
#'
1341-
#' @examples
1342-
#' PackageCheck("SeuratObject", error = FALSE)
13431341
#'
13441342
PackageCheck <- function(..., error = TRUE) {
13451343
.Deprecate(

cran-comments.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SeuratObject v5.3.0
2+
3+
## Test environments
4+
* local Ubuntu 20.04.6 install (R 4.3.2)
5+
* local macOS 15.6 (R 4.5.1)
6+
* win-builder
7+
* R-oldrelease (R 4.4.3)
8+
* R-release (R 4.5.2)
9+
* R-devel (R 4.6.0)
10+
11+
## R CMD check results
12+
13+
There were no ERRORs or WARNINGs.
14+
15+
There were two NOTEs given by win-builder (oldrel):
16+
- - -
17+
```
18+
* checking CRAN incoming feasibility ... [21s] NOTE
19+
Maintainer: 'Rahul Satija <seurat@nygenome.org>'
20+
21+
Suggests or Enhances not in mainstream repositories:
22+
BPCells
23+
Availability using Additional_repositories specification:
24+
BPCells yes https://bnprks.r-universe.dev
25+
```
26+
27+
Rahul Satija is the maintainer and the email is correct.
28+
29+
BPCells is hosted on R-universe and used conditionally in SeuratObject.
30+
31+
```
32+
* checking package dependencies ... NOTE
33+
Package suggested but not available for checking: 'BPCells'
34+
```
35+
36+
BPCells is hosted on R-universe and used conditionally in SeuratObject.
37+
38+
## Downstream dependencies
39+
40+
We checked 63 reverse dependencies (25 from CRAN + 38 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
41+
42+
Reverse dependency checks gave ERRORs in 5 packages: Platypus (examples), SCpubr (tests), Seurat (examples, tests), XYomics (vignettes), scpoisson (examples, vignettes). All of these ERRORs are regarding the defunctation of the `slot` argument in `GetAssayData` and `SetAssayData`, which was deprecated in our package three releases ago (v5.0.0, 2023-10-26) and announced then as slated for eventual defunctation.
43+
44+
Besides this point, this update does not affect the functionality of any of the dependencies.

man/PackageCheck.Rd

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/SaveSeuratRds.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)