Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 2.02 KB

README.md

File metadata and controls

35 lines (22 loc) · 2.02 KB

This Software is Deprecated

Please use the successor: rt

dt

Command line R script for GNU make like functionality. Offers some convenience command line commands to facilitate package developement in R. This project aims to substitute makeR sooner or later.

Installation

To make use of dt put in in your PATH and make it executable. This can be done in the following way on Unix-Systems:

  1. Clone the repository

  2. Make a symbolic link (symlink) of the dt-file into your bin-directory, e.g. ln -s ~/path-to-the-dt-repository/dt /usr/local/bin/. Alternatively you can create a user-specific bin-directory in you home directory via mkdir ~/bin and place the symlink in it via ln -s ~/path-to-the-dt-repository/dt ~/bin. On Windows you proceed in a similar fashion. Adjust the PATH variable in the system environment via the control panel or use the admin console command SETX /M PATH "%PATH%;path-to-the-dt-repository" in the windows prompt (Option /M changes the PATH in HKEY_LOCAL_MACHINE instead of HKEY_CURRENT_USER). If it does not work for you, try it without the /M option. In any case you need to open a new windows prompt or terminal windows in order to reload the PATH variable.

  3. Assure that you have installed all the required R-packages methods, optparse, roxygen2, devtools, testhat and covr. The latter is not released on CRAN until now. So the following instructions should be performed:

install.packages(c("methods", "optparse", "devtools", "roxygen2", "testthat"))
devtools::install_github("jimhester/covr")

Usage

Once dt is configured, you should be able to use it. Thus, just go into the root of a package's directory, type dt and confirm with the enter key. You should see a detailed overview of the available commands and a description of their effect.

Contact

Please use the issue tracker for problems, questions and comments.