/rcdk/inst/unitTests/Makefile
http://github.com/rajarshi/cdkr · Makefile · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · d68b0df8b5914042fb60a6ed424004b2 MD5 · raw file
- TOP=../..
- PKG=${shell cd ${TOP};pwd}
- SUITE=doRUnit.R
- R=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}