Skip to content

Commit

Permalink
fill out DESCRIPTION and barely document
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed May 1, 2015
1 parent 8f1e666 commit 084c6b4
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
24 changes: 20 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
Package: materializeR
Title: What the package does (one line)
Title: materialize front-end web framework as an htmlwidget in R
Version: 0.1
Authors@R: "First Last <first.last@example.com> [aut, cre]"
Description: What the package does (one paragraph)
Authors@R: c(
person(
"materialize", "team", role = c("aut", "cph"),
comment = "materialize library in htmlwidgets/lib, http://materializecss.com"
),
person(
"jQuery", "Foundation", role = c("aut", "cph"),
comment = "jQuery library in htmlwidgets/lib, http://jquery.com"
),
person(
"Kenton", "Russell", role = c("aut", "cre"),
comment = "R interface", email = "kent.russell@timelyportfolio.com"
)
)
Maintainer: Kent Russell<kent.russell@timelyportfolio.com>
Description: This package makes the materialize JS/CSS/HTML framework
easily accessible in R with the convenience, flexibility, and awareness
of an htmlwidget.
Depends: R (>= 3.1.2)
License: What license is it under?
License: MIT + file LICENSE
LazyData: true
Suggests: knitr
VignetteBuilder: knitr
10 changes: 9 additions & 1 deletion R/materialize.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#' Add \href{http://materializecss.com/}{materialize} to your R
#'
#' <Add Description>
#' One and only function offered by \code{materializeR}. The \code{...} is offered but really not all that helpful
#' currently except for one secret power. Use of the package \code{htmltools}
#' from RStudio is a highly encouraged ally for \code{materializeR}.
#'
#' @param ... expansion room. The \code{...} currently are a placeholder for future functionality.
#' @param width \code{integer} width in pixel for container. \code{width = 0} since the expectation is
#' for the container to be an invisible byproduct.
#' @param height \code{integer} heightin pixel for container. \code{height = 0} since the expectation is
#' for the container to be an invisible byproduct.
#'
#' @import htmlwidgets
#'
Expand Down
13 changes: 12 additions & 1 deletion man/materialize.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
\usage{
materialize(..., width = 0, height = 0)
}
\arguments{
\item{...}{expansion room. The \code{...} currently are a placeholder for future functionality.}

\item{width}{\code{integer} width in pixel for container. \code{width = 0} since the expectation is
for the container to be an invisible byproduct.}

\item{height}{\code{integer} heightin pixel for container. \code{height = 0} since the expectation is
for the container to be an invisible byproduct.}
}
\description{
<Add Description>
One and only function offered by \code{materializeR}. The \code{...} is offered but really not all that helpful
currently except for one secret power. Use of the package \code{htmltools}
from RStudio is a highly encouraged ally for \code{materializeR}.
}

1 change: 1 addition & 0 deletions vignettes/getting_started.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,6 @@ Thanks so much

- the geniuses Alvin Wang, Alan Chang, Alex Mark, Kevin Louie behind [`materialize`](http://materializecss.com)
- Google for Material Design
- jQuery Foundation
- Ramnath Vaidyanathan and RStudio for `htmlwidgets`
- all the contributors to `R` and `JavaScript`

0 comments on commit 084c6b4

Please sign in to comment.