From 80e63e805868e04427fb947dff0e436930f4a96a Mon Sep 17 00:00:00 2001
From: Fernando Mayer <fernandomayer@gmail.com>
Date: Mon, 28 Sep 2015 03:04:01 -0300
Subject: [PATCH] Minor changes in build

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

diff --git a/buildPkg.R b/buildPkg.R
index a1221cb..3d4ce21 100644
--- a/buildPkg.R
+++ b/buildPkg.R
@@ -49,16 +49,16 @@ pkg <- paste0("../legTools_", packageVersion("legTools"), ".tar.gz")
 install.packages(pkg, repos = NULL)
 
 ## Test using devtools::install_git().
-libTest <- "~/R/"
+libTest <- path.expand("~/R-test/")
 if (file.exists(libTest)){
     file.remove(libTest)
 }
-dir.create(path=libTest)
+dir.create(path = libTest)
 
-.libPaths(new=libTest); .libPaths()
+.libPaths(new = c(libTest, .libPaths())); .libPaths()
 
-install_git(url="http://git.leg.ufpr.br/leg/legTools.git",
-            branch="issue#9")
+install_git(url = "http://git.leg.ufpr.br/leg/legTools.git",
+            branch = "devel")
 
 library(legTools)
 packageVersion("legTools")
-- 
GitLab