From 2ee1999a53ef08d879827d2d9f0c946d172648e3 Mon Sep 17 00:00:00 2001 From: "Eduardo E. R. Junior" <edujrrib@gmail.com> Date: Fri, 18 Mar 2016 02:24:54 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20intala=C3=A7=C3=A3o=20de=20pacotes=20?= =?UTF-8?q?dependentes=20no=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .build_package.R | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.build_package.R b/.build_package.R index 789daf9..42cb009 100755 --- a/.build_package.R +++ b/.build_package.R @@ -9,11 +9,16 @@ options(echo = TRUE) library(devtools) library(roxygen2) +lib <- path.expand("~/R-test/") +dir.create(lib) +.libPaths(new = lib) +.libPaths() + # - Instalando as dependencias (descritas no DESCRIPTION) install_deps(dependencies = TRUE, quiet = TRUE, upgrade = FALSE, - lib = "~/R-tests/", + # lib = "~/R-tests/", repos = "http://cran-r.c3sl.ufpr.br/") sessionInfo() @@ -65,11 +70,6 @@ build(manual = TRUE, vignettes = TRUE) #-------------------------------------------- # Instalar o pacote. -lib <- path.expand("~/R-test/") -dir.create(lib) -.libPaths(new = lib) -.libPaths() - install() unlink(lib, recursive = TRUE) -- GitLab