Skip to content

tests for trellis graphics do not work when addInfo = T #2

Description

@timelyportfolio

The tests for the trellis graphics (ggplot2 and lattice) do not work on my Windows machine. It appears this line is the beginning of the problem

identifyLatticeElements(doc, ans)

and the root of the ultimate failure occurs at this line.

  o = getNodeSet(doc, "/x:svg/r:display/r:lattice", c(x = SVG.xmlns, r = "http://www.r-project.org"))

which cause this line

identifyLatticeLegend(doc, top, plot)

to spit out the error.

Best I can tell it is something with the xPath and I am guessing with namespaces.

SessionInfo

R version 3.1.0 (2014-04-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] lattice_0.20-29      SVGAnnotation_0.93-2 XML_3.98-1.1         Cairo_1.5-6         

loaded via a namespace (and not attached):
[1] grid_3.1.0  tools_3.1.0

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions