diff --git a/DESCRIPTION b/DESCRIPTION
index 5560ff3650819f8ff27e68a774ed016d18463b06..f2cf3b5fbd3d40181388e7b1ebffc3cf38521e23 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,10 +1,23 @@
 Package: legTools
 Title: Convenience Functions, Small GUI to Teach Statistics and Some Datasets
 Version: 0.1-0
-Authors@R: person("First", "Last", email = "first.last@example.com", role = c("aut", "cre"))
-Description: legTools is a collection of R functions and datasets, maintained by the LEG group (Statistics and Geoinformation Laboratory).
-Depends: R (>= 3.2.1)
+Authors@R: person("LEG", "Core Team", email = "leg.ufpr@gmail.com", role =
+    c("aut", "cre"))
+Description: legTools is a collection of R functions and datasets used for
+    academic purposes. These functions mainly include small GUI to teach
+    statistics, conveninece functions to visualize data and datasets, nost part
+    of them from books. It is maintained by the LEG group (Statistics and
+    Geoinformation Laboratory). Please visit http://www.leg.ufpr.br.
+Depends:
+    R (>= 3.2.1)
+Imports:
+    lattice,
+    latticeExtra
+Suggests:
+    plyr,
+    rpanel,
+    gWidgets
 License: GPL-3 | file LICENSE
 URL: http://git.leg.ufpr.br/leg/legTools
 BugReports: http://git.leg.ufpr.br/leg/legTools/issues
-LazyData: true
+LazyData: false
diff --git a/R/legTools.R b/R/legTools.R
index f500c35bb36d30988681b2550709411181571cd1..94bcc1180611e66c28bff04bb88734332aef0b3a 100644
--- a/R/legTools.R
+++ b/R/legTools.R
@@ -6,3 +6,41 @@
 ##' @docType package
 ##' @name legTools
 NULL
+
+#' @name wgpigs
+#'
+#' @title Feeding type in pig weight gain
+#' 
+#' @description This is an artifial dataset corresponding a experiment
+#' to study the effect of feeding type (factor with 4 categorical
+#' nominal levels) in pig weight gain. The experiment was a randomized
+#' complete design with five experimental units per treatment level. The
+#' experimental unit was a pig. The response measured was weight gain
+#' from the beggining to the end of the experiment.
+#'
+#' \itemize{
+#'     \item ft feeding type, a categorical factor with 4 levels.
+#'     \item wg weight gain (kg).
+#' }
+#'
+#' @docType data
+#' 
+#' @keywords datasets
+#' 
+#' @usage data(wgpigs)
+#' 
+#' @format a \code{data.frame} with 20 records and 2 variables.
+#'
+#' @source Frederico, P. (2009). Curso de Estat{\'i}stica Experimental
+#' (15th ed.). Piracicaba, S{\~a}o Paulo: FEALQ.
+#'
+#' @examples
+#' 
+#' require(lattice)
+#' data(wgpigs)
+#' 
+#' xyplot(wg~ft, data=wgpigs,
+#'        ylab="Weight gain (kg)",
+#'        xlab="Feeding type")
+#'
+NULL
diff --git a/buildPkg.R b/buildPkg.R
new file mode 100644
index 0000000000000000000000000000000000000000..fc7d77c66261650b611c430fe5eb053f6b0b23a1
--- /dev/null
+++ b/buildPkg.R
@@ -0,0 +1,28 @@
+## require(roxygen2)
+## setwd("/home/walmes/GitHub/")
+## roxygenise(package.dir="wzRfun")
+
+require(devtools)
+
+if(!grepl(x=getwd(), pattern="/legTools$")){
+    stop("Move to /legTools directory.")
+}
+
+## Create/update NAMESPACE, *.Rd files.
+document()
+
+## Check documentation.
+check_doc()
+
+## Check functions, datasets, run examples, etc.
+check()
+
+## Load the package.
+load_all()
+
+## Show all exported objects.
+ls("package:legTools")
+packageVersion("legTools")
+
+## build()
+## build_win()
diff --git a/data-raw/wgpigs.R b/data-raw/wgpigs.R
new file mode 100644
index 0000000000000000000000000000000000000000..bb92f44dff4a56375ec2ff385ab6ddc43856086d
--- /dev/null
+++ b/data-raw/wgpigs.R
@@ -0,0 +1,23 @@
+##----------------------------------------------------------------------
+## Data generation.
+
+wgpigs <- read.table("http://www.leg.ufpr.br/~walmes/data/pimentel_racoes.txt",
+                     header=TRUE, sep="\t")
+names(wgpigs) <- c("ft","wg")
+str(wgpigs)
+
+save(wgpigs, file="../data/wgpigs.RData")
+
+##----------------------------------------------------------------------
+## Examples.
+
+require(lattice)
+
+xyplot(wg~ft, data=wgpigs,
+       ylab="Weight gain (kg)",
+       xlab="Feeding type")
+
+rm(list=ls())
+load("../data/wgpigs.RData")
+ls()
+str(wgpigs)
diff --git a/data/wgpigs.RData b/data/wgpigs.RData
new file mode 100644
index 0000000000000000000000000000000000000000..6ea1af63ee90df6fb2e6ba4e66ff220cd6546043
Binary files /dev/null and b/data/wgpigs.RData differ
diff --git a/man/legTools.Rd b/man/legTools.Rd
index 8fe73d17a13e619a61f09a51a241a976df128a96..699e49ba3975570d0e234d3daa179465d391de5f 100644
--- a/man/legTools.Rd
+++ b/man/legTools.Rd
@@ -1,5 +1,4 @@
 % Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/legTools.R
 \docType{package}
 \name{legTools}
 \alias{legTools}
diff --git a/man/subsetDropAll.Rd b/man/subsetDropAll.Rd
index 6bc8e357ac8d10fcdc84c02f36ad70434a1dde9d..19d5515408f83e8521e1a645559bb9a385b127e0 100644
--- a/man/subsetDropAll.Rd
+++ b/man/subsetDropAll.Rd
@@ -1,5 +1,4 @@
 % Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/subsetDropAll.R
 \name{subsetDropAll}
 \alias{subsetDropAll}
 \title{Drop unused levels after subset}
diff --git a/man/wgpigs.Rd b/man/wgpigs.Rd
new file mode 100644
index 0000000000000000000000000000000000000000..9d75e6aeeab7fa78be3e0dd577d9bc10f18b31f0
--- /dev/null
+++ b/man/wgpigs.Rd
@@ -0,0 +1,36 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+\docType{data}
+\name{wgpigs}
+\alias{wgpigs}
+\title{Feeding type in pig weight gain}
+\format{a \code{data.frame} with 20 records and 2 variables.}
+\source{
+Frederico, P. (2009). Curso de Estat{\'i}stica Experimental
+(15th ed.). Piracicaba, S{\~a}o Paulo: FEALQ.
+}
+\usage{
+data(wgpigs)
+}
+\description{
+This is an artifial dataset corresponding a experiment
+to study the effect of feeding type (factor with 4 categorical
+nominal levels) in pig weight gain. The experiment was a randomized
+complete design with five experimental units per treatment level. The
+experimental unit was a pig. The response measured was weight gain
+from the beggining to the end of the experiment.
+
+\itemize{
+    \item ft feeding type, a categorical factor with 4 levels.
+    \item wg weight gain (kg).
+}
+}
+\examples{
+require(lattice)
+data(wgpigs)
+
+xyplot(wg~ft, data=wgpigs,
+       ylab="Weight gain (kg)",
+       xlab="Feeding type")
+}
+\keyword{datasets}
+