Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/etiennebr/taco
Wrap system calls in R
https://github.com/etiennebr/taco
Last synced: about 2 months ago
JSON representation
Wrap system calls in R
- Host: GitHub
- URL: https://github.com/etiennebr/taco
- Owner: etiennebr
- Created: 2013-05-15T14:49:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-06T14:59:51.000Z (almost 11 years ago)
- Last Synced: 2024-10-16T06:41:49.056Z (3 months ago)
- Language: R
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
taco
====Taco is a package for R that provides an interface to easily wrap system calls
and command line. You can easily chain command line arguments and provide simple
validation. Taco is in its infancy. If you see something missing, add an issue
at the top of this page.## Example
With taco you can easily wrap system calls in a functions. This is a commit
example for git. There is a multitude of options, but let's keep it simple:commit <- function(message = NA, all = TRUE, indir = getwd()) {
arg <- paste( "commit",
as_argument("a", all),
as_argument("m", message, mandatory = 1) # make message mandatory
)
system_dir(indir, "git", arg)
}
you can then callcommit("hello world")
## Install
to install or update your taco package you need the `devtools`package since
taco is not on CRAN.# install.packages("devtools")
library(devtools)
install_github("taco", "etiennebr")## Contribute
Contributions are more than welcome. Create pull requests and issues using
github.