Skip to content

Commit

Permalink
Added some stuff for Return
Browse files Browse the repository at this point in the history
  • Loading branch information
Dason Kurkiewicz committed Oct 4, 2012
1 parent 87ee006 commit f01328d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions R/Return.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#' Look at flydoc return
#'
#' Look at the the return for your flydoc documnetation
#' for a given function
#' for a given function. This is what drives the section
#' labeled "Value" in the help files.
#'
#' @param fun A function
#' @aliases Value
#' @export
Return <- function(fun){
fdGet("Return", fun)
Expand All @@ -12,7 +14,8 @@ Return <- function(fun){
#' Set documentation for return
#'
#' Set a return for your flydoc documentation for a
#' given function
#' given function. This is what drive the section
#' labeled "Value" in the help files.
#'
#' @param func A function to add a flydoc return to.
#' @param value A character string containing the
Expand Down
3 changes: 2 additions & 1 deletion man/Return-set.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}
\description{
Set a return for your flydoc documentation for a given
function
function. This is what drive the section labeled "Value"
in the help files.
}
4 changes: 3 additions & 1 deletion man/Return.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\name{Return}
\alias{Return}
\alias{Value}
\title{Look at flydoc return}
\usage{
Return(fun)
Expand All @@ -9,6 +10,7 @@
}
\description{
Look at the the return for your flydoc documnetation for
a given function
a given function. This is what drives the section
labeled "Value" in the help files.
}

0 comments on commit f01328d

Please sign in to comment.