1\name{taskStatus}
2\alias{taskStatus}
3\title{
4  A function to send a Twitter DM after completion of a task
5}
6\description{
7  This function will run an R expression and send a direct message to a
8  specified user on success or failure.
9}
10\usage{
11    taskStatus(expr, to, msg="")
12}
13\arguments{
14  \item{expr}{An R expression that will be run}
15  \item{to}{The user to send a message to, either \code{character} or
16    an \code{\link{user}} object.}
17  \item{msg}{An extra message to append to the standard DM}
18}
19\details{
20  This function will run \code{expr}, and send a Direct Message (DM)
21  upon completion which will report the expression's success or failure.
22}
23\value{
24  Either the value of the expression or an object of class
25  \code{try-error}.
26}
27\author{Jeff Gentry}
28\seealso{\code{\link{dmSend}}}
29\examples{
30   \dontrun{
31       taskStatus(z<-5, "username", session=sess)
32   }
33}
34\keyword{interface}
35