[R] Debugging issues encountered during the "R CMD check" process
Uwe Ligges
ligges at statistik.tu-dortmund.de
Thu Jan 7 23:45:55 CET 2010
Dear Jason Rupert,
I would need to dig into this and cannot answer yet.
But I am about to take over maintainership of the orphaned signal
package and already registered an R-forge project (currently I only
cleaned up some files without really fixing issues). Have you already
invested some work on fixing issues with signal or are you just starting
from scratch?
Best wishes,
Uwe Ligges
On 07.01.2010 20:48, Jason Rupert wrote:
> I read through the "Writing R Extensions" and the "Debugging in R" website (http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/), looking for some hints about how to solve the issue of debugging problems encountered during the "R CMD check" process, but nothing seems to be mentioned about addressing issues encountered.
>
> Specifically, I am working with the R signal package which is hosted at the following location:
> http://code.google.com/p/r-signal/
>
> I would like to debug the problem that is shown below, and is encountered when I run "R CMD check signal".
>
> Thank you for any insights that are provided as the R signal package is nice and it would be good to have it working again with R 2.9.x and beyond.
>
> Thank you again for the help.
>
>> From the 00check.log
>
> * using log directory '/Users/jasonkrupert/Documents/RStuff/Rsignal/r-signal/signal.Rcheck'
> * using R version 2.9.2 (2009-08-24)
> * using session charset: UTF-8
> * checking for file 'signal/DESCRIPTION' ... OK
> * checking extension type ... Package
> * this is package 'signal' version '0.6'
> * checking package dependencies ... OK
> * checking if this is a source package ... WARNING
> ....
> ....
> ....
>>
>> ### Name: interp
>> ### Title: Interpolate / Increase the sample rate
>> ### Aliases: interp
>> ### Keywords: math
>>
>> ### ** Examples
>>
>>
>> # The graph shows interpolated signal following through the
>> # sample points of the original signal.
>> t = seq(0, 2, by = 0.01)
>> x = chirp(t,2,.5,10,'quadratic') + sin(2*pi*t*0.4)
>> y = interp(x[seq(1, length(x), by = 4)],4,4,1) # interpolate a sub-sample
> Warning in rbind(x, array(val, dim = c(n - nx, NCOL(x)))) :
> number of columns of result is not a multiple of vector length (arg 1)
> Warning in Fft(postpad(x, N)) * B :
> longer object length is not a multiple of shorter object length
> Error in ifft(Fft(postpad(x, N)) * B) :
> dims [product 36] do not match the length of object [256]
> Calls: interp -> fftfilt -> fftfiltx -> ifft
> Execution halted
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list