Re: [Rd] Usage of PROTECT_WITH_INDEX in R-exts

2017-06-09 Thread Martin Maechler
> Kirill Müller > on Thu, 8 Jun 2017 12:55:26 +0200 writes: > On 06.06.2017 22:14, Kirill Müller wrote: >> >> >> On 06.06.2017 10:07, Martin Maechler wrote: Kirill Müller on Mon, 5 Jun 2017 17:30:20 +0200 writes: >>> > Hi I've noted a m

Re: [Rd] Creating a private CRAN with webpages

2017-06-09 Thread Dirk Eddelbuettel
On 9 June 2017 at 02:44, Joshua Bradley wrote: | repo. I like the CRAN web pages that allow a user to browse the various | packages from a browser without having to first install them. I want to | duplicate the process that CRAN goes through when it generate the webpages. As your initial email co

Re: [Rd] Creating a private CRAN with webpages

2017-06-09 Thread Prof Brian Ripley
On 09/06/2017 07:44, Joshua Bradley wrote: I'm not trying to create a mirror of the CRAN. I also do not want to create a "subset" of CRAN packages. Sorry if my explanation was confusing. There are internal proprietary R packages that I would like to host on a private repo. I like the CRAN web pag

Re: [Rd] Creating a private CRAN with webpages

2017-06-09 Thread Dirk Eddelbuettel
On 9 June 2017 at 15:47, Prof Brian Ripley wrote: | On 09/06/2017 07:44, Joshua Bradley wrote: | > I'm not trying to create a mirror of the CRAN. I also do not want to create | > a "subset" of CRAN packages. Sorry if my explanation was confusing. There | > are internal proprietary R packages that

Re: [Rd] Creating a private CRAN with webpages

2017-06-09 Thread Zhian Kamvar
Hi Josh, If you aren't opposed to using bootstrap, you could check out pkgdown: 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 (

Re: [Rd] Usage of PROTECT_WITH_INDEX in R-exts

2017-06-09 Thread Kirill Müller
On 09.06.2017 13:23, Martin Maechler wrote: Kirill Müller on Thu, 8 Jun 2017 12:55:26 +0200 writes: > On 06.06.2017 22:14, Kirill Müller wrote: >> >> >> On 06.06.2017 10:07, Martin Maechler wrote: Kirill Müller on Mon, 5 Jun 2017 17:30:20 +0

Re: [Rd] [bug] droplevels() also drop object attributes (comment…)

2017-06-09 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Thu, 8 Jun 2017 16:43:48 + writes: > * Be careful with "contrasts" attribute. If the number of levels is reduced, the original contrasts matrix is no longer valid. > Example case: > x <- factor(c("a", "a", "b", "b", "