[R-pkg-devel] Has GitHub been used as a CRAN-style repository?

Thierry Onkelinx thierry.onkelinx at inbo.be
Wed Apr 27 15:14:55 CEST 2016

Dear Bruce,

Have a look at drat: http://dirk.eddelbuettel.com/code/drat.html I think
that is what you are looking for.

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2016-04-27 15:00 GMT+02:00 Bruce Hoff <bruce.hoff at sagebase.org>:

> Dear All:
> devtools::install_github() is great but, as I understand it, limited to
> installing from source code.  Is there any precedent for using a public
> repository like GitHub as a CRAN-style repository, so that one can install
> like so:
> install.packages("mypackage", repos= "https://github.com/myrepo/mypackage
> ")
> ?
> This would allow the distribution of packages that need compilation without
> requiring that the user set up a build system and would leverage R's
> ability to find and install dependencies (by stringing together multiple
> URLs in the 'repos' parameter).  Of course there's a greater burden on the
> package provider, who has to build their package for Mac and Windows.
> It strikes me that this could be a good way to decentralize CRAN, allowing
> it to be maintained by package owners rather than a central authority.
> I searched around but could not find examples of people using Github in
> this way.
> Bruce Hoff
> Sage Bionetworks
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list