Skip to content

Commit

Permalink
Update @return statement
Browse files Browse the repository at this point in the history
... with link to `hyperSpec` object.
Closes #68
  • Loading branch information
GegznaV committed Aug 10, 2021
1 parent a608eb0 commit bdcfa96
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
4 changes: 3 additions & 1 deletion R/read_asc_PerkinElmer.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#' @param file Path or connection to file.
#' @param ... Further argument handed to [hyperSpec::read_txt_long()].
#'
#' @return `hyperSpec` object.
#'
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @concept io
#'
Expand Down
4 changes: 3 additions & 1 deletion R/read_txt_Horiba.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
#' @param cols,header,sep,row.names,check.names,... further parameters are
#' handed over to [hyperSpec::read_txt_wide()]
#'
#' @return `hyperSpec` object.
#'
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @author C. Beleites
#'
Expand Down
4 changes: 3 additions & 1 deletion R/read_txt_PerkinElmer.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#' @param ... Passed to [base::scan()].
#' @param label Labels.
#'
#' @return `hyperSpec` object.
#'
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @importFrom utils modifyList
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/read_txt_Renishaw.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#' @param nspc number of spectra in the file
#' @param ... Arguments for `read_txt_Renishaw`
#'
#' @return `hyperSpec` object.
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @author C. Beleites
Expand Down
4 changes: 3 additions & 1 deletion R/read_txt_WITec_.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
#' @param encoding character encoding, see [base::readLines()].
#' @param ...,quiet handed to [base::scan()].
#'
#' @return `hyperSpec` object.
#'
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @author Claudia Beleites and Marcel Dahms
#'
Expand Down
6 changes: 4 additions & 2 deletions vignettes/read_txt_PerkinElmer.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -0,0 +1,67 @@

# Function -------------------------------------------------------------------

#' Read PerkinElmer file (ASCII/txt)
Expand All @@ -7,7 +7,9 @@
#' @param ... Passed to [base::scan()].
#' @param label Labels.
#'
#' @return `hyperSpec` object.
#'
#' @return [hyperSpec][hyperSpec::hyperSpec-class()] object.
#'
#'
#' @export
#'
Expand Down

0 comments on commit bdcfa96

Please sign in to comment.