From 66f08b55dc9d6721127e132da4f6d9f558d0f5d5 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Mon, 18 Sep 2023 11:55:27 +0200 Subject: [PATCH] fix linting issues --- R/AnnData.R | 2 +- R/HDF5-write.R | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/R/AnnData.R b/R/AnnData.R index b9b8389b..f0f0c553 100644 --- a/R/AnnData.R +++ b/R/AnnData.R @@ -61,4 +61,4 @@ AnnData <- function( var = var, layers = layers ) -} \ No newline at end of file +} diff --git a/R/HDF5-write.R b/R/HDF5-write.R index 62faf750..2aa635bc 100644 --- a/R/HDF5-write.R +++ b/R/HDF5-write.R @@ -6,7 +6,7 @@ #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file #' @param ... Additional arguments passed to writing functions -#' +#' #' @noRd #' #' @details @@ -67,7 +67,7 @@ write_h5ad_element <- function(value, file, name, ...) { # nolint #' Write H5AD encoding #' #' Write H5AD encoding attributes to an element in an H5AD file -#' +#' #' @noRd #' #' @param file Path to a H5AD file or an open H5AD handle @@ -120,7 +120,7 @@ write_h5ad_dense_array <- function(value, file, name, version = "0.2.0") { #' Write H5AD sparse array #' #' Write a sparse array to an H5AD file -#' +#' #' @noRd #' #' @param value Value to write @@ -191,7 +191,7 @@ write_h5ad_nullable_boolean <- function(value, file, name, version = "0.1.0") { #' Write H5AD nullable integer #' #' Write a nullable integer to an H5AD file -#' +#' #' @noRd #' #' @param value Value to write @@ -215,7 +215,7 @@ write_h5ad_nullable_integer <- function(value, file, name, version = "0.1.0") { #' Write a string array to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -237,7 +237,7 @@ write_h5ad_string_array <- function(value, file, name, version = "0.2.0") { #' Write a categorical to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -256,7 +256,7 @@ write_h5ad_categorical <- function(value, file, name, version = "0.2.0") { #' Write a string scalar to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -280,7 +280,7 @@ write_h5ad_string_scalar <- function(value, file, name, version = "0.2.0") { #' Write a numeric scalar to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -298,7 +298,7 @@ write_h5ad_numeric_scalar <- function(value, file, name, version = "0.2.0") { #' Write a mapping to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -319,7 +319,7 @@ write_h5ad_mapping <- function(value, file, name, version = "0.1.0") { #' Write a data frame to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write #' @param file Path to a H5AD file or an open H5AD handle #' @param name Name of the element within the H5AD file @@ -379,7 +379,7 @@ write_h5ad_data_frame <- function(value, file, name, index = NULL, #' Write an for a data frame to an H5AD file #' #' @noRd -#' +#' #' @param value Value to write. Must be a vector to the same length as the data #' frame. #' @param file Path to a H5AD file or an open H5AD handle @@ -414,7 +414,7 @@ write_h5ad_data_frame_index <- function(value, file, name, index_name) { #' Write a new empty H5AD file #' #' @noRd -#' +#' #' @param file Path to the H5AD file to write #' @param obs_names Vector containing observation names #' @param var_names Vector containing variable names @@ -452,7 +452,7 @@ write_empty_h5ad <- function(file, obs_names, var_names, version = "0.1.0") { #' Check that a path in HDF5 exists #' #' @noRd -#' +#' #' @param file Path to a HDF5 file #' @param target_path The path within the file to test for #'