Re: [Rd] Is this an incorrect use of the R-API?

2014-10-12 Thread Duncan Temple Lang
Hi Utkarsh If the package is an experiment and exploration, great - good for you getting into this level of detail. However, if your goal is to get the dynamic prompt, a simpler mechanism that is almost equivalent is the R code invisible(addTaskCallback(function(...) {

[Rd] Is this an incorrect use of the R-API?

2014-10-12 Thread Utkarsh Upadhyay
Hi, I am trying to create a small extension for R here for embedding the current time on the R prompt: https://github.com/musically-ut/extPrompt Things seem to be working overall, but `R CMD check .` raised a warning: > File '[truncated]..Rcheck/extPrompt/libs/extPrompt.so’: > Found non-API cal

Re: [Rd] Turn warnings or notes into errors on CMD check ?

2014-10-12 Thread Hadley Wickham
And maybe turning warnings into errors should be the default for --as-cran? Hadley On Sun, Oct 12, 2014 at 12:11 AM, Scott Kostyshak wrote: > Hi, > > I am using a local patch to have CMD check exit with error if there is > a note or warning. Am I missing an already existing way to do this? > > I