rfile
Overview
rfile generates an Rfile to make your R package set reproducable, similar to
how Gemfile and Brewfile work. This file is text, with prefixes indicating
the source, followed by the package name. This allows for easy versioning, and
portability.
cran askpass
cran assertthat
cran backports
cran base
...
cran xml2
cran xopen
cran yaml
cran zoo
github bbc/bbplot
Installing rfile
pip install rfile
Backstory
I'm not in the trenches every day with R, sometimes taking breaks of months at a
time from the language. When I arrive back, I'm often looking at previous code,
and trying to get back up to speed as quickly as possible. If I've updated all
of my package via brew in the interim, I'm going to have a bad time with
missing R packages. Having an Rfile that knows about all the packages that I
previously had installed in R enables a quick recovery, and gets me back to
stumbling my way through the tidyverse again!
Current Functionality
Currently, only reading and writing from the current directory is supported. The
default mirror for CRAN is http://cran.us.r-project.org, which can be changed
by specifying -m/--mirror.
Usage
rfile -h
usage: rfile [-h] [-m MIRROR]
Generate an Rfile for your packages
optional arguments:
-h, --help show this help message and exit
-m MIRROR, --mirror MIRROR
Enter a mirror to use for CRAN (default:
http://cran.us.r-project.org)
Generate an Rfile
rfile will create an Rfile with a list of installed packages in the currnet
working directory. This will cover both CRAN and Github packages. You can then
include this file in something similar to a "dotfiles" repository for easy
portability.
Install packages from an Rfile
Run rfile in the same directory as the Rfile. That's it.
Metadata
Release files for rfile 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rfile-0.3.0.tar.gz | 3.7 kB | Without provenance | Details for rfile-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rfile-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for rfile-0.3.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / rfile-0.3.0.tar.gz
| Download URL | rfile-0.3.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9771b6d44b65b165e4e56f7429f09a8b870348c214d9f14d485f7beb30e8f71f
|
|
BLAKE2b-256 checksum How to use checksums |
442e8ddbb90db7128c563f13d8b9d51223a3d0bd48605a84eb80d6a3f1320ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / rfile-0.3.0-py3-none-any.whl
| Download URL | rfile-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf82078ea9d06ea16815153d2b8e00f8b51866da8a95b270ada3caf373ae926a
|
|
BLAKE2b-256 checksum How to use checksums |
a1525c32464cf91d954af35dc48cd9c592b8339ed740aa72380b43c7a5607c1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for rfile 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.