[Rd] Creating a private CRAN with webpages

Zhian Kamvar kamvarz at science.oregonstate.edu
Fri Jun 9 17:02:17 CEST 2017


Hi Josh,

If you aren't opposed to using bootstrap, you could check out pkgdown: http://hadley.github.io/pkgdown/index.html <http://hadley.github.io/pkgdown/index.html>

From my experience, it works pretty well out of the box. 

HTH,
Zhian

-----
Zhian N. Kamvar, Ph. D.
Postdoctoral Researcher (Everhart Lab)
Department of Plant Pathology
University of Nebraska-Lincoln

> On Jun 8, 2017, at 16:29 , Joshua Bradley <jgbradley1 at gmail.com> wrote:
> 
> Hello,
> 
> I am trying to setup a private CRAN for work (behind a firewall). The best
> options available include miniCRAN
> <https://github.com/RevolutionAnalytics/miniCRAN>, drat
> <https://github.com/eddelbuettel/drat> and packrat
> <https://rstudio.github.io/packrat/>. One problem is these packages do not
> automatically generate the web pages that are on the CRAN.
> 
> Examples:
> https://cran.r-project.org/web/packages/index.html
> https://cran.r-project.org/web/packages/available_packages_by_name.html
> 
> Each time the CRAN adds a package, there must be an automated process in
> place to regenerate the pages again with the new package added (example - A3
> <https://cran.r-project.org/web/packages/A3/index.html>). I read somewhere
> (possibly on stackoverflow) that the CRAN html pages are statically built.
> I would like for users to be able to explore the packages in my private
> CRAN just like the public CRAN without having to open R and search for
> packages/documentation through the command line.
> 
> The R Manual includes a small section
> <https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Setting-up-a-package-repository>
> on setting up a repository but it only discusses the structure of the
> directories needed to host packages. Nothing is mentioned about how the
> CRAN creates/updates the /web directory. What is the best way to
> generate/maintain the web pages for a private CRAN?
> 
> P.S. Let me know if this question is best answered on one of the other
> mailing lists.
> 
> Josh Bradley
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


	[[alternative HTML version deleted]]



More information about the R-devel mailing list