Skip to content

iankloo/s3.packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3.packages

In some cases, you may want to use R packages for private or team use only. This package provides an easy method for installing packages that are stored in an s3 bucket. Using s3 as a way to store/share R packages gives you much more access control than github or CRAN hosting.

Setting up your s3 bucket

The function in this package expects that you will have your R package in the same format that you would use for a github hosted package.

Simply store your R package in the root folder of your s3 bucket in a folder by the same name of the package.

mys3bucket
-myRpackage
--R
--data
--inst
...

Installation

Note, this package depends on: aws.s3 and devtools

devtools::install_github('iankloo/s3.packages')

Using the function

You will need to know: the name of the s3 bucket, the name of the package, and your aws keys. For more info on the aws keys, see the documentation for the aws.s3 R package.

install_s3(bucket = 'mys3bucket', package = 'myRpackage', awsKey = 'myawskey', secretKey = 'myawssecretkey')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages