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

> ### Name: dl.combine
> ### Title: Combine output of several methods
> ### Aliases: dl.combine
> 
> ### ** Examples
> 
> ## Simple example: label the start and endpoints
> library(nlme)

Attaching package: 'nlme'

The following object is masked from 'package:directlabels':

    gapply

> library(lattice)
> ratplot <- xyplot(weight~Time|Diet,BodyWeight,groups=Rat,type='l',layout=c(3,1))
> ##ratplot <- qplot(Time,weight,data=BodyWeight,group=Rat,colour=Rat,geom="line",facets=.~Diet)
> both <- dl.combine("first.points","last.points")
> rat.both <- direct.label(ratplot,"both")
> print(rat.both)
> ##   grid.edit(gPath("panel-3-3",".*","GRID.dlgrob"),
> ##             method=list(cex=2,fontfamily="bold","both"),
> ##             grep=TRUE)
> ## can also do this by repeatedly calling direct.label
> rat.repeated <-
+   direct.label(direct.label(ratplot,"last.points"),"first.points")
> print(rat.repeated)
> ##   grid.edit(gPath("panel-3-5",".*","GRID.dlgrob.first.points"),
> ##             method=list(cex=2,fontfamily="bold","both"),
> ##             grep=TRUE)
> if(require(ggplot2)){
+   rp2 <- qplot(Time,weight,data=BodyWeight,geom="line",facets=.~Diet,colour=Rat)
+   print(direct.label(direct.label(rp2,"last.points"),"first.points"))
+   print(direct.label(rp2,"both"))
+ }
Loading required package: ggplot2
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: print ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted