Re: [R-pkg-devel] Source code of an existing package

2016-08-10 Thread Tim Appelhans
Hi, I always use metacran to access package sources. https://github.com/cran/boot Tim On 11.08.2016 06:57, Holger Hoefling wrote: Hi, If you are interested in the source code of an entire package in its original form - you can also download the .tar.gz version of the package from CRAN. In a .t

Re: [R-pkg-devel] Source code of an existing package

2016-08-10 Thread Holger Hoefling
Hi, If you are interested in the source code of an entire package in its original form - you can also download the .tar.gz version of the package from CRAN. In a .tar.gz, you find the sources, unlike the .zip for windows, which is already compiled. If you are under windows, you can use a program

Re: [R-pkg-devel] Source code of an existing package

2016-08-10 Thread Dirk Eddelbuettel
On 10 August 2016 at 22:14, Ben Bolker wrote: | | Easiest way: | | library(boot) | boot.ci | | Alternatively, go to https://cran.r-project.org/package=boot , | download the tarball, unpack it, and look around in the R/ directory. Uwe Ligges wrote an 'R Help Desk' piece in R News about thi

Re: [R-pkg-devel] Source code of an existing package

2016-08-10 Thread Ben Bolker
Easiest way: library(boot) boot.ci Alternatively, go to https://cran.r-project.org/package=boot , download the tarball, unpack it, and look around in the R/ directory. On 16-08-10 09:42 PM, Marcelo Carvalho Fernandes wrote: > Hi all! > > I am interested in seeing the source code of the bo

[R-pkg-devel] Source code of an existing package

2016-08-10 Thread Marcelo Carvalho Fernandes
Hi all! I am interested in seeing the source code of the boot.ci() function of the boot package. Is it possible to have such source code? How? Thanks in advance, --- Marcelo Carvalho Fernandes __ R-package-devel@r-project.org mailing list https://sta

Re: [R-pkg-devel] Accessing R's linked PCRE library from inside a package

2016-08-10 Thread Dirk Eddelbuettel
On 10 August 2016 at 19:35, Oliver Keyes wrote: | Neat; thanks Dirk! Will be interesting to see if I can get that finnagled on | Windows when I get back to Boston. Come to think about it, there is a bit of good fortune in my use as I - don't need to bother with include flags as pcre as a 'syste

Re: [R-pkg-devel] Accessing R's linked PCRE library from inside a package

2016-08-10 Thread Oliver Keyes
Neat; thanks Dirk! Will be interesting to see if I can get that finnagled on Windows when I get back to Boston. Best, Oliver On Wednesday, 10 August 2016, Dirk Eddelbuettel wrote: > > On 10 August 2016 at 18:15, Oliver Keyes wrote: > | I'm trying to incorporate PCRE-compliant regular expression

Re: [R-pkg-devel] Accessing R's linked PCRE library from inside a package

2016-08-10 Thread Dirk Eddelbuettel
On 10 August 2016 at 18:15, Oliver Keyes wrote: | I'm trying to incorporate PCRE-compliant regular expressions into C | code in an R package. | | >From digging around in R's source code, it appears that R (pretty | much?) guarantees the presence of either a system-level PCRE library, | or an R-in

[R-pkg-devel] Accessing R's linked PCRE library from inside a package

2016-08-10 Thread Oliver Keyes
Hey all, I'm trying to incorporate PCRE-compliant regular expressions into C code in an R package. >From digging around in R's source code, it appears that R (pretty much?) guarantees the presence of either a system-level PCRE library, or an R-internal one.[0] Is this exposed (or grabbable) via t

[R-pkg-devel] Looking for info on how CRAN package developers handle breaking changes with other packages

2016-08-10 Thread Chris Bogart
Hi, I'm looking for some help from developers who write R packages. My research group is interested in the choices package managers and repositories are make when designing their ecosystems. Newer packaging and modules systems like Node.js/NPM, Google's go language, Python's PyPI, are making very d

[R-pkg-devel] Selective/Partial LazyData?

2016-08-10 Thread Alexandre Courtiol
Dear all, I am preparing a package and using "LazyData: true" in DESCRIPTION makes things a little more smooth as I have function calling my own data. My problem is that doing so seem to uncompress the data at installation and convert them into a Rdata.rdb that is > 1MB, which makes R CMD check, wh

Re: [R-pkg-devel] Would CRAN accept a package that requires cmake?

2016-08-10 Thread Bob Rudis
qtbase - https://cran.rstudio.com/web/packages/qtbase/index.html - is just one (quickly found) example of pkgs using cmake. the installr pkg will enable folks to install cmake on windows pretty easily, as well. On Wed, Aug 10, 2016 at 8:39 AM, Charles Determan wrote: > Greetings, > > I have seen

Re: [R-pkg-devel] Would CRAN accept a package that requires cmake?

2016-08-10 Thread Ege Rubak
On 08/10/2016 04:05 PM, Dirk Eddelbuettel wrote: On 10 August 2016 at 08:39, Charles Determan wrote: | I have seen this previous discussion ( | https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000115.html) on this | question but I didn't find a clear answer. I am looking at integrating |

Re: [R-pkg-devel] Would CRAN accept a package that requires cmake?

2016-08-10 Thread Dirk Eddelbuettel
On 10 August 2016 at 08:39, Charles Determan wrote: | I have seen this previous discussion ( | https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000115.html) on this | question but I didn't find a clear answer. I am looking at integrating | some more existing open-source C++ libraries to R pa

[R-pkg-devel] Would CRAN accept a package that requires cmake?

2016-08-10 Thread Charles Determan
Greetings, I have seen this previous discussion ( https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000115.html) on this question but I didn't find a clear answer. I am looking at integrating some more existing open-source C++ libraries to R packages. However, a handful use/require cmake for