Running examples in ‘ChemoSpec-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: clupaSpectra
> ### Title: Hierarchical Cluster-Based Peak Alignment on a Spectra Object
> ### Aliases: clupaSpectra
> ### Keywords: utilities
> 
> ### ** Examples
> 
> 
> # This example assumes the graphics output is set to ggplot2 (see ?GraphicsOptions).
> library("ggplot2")
> data(alignMUD)
> 
> p1 <- plotSpectra(alignMUD, which = 1:20, lab.pos = 4.5, offset = 0.1,
+   yrange = c(0, 5000), amp = 500)
> p1 <- p1 + ggtitle("Misaligned NMR Spectra") +
+       coord_cartesian(xlim = c(1.5, 1.8), ylim = c(0, 1900))
Coordinate system already present. Adding new coordinate system, which will
replace the existing one.
> p1
> 
> aMUD <- clupaSpectra(alignMUD)

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 1 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 1 has 0 peaks
 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 2 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 2 has 0 peaks
 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 3 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 3 has 0 peaks
 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 4 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 4 has 0 peaks
 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 5 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 5 has 0 peaks
 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 6 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 6 has 0 peaks
 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 7 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 7 has 0 peaks
 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 8 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 8 has 0 peaks
 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 9 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 9 has 0 peaks
 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 10 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 10 has 0 peaks
 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 11 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 11 has 0 peaks
 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 12 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 12 has 0 peaks
 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 13 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 13 has 0 peaks
 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 14 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 14 has 0 peaks
 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 15 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 15 has 0 peaks
 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 16 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 16 has 0 peaks
 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 17 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 17 has 0 peaks
 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 18 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 18 has 0 peaks
 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 19 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 19 has 0 peaks
 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Wannings for spectrum 20 from function peakDetectionCWT() of MassSpecWavelet package:  DLL requires the use of native symbols 

 Spectrum 20 has 0 peaks
 --------------------------------
 CluPA will run with maxShift= 100
 If you want CluPA automatically detect the optimal maxShift,
 let try with dohCluster(...,maxShift=NULL,..)
 --------------------------------

 aligning spectrum  2Warning in min(peakList) :
  no non-missing arguments to min; returning Inf
Warning in max(peakList) :
  no non-missing arguments to max; returning -Inf
Error in startP:(minpeakList - 1) : result would be too long a vector
Calls: clupaSpectra -> <Anonymous> -> .withMaxShift -> hClustAlign
Execution halted