- using R version 2.9.0 (2009-04-17)
- using session charset: ASCII
- checking for file 'diffractometry/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'diffractometry' version '0.1-00'
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'diffractometry' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the name space can be loaded with stated dependencies ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd files against version 2 parser ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking data for non-ASCII characters ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable use of $BLAS_LIBS ... OK
- checking examples ... ERROR
Running examples in 'diffractometry-Ex.R' failed.
The error most likely occurred in:
> ### * diffractogram
>
> flush(stderr()); flush(stdout())
>
> ### Name: diffractogram
> ### Title: Complete analysis of diffractograms as described in Davies et
> ### al. (2008)
> ### Aliases: diffractogram
>
>
> ### ** Examples
>
>
> ## Complete Analysis of a segment from indiumoxide data:
> ## Identification of baseline and peak as well as decomposition of the peaks
> ## Plot shows baseline and decomposition of first found peak into two components
>
> par(mfrow=c(3,1))
>
> data(indiumoxide)
> indox<-indiumoxide[1901:2400,]
>
> sol<-diffractogram(indox,maxsolutions=1)
[1] "q:" "2"
[1] "sigma:" "8.3868521102974"
[1] "thresh:" "33.0579457479864"
Iteration: 1
Iteration: 2
Iteration: 3
Iteration: 4
Iteration: 5
Iteration: 6
Iteration: 7
Iteration: 8
Iteration: 9
Iteration: 10
Iteration: 11
Iteration: 12
Iteration: 13
Iteration: 14
Iteration: 15
Iteration: 16
Iteration: 17
Iteration: 18
Iteration: 19
Iteration: 20
Iteration: 21
Iteration: 22
Iteration: 23
Iteration: 24
Iteration: 25
Iteration: 26
Iteration: 27
Iteration: 28
Iteration: 29
Iteration: 30
Iteration: 31
Iteration: 32
Iteration: 33
Iteration: 34
Iteration: 35
Iteration: 36
Iteration: 37
Iteration: 38
Iteration: 39
Iteration: 40
Iteration: 41
Iteration: 42
Iteration: 43
Iteration: 44
Iteration: 45
[1] "Median" "0.0932724956911954"
[1] "MAD" "0.124441295402958"
[1] "q:" "2"
[1] "sigma:" "7.33849559651023"
[1] "thresh:" "33.0579457479864"
Iteration: 1
Error in basiserg(data[, 1], pmg$y, bs$reg, exb$indl, exb$indr, indextr) :
NA/NaN/Inf in foreign function call (arg 5)
Calls: diffractogram -> baselinefit -> basiserg -> .C
Execution halted
- elapsed time (check, wall clock): 0:19