PKG=connectedness
TOP=../..
SUITE=doRUnit.R

all: inst test

inst: # Install package
	cd ${TOP}/..;\
	R CMD INSTALL ${PKG}

test: # Run unit tests
	export RCMDCHECK=FALSE;\
	cd ${TOP}/tests;\
	R --slave < ${SUITE}
