https://github.com/andrie/mrantools
R package with tools to query and work with MRAN snapshots
https://github.com/andrie/mrantools
Last synced: about 2 months ago
JSON representation
R package with tools to query and work with MRAN snapshots
- Host: GitHub
- URL: https://github.com/andrie/mrantools
- Owner: andrie
- Created: 2014-11-20T08:38:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T18:44:12.000Z (over 10 years ago)
- Last Synced: 2025-02-14T13:16:58.817Z (3 months ago)
- Language: R
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MRANtools
=========R package with tools to query and work with MRAN snapshots
# Functions you may want to try:
1. `setSnapshot()`
```r
# Empty date field returns current repo
setSnapshot()
setSnapshot(NULL)
# Valid snapshot date
setSnapshot("2014-11-16")
```2. `mtCompare()`
```r
# Summarise package differences between two snapshot dates
x <- mtCompare(c("2014-10-01", "2014-11-15"))
str(x)
```3. `mtPkgAvail`
```r
# Retrieve matrix with package information on snapshot date
x <- mtPkgAvail("2014-10-01")
colnames(x)
head(x[, c("Package", "Version")])
```