checkBuildInstallSourcePackage {NoviceDeveloperResources}R Documentation

checkBuildInstallSourcePackage

Description

check, build, and install local source package

Usage

checkBuildInstallSourcePackage(dir, packs, packCheck, autoLibrary = FALSE)

Arguments

dir

character string containing the path name of the directory holding the package folders

packs

character vector of the names of the packages

packCheck

character vector of the names of the packages to check()

autoLibrary

Boolean if TRUE automate library() command altering search path

Details

I wanted to include "library(packs)" in the program, but this is not allowed. The user can "cat" the return value and copy and paste to facilitate doing this manually.

Value

returns a list whose components are

Examples

## Not run: 
# you need to specify dir, packs that are on your own computer !!
dir1<-"~/personal/hearts/hearts_card_game_bayesian_inference"
dir2<-"packages/inference_packages/inference_packages/"
packs<-c("cardUtils","clickableImageMap")
l<-checkBuildInstallSourcePackage(sprintf("%s/%s",dir1,dir2),packs,packs,TRUE)

## End(Not run)


[Package NoviceDeveloperResources version 1.2.0 Index]