[Rd] Package manuals as html page instead of pdf

2016-04-06 Thread Holger Hoefling
Hi, I wanted to pose a question to the R developers that I was wondering about for a while. Currently, the standard way of rendering the manual of an R package on CRAN is in the form of a pdf-file. From my perspective, this pdf-file has many drawbacks: - It makes the load (relatively) long - req

[Rd] [PATCH] fix CHECK_this_length in sprintf.c

2016-04-06 Thread Matthew Fowles Kulukundis
All~ CHECK_this_length macro expands to multiple statements making it unsafe to use in a single line `if` statement (as is happening near line 335). This fixes the macro using the standard `do { } while (0)` macro trick. Matt Index: src/main/sprintf.c

[Rd] (no) circular dependency

2016-04-06 Thread Dmitri Popavenko
Hello all, I would like to build two packages (say A and B), for two different purposes. Each of them need one or two functions from the other, which leads to the problem of circular dependency. Is there a way for package A to import a function from package B, and package B to import a function f

[Rd] Assignment operator and deep copy for calling C functions

2016-04-06 Thread Thorsten R
Hi All, i have a problem in understanding what the assignment operator '<-' really is doing. If i create two numeric arrays in R and copy one into the other with '<-' and afterwards change one array by calling a C function, both arrays are changed! The problem I am facing can easily be seen in

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-06 Thread Jan Górecki
Hi Hadley and Gabriel, What do you think about new field in DESCRIPTION? For me it does perfect sense to have new field that lists those from Suggested deps which are truly needed to run check. The same way as vignetteBuilder. So couldn't be escaped with `if (requireNamespace(.)) ...`, or it would