Skip to content

Dasonk/flatpackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flatpackage

The flatpackage package is an R package that provides the ability to create an easily offline installable version of a package that includes all the relevant dependencies. When on a system with no outside internet access it can be difficult to install R packages. You need to download the packages required somewhere else, possibly have them audited, and install locally. If you don't also download the dependencies for a package it can be slightly annoying to find that you need to go through the entire process again.

This package intends on making that process a bit easier by zipping everything up that you need and providing some convenience functions to install the result so you don't have to go through the dependency ladder directly.

Examples

library(flatpackage)

# Definitely install docstring - what a great package
flatpackage_create("docstring")

TODO

  • Create the installation script and provide instructions on how to install
  • Make it cross platform/version. Currently this assumes you're running on the same version and same platform as the system you're creating the flatpackage on.

Known Issues

  • No known issues currently

Installation

You can download the dev version via zip ball or tar ball, decompress and run R CMD INSTALL on it, or use the devtools package to install the development version:

## Make sure your current packages are up to date
update.packages()
## devtools is required
library(devtools)
install_github("dasonk/flatpackage")

Note: Windows users need Rtools and devtools to install this way.

Contact

You are welcome to:

About

Create flatpackages from existing R packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages