/rcdk/inst/unitTests/Makefile

http://github.com/rajarshi/cdkr · Makefile · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · d68b0df8b5914042fb60a6ed424004b2 MD5 · raw file

  1. TOP=../..
  2. PKG=${shell cd ${TOP};pwd}
  3. SUITE=doRUnit.R
  4. R=R
  5. all: inst test
  6. inst: # Install package
  7. cd ${TOP}/..;\
  8. ${R} CMD INSTALL ${PKG}
  9. test: # Run unit tests
  10. export RCMDCHECK=FALSE;\
  11. cd ${TOP}/tests;\
  12. ${R} --slave < ${SUITE}