From d3728ccf5180e2cf301335d879092976794ddde1 Mon Sep 17 00:00:00 2001 From: Jay Hesselberth Date: Mon, 19 Aug 2024 06:35:55 -0600 Subject: [PATCH] Address CRAN NOTE about link anchors --- DESCRIPTION | 2 +- NEWS.md | 2 ++ R/bed_map.r | 2 +- R/bed_partition.r | 2 +- man/bed_map.Rd | 2 +- man/bed_partition.Rd | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6962b887..48df0320 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -56,7 +56,7 @@ VignetteBuilder: knitr Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Config/Needs/website: r-lib/pkgdown, rnabioco/rbitemplate diff --git a/NEWS.md b/NEWS.md index 57761619..122f1ea3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # valr (development version) +* Address NOTE on CRAN about Rd link targets. + # valr 0.8.1 * Make vdiffr dependency optional during package testing. diff --git a/R/bed_map.r b/R/bed_map.r index 1a98aca6..2437eea4 100644 --- a/R/bed_map.r +++ b/R/bed_map.r @@ -1,6 +1,6 @@ #' Calculate summaries from overlapping intervals. #' -#' Apply functions like [min()] and [count()] to intersecting intervals. +#' Apply functions like [min()] and [max()] to intersecting intervals. #' [bed_map()] uses [bed_intersect()] to identify intersecting intervals, so #' output columns will be suffixed with `.x` and `.y`. Expressions that refer to #' input columns from `x` and `y` columns must take these suffixes into account. diff --git a/R/bed_partition.r b/R/bed_partition.r index e6d9b1a2..75210ba1 100644 --- a/R/bed_partition.r +++ b/R/bed_partition.r @@ -3,7 +3,7 @@ #' Convert a set of intervals into elemental intervals that contain each start #' and end position in the set. #' -#' Summary operations, such as [min()] or [count()] can be performed +#' Summary operations, such as [min()] or [max()] can be performed #' on elemental intervals by specifying name-value pairs. #' #' This function is useful for calculating summaries across overlapping intervals diff --git a/man/bed_map.Rd b/man/bed_map.Rd index 8b2e1e93..dcbebb2c 100644 --- a/man/bed_map.Rd +++ b/man/bed_map.Rd @@ -32,7 +32,7 @@ values(.data, sep = ",") \link{ivl_df} } \description{ -Apply functions like \code{\link[=min]{min()}} and \code{\link[=count]{count()}} to intersecting intervals. +Apply functions like \code{\link[=min]{min()}} and \code{\link[=max]{max()}} to intersecting intervals. \code{\link[=bed_map]{bed_map()}} uses \code{\link[=bed_intersect]{bed_intersect()}} to identify intersecting intervals, so output columns will be suffixed with \code{.x} and \code{.y}. Expressions that refer to input columns from \code{x} and \code{y} columns must take these suffixes into account. diff --git a/man/bed_partition.Rd b/man/bed_partition.Rd index ac1d0687..0b8c5cfd 100644 --- a/man/bed_partition.Rd +++ b/man/bed_partition.Rd @@ -19,7 +19,7 @@ Convert a set of intervals into elemental intervals that contain each start and end position in the set. } \details{ -Summary operations, such as \code{\link[=min]{min()}} or \code{\link[=count]{count()}} can be performed +Summary operations, such as \code{\link[=min]{min()}} or \code{\link[=max]{max()}} can be performed on elemental intervals by specifying name-value pairs. This function is useful for calculating summaries across overlapping intervals