Running examples in 'PeakSegJoint-Ex.R' failed
The error most likely occurred in:

> ### Name: clusterPeaks
> ### Title: clusterPeaks
> ### Aliases: clusterPeaks
> 
> ### ** Examples
> 
> unordered <-
+   data.frame(chromStart=c(11, 12, 1, 2, 3, 6, 7),
+              chromEnd=c(13, 14, 5, 8, 4, 9, 10),
+              sample.id=factor(paste0("sample.", c(1, 2, 1, 2, 3, 4, 5))))
> clustered <- clusterPeaks(unordered)
> library(ggplot2)
> bases <- geom_text(aes(position, "base", label=base),
+                    data=data.frame(position=1:20, base="N"))
> gg <- ggplot()+bases+ylab("")+
+   scale_x_continuous(breaks=1:20)
> 
> gg+
+   geom_segment(aes(chromStart+1/2, sample.id,
+                    xend=chromEnd+1/2, yend=sample.id),
+                    data=clustered)+
+   theme_bw()+
+   theme(panel.margin=grid::unit(0, "cm"))+
+   facet_grid(.~cluster, labeller=label_both, scales="free", space="free")
Warning: `panel.margin` is deprecated. Please use `panel.spacing` property instead
Error in namespaceExport(ns, exports) : 
  undefined exports: %s!=%, %s!==%, %s+%, %s<%, %s<=%, %s==%, %s===%, %s>%, %s>=%, %stri!=%, %stri!==%, %stri+%, %stri<%, %stri<=%, %stri==%, %stri===%, %stri>%, %stri>=%, stri_datetime_add<-, stri_sub<-, stri_subset<-, stri_subset_charclass<-, stri_subset_coll<-, stri_subset_fixed<-, stri_subset_regex<-, stri_c, stri_c_list, stri_cmp, stri_cmp_eq, stri_cmp_equiv, stri_cmp_ge, stri_cmp_gt, stri_cmp_le, stri_cmp_lt, stri_cmp_neq, stri_cmp_nequiv, stri_compare, stri_conv, stri_count, stri_count_boundaries, stri_count_charclass, stri_count_coll, stri_count_fixed, stri_count_regex, stri_count_words, stri_datetime_add, stri_datetime_create, stri_datetime_fields, stri_datetime_format, stri_datetime_fstr, stri_datetime_now, stri_datetime_parse, stri_datetime_symbols, stri_detect, stri_detect_charclass, stri_detect_coll, stri_detect_fixed, stri_detect_regex, stri_dup, stri_duplicated, stri_duplicated_any, stri_enc_detect, stri_enc_detect2, stri_enc_fromutf32, stri_enc_get, stri_enc_inf
Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted