From 200bcb096bdc8941373f372ab43ce564be882596 Mon Sep 17 00:00:00 2001
From: Walmes Zeviani <walmeszeviani@gmail.com>
Date: Wed, 12 Aug 2015 23:57:33 -0300
Subject: [PATCH] Check() and load_all() functions to ckeck package status.

---
 buildPkg.R | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/buildPkg.R b/buildPkg.R
index c278d26..fc7d77c 100644
--- a/buildPkg.R
+++ b/buildPkg.R
@@ -10,14 +10,19 @@ if(!grepl(x=getwd(), pattern="/legTools$")){
 
 ## Create/update NAMESPACE, *.Rd files.
 document()
+
+## Check documentation.
 check_doc()
 
+## Check functions, datasets, run examples, etc.
 check()
-## Updating legTools documentation
-## Loading legTools
-## Warning message:
-## In setup_ns_exports(pkg, export_all) :
-##   Objects listed as exports, but not present in namespace: wgpigs
+
+## Load the package.
+load_all()
+
+## Show all exported objects.
+ls("package:legTools")
+packageVersion("legTools")
 
 ## build()
 ## build_win()
-- 
GitLab