[R-pkg-devel] Browser Level for Conditional Function Parameter

2015-08-19 Thread Dario Strbenac
Good day, Why do I get a debug message and a change in browser level when I inspect the title variable ? For the comparison variable, it simply prints its value and remains at level 1. aFunction <- function(comparison = c("within", "classifier", "selection"), title = if(co

Re: [R-pkg-devel] recursive dependencies and install.packages()

2015-08-19 Thread John Fox
Dear list members, My question was prompted by a message from a user indicating that loading the Rcmdr package following installation via install.packages("Rcmdr") failed in the manner I indicated, with the indirect dependency ggplot2 missing. I thought that I was able to duplicate this error by

[R-pkg-devel] recursive dependencies and install.packages()

2015-08-19 Thread John Fox
Dear list members, I'm pretty sure (from memory) that this was discussed before but I can't find a relevant thread. The Rcmdr packages "depends" on the RcmdrMisc package which "depends" on the Hmisc package which "imports" the ggplot2 package. When the Rcmdr package is installed via install.pack

Re: [R-pkg-devel] Package with external non-Windows C library

2015-08-19 Thread Dirk Eddelbuettel
Hi Simon, On 19 August 2015 at 18:39, Simon David Jacobs wrote: | I am trying to write an R package that relies on an external C library. My | understanding is that the prefered method is to include the C library in | the `src' folder of the package. I'm running into two problems that may There

[R-pkg-devel] Package with external non-Windows C library

2015-08-19 Thread Simon David Jacobs
Hi all, I am trying to write an R package that relies on an external C library. My understanding is that the prefered method is to include the C library in the `src' folder of the package. I'm running into two problems that may prevent this package from being distributed on CRAN: 1) The library i

[R-pkg-devel] Writing vignette and help files

2015-08-19 Thread Glenn Schultz
Hello All, The package that I am working no longer gives warnings upon closing connections and syntax is used properly (and understood - thanks to all that answered my questions).  I have two questions regarding package documentation. Any special considerations when creating multiple vignettes

Re: [R-pkg-devel] Running tests on 32-bit and 64-bit

2015-08-19 Thread Thierry Onkelinx
Dear all, Thanks for the feedback. @Uwe I'll have a look at winbuilder. Can it handle non-CRAN dependencies? E.g. packages which are available on github or bitbucket? I was rather looking for something which can run on my local machine. That would give me faster feedback than a remote system. My