From fc56606c7811285e84c42e31cb35a0705b375b7f Mon Sep 17 00:00:00 2001 From: henningte <34153309+henningte@users.noreply.github.com> Date: Tue, 26 Apr 2022 12:53:41 +0200 Subject: [PATCH] Fix links, remove unneded package. --- DESCRIPTION | 3 +-- R/ir_export_prepare.R | 5 +++-- man/ir_export_prepare.Rd | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c17d226..4ff4713 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -37,8 +37,7 @@ Imports: stats, lifecycle, baseline, - quantities, - errors + quantities Suggests: kableExtra, fda, diff --git a/R/ir_export_prepare.R b/R/ir_export_prepare.R index d6fdda7..4f006c6 100644 --- a/R/ir_export_prepare.R +++ b/R/ir_export_prepare.R @@ -13,9 +13,10 @@ #' @param what A character value defining what to prepare for export. #' If `"metadata"`, the metadata will be prepared for export and column #' `spectra` will be dropped. If `"spectra"`, `x` is converted to an object of -#' class [`ir_flat`](ir::ir_flatten). +#' class [`ir_flat`][ir::ir_new_ir_flat]. #' -#' @note This function superseded [irpeat::irp_export_prepare()]. +#' @note This function superseded `irp_export_prepare()` from the +#' ['irpeat'](https://github.com/henningte/irpeat/) package. #' #' @return A data frame. #' diff --git a/man/ir_export_prepare.Rd b/man/ir_export_prepare.Rd index ef646bb..5be1707 100644 --- a/man/ir_export_prepare.Rd +++ b/man/ir_export_prepare.Rd @@ -16,7 +16,7 @@ ir_export_prepare( \item{what}{A character value defining what to prepare for export. If \code{"metadata"}, the metadata will be prepared for export and column \code{spectra} will be dropped. If \code{"spectra"}, \code{x} is converted to an object of -class \href{ir::ir_flatten}{\code{ir_flat}}.} +class \code{\link[=ir_new_ir_flat]{ir_flat}}.} \item{measurement_id}{A character vector an element for each row in \code{x} that contains the names to use as column names for the spectra in the @@ -35,7 +35,8 @@ separating measurement units and measurement errors in columns of class examples). } \note{ -This function superseded \code{\link[irpeat:irp_export_prepare]{irpeat::irp_export_prepare()}}. +This function superseded \code{irp_export_prepare()} from the +\href{https://github.com/henningte/irpeat/}{'irpeat'} package. } \examples{ x_spectra <- ir_export_prepare(ir_sample_data[1:5, ], what = "spectra")