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

> ### Name: rgl-package
> ### Title: Tools for examining R profile output
> ### Aliases: proftools-package proftools
> ### Keywords: programming utilities
> 
> ### ** Examples
> 
> pd <- readProfileData(system.file("samples", "glmEx.out", package="proftools"))
> funSummary(pd)
                      total.pct self.pct
system.time                 100        0
sapply                      100        0
replicate                   100        0
lapply                      100        0
FUN                         100        4
summary                      80        0
glm                          76        0
eval                         68        0
glm.fit                      36        8
paste                        28        0
match                        28        0
deparse                      28       16
%in%                         28        4
model.frame.default          24        0
mode                         24        4
<Anonymous>                  24        0
ifelse                       16       12
dev.resids                   16        0
data.frame                   16        0
force                        12        0
as.data.frame.numeric        12        0
as.data.frame                12        0
model.matrix.default          8        0
model.matrix                  8        0
getExportedValue              8        0
::                            8        0
.deparseOpts                  8        4
.External2                    8        4
$                             8        8
unique.default                4        4
unique                        4        0
summary.glm                   4        0
simplify2array                4        0
names                         4        4
na.omit.data.frame            4        0
na.omit                       4        0
mu.eta                        4        4
length                        4        4
is.na                         4        4
is.atomic                     4        4
getNamespace                  4        0
getInternalExportName         4        0
exists                        4        4
asNamespace                   4        0
as.name                       4        4
[[.data.frame                 4        0
[[                            4        0
[                             4        4
> callSummary(pd)
                                          total.pct self.pct
system.time -> replicate                        100        0
sapply -> lapply                                100        0
replicate -> sapply                             100        0
lapply -> FUN                                   100        4
FUN -> summary                                   80        0
summary -> glm                                   76        0
glm -> eval                                      68        0
eval -> eval                                     68        0
eval -> glm.fit                                  36        8
paste -> deparse                                 28        4
match -> mode                                    24        4
eval -> <Anonymous>                              24        0
deparse -> %in%                                  24        0
<Anonymous> -> model.frame.default               24        0
%in% -> match                                    24        0
model.frame.default -> sapply                    20        0
mode -> deparse                                  20       12
glm.fit -> dev.resids                            16        0
dev.resids -> ifelse                             16       12
FUN -> paste                                     16        0
FUN -> data.frame                                16        0
force -> paste                                   12        0
data.frame -> as.data.frame                      12        0
as.data.frame.numeric -> force                   12        0
as.data.frame -> as.data.frame.numeric           12        0
model.matrix -> model.matrix.default              8        0
glm.fit -> $                                      8        8
glm -> model.matrix                               8        0
eval -> ::                                        8        0
deparse -> .deparseOpts                           8        4
:: -> getExportedValue                            8        0
unique -> unique.default                          4        4
summary.glm -> [                                  4        4
summary -> summary.glm                            4        0
simplify2array -> unique                          4        0
sapply -> simplify2array                          4        0
names -> names                                    4        4
na.omit.data.frame -> [[                          4        0
na.omit -> na.omit.data.frame                     4        0
model.matrix.default -> match                     4        0
model.matrix.default -> .External2                4        4
model.frame.default -> .External2                 4        0
match -> names                                    4        0
length -> length                                  4        4
ifelse -> is.atomic                               4        4
glm.fit -> mu.eta                                 4        4
getNamespace -> as.name                           4        4
getInternalExportName -> exists                   4        4
getExportedValue -> getInternalExportName         4        0
getExportedValue -> asNamespace                   4        0
data.frame -> length                              4        0
asNamespace -> getNamespace                       4        0
[[.data.frame -> %in%                             4        4
[[ -> [[.data.frame                               4        0
.deparseOpts -> is.na                             4        4
.External2 -> na.omit                             4        0
> pathSummary(pd)
                                                  total.pct
...  eval -> glm.fit -> dev.resids -> ifelse             12
...  deparse -> %in% -> match -> mode -> deparse         12
...  summary -> glm -> eval -> eval -> glm.fit            8
...  glm -> eval -> eval -> glm.fit -> $                  8
...  simplify2array -> unique -> unique.default           4
...  sapply -> lapply -> FUN -> paste -> deparse          4
...  replicate -> sapply -> lapply -> FUN                 4
...  paste -> deparse -> %in% -> match -> mode            4
...  model.matrix.default -> .External2                   4
...  mode -> deparse -> .deparseOpts -> is.na             4
...  match -> names -> names                              4
...  match -> mode -> deparse -> .deparseOpts             4
...  lapply -> FUN -> summary -> summary.glm -> [         4
...  glm.fit -> dev.resids -> ifelse -> is.atomic         4
...  glm -> eval -> eval -> glm.fit -> mu.eta             4
...  getInternalExportName -> exists                      4
...  asNamespace -> getNamespace -> as.name               4
...  [[ -> [[.data.frame -> %in%                          4
...  FUN -> data.frame -> length -> length                4
> hotPaths(pd)
 path                                 total.pct self.pct
 system.time                          100        0      
 . replicate                          100        0      
 . . sapply                           100        0      
 . . . lapply                         100        0      
 . . . . FUN                          100        4      
 . . . . . data.frame                  16        0      
 . . . . . . as.data.frame             12        0      
 . . . . . . . as.data.frame.numeric   12        0      
 . . . . . . . . force                 12        0      
 . . . . . . . . . paste               12       12      
 . . . . . . length                     4        0      
 . . . . . . . length                   4        4      
 . . . . . summary                     80        0      
 . . . . . . glm                       76        0      
 . . . . . . . eval                    68        0      
 . . . . . . . . eval                  68        0      
 . . . . . . . . . ::                   8        8      
 . . . . . . . . . <Anonymous>         24       24      
 . . . . . . . . . glm.fit             36       36      
 . . . . . . . model.matrix             8        0      
 . . . . . . . . model.matrix.default   8        0      
 . . . . . . . . . .External2           4        4      
 . . . . . . . . . match                4        4      
 . . . . . . summary.glm                4        0      
 . . . . . . . [                        4        4      
> plot(pd)