CRAN Package Check Results for Package XML

Last updated on 2017-03-27 18:50:24.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.98-1.5 9.15 46.07 55.22 ERROR
r-devel-linux-x86_64-debian-gcc 3.98-1.5 8.03 44.83 52.86 ERROR
r-devel-linux-x86_64-fedora-clang 3.98-1.5 95.23 NOTE --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 3.98-1.5 92.71 NOTE --no-stop-on-test-error
r-devel-macos-x86_64-clang 3.98-1.5 80.91 NOTE --no-stop-on-test-error
r-devel-windows-ix86+x86_64 3.98-1.5 106.00 100.00 206.00 ERROR
r-patched-linux-x86_64 3.98-1.5 8.65 45.52 54.17 ERROR
r-patched-solaris-sparc 3.98-1.5 591.60 WARN
r-patched-solaris-x86 3.98-1.5 117.70 WARN
r-release-linux-x86_64 3.98-1.5 7.33 43.97 51.29 ERROR
r-release-osx-x86_64-mavericks 3.98-1.5 NOTE
r-release-windows-ix86+x86_64 3.98-1.5 63.00 160.00 223.00 NOTE
r-oldrel-windows-ix86+x86_64 3.98-1.5 78.00 187.00 265.00 NOTE

Check Details

Version: 3.98-1.5
Check: top-level files
Result: NOTE
    Non-standard files/directories found at top level:
     ‘Bug.R’ ‘Bugs.html’ ‘Check’ ‘CodeDetails’ ‘DESCRIPTION.in’ ‘Docs’
     ‘FAQ.html’ ‘FIXME_NOW’ ‘GNUmakefile’ ‘GNUmakefile.admin’
     ‘Makevars.in’ ‘MemoryBug.R’ ‘NAMESPACE.in’ ‘NodeFuns’ ‘Notes’
     ‘QuestionSolutions’ ‘README.windows’ ‘Rsamples’ ‘TAGS’
     ‘Todo-orig.html’ ‘Todo.xml’ ‘VersionInfo’ ‘addFinalizer’ ‘checkLinks’
     ‘dotCalls’ ‘expat’ ‘index.html’ ‘index.html.in’ ‘libxml’
     ‘libxml2.9.R’ ‘scrapingData.xml’ ‘testRemoveFinalizers.R’
     ‘testRemoveFinalizers.c’ ‘xpathPointer.xml’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.98-1.5
Check: R code for possible problems
Result: NOTE
    newXMLDoc: no visible binding for global variable ‘doc’
    source: no visible binding for global variable ‘use_file’
    xmlFlatListTree : f: no visible binding for global variable ‘nodeNames’
    xmlFlatListTree : f: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘parentCount’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘parentCount’
    xmlFlatListTree : <anonymous>: no visible binding for global variable
     ‘e’
    xmlFlatTree : <anonymous>: no visible binding for global variable ‘e’
    [[,XMLCodeFile: possible error in updateIds(doc, save = x): unused
     argument (save = x)
    Undefined global functions or variables:
     doc e idx nodeNames nodeSet parentCount use_file
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86

Version: 3.98-1.5
Check: Rd line widths
Result: NOTE
    Rd file 'makeClassTemplate.Rd':
     \examples lines wider than 100 characters:
     "<doc><part><name>ABC</name><type>XYZ</type><cost>3.54</cost><status>available</status></part></doc>"
    
    Rd file 'xmlClone.Rd':
     \examples lines wider than 100 characters:
     xmlParse('<doc><author id="dtl"><firstname>Duncan</firstname><surname>Temple Lang</surname></author></doc>')
    
    Rd file 'xmlToS4.Rd':
     \examples lines wider than 100 characters:
     "<doc><part><name>ABC</name><type>XYZ</type><cost>3.54</cost><status>available</status></part></doc>"
    
    These lines will be truncated in the PDF manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.98-1.5
Check: compiled code
Result: NOTE
    File ‘XML/libs/XML.so’:
     Found ‘stderr’, possibly from ‘stderr’ (C)
     Object: ‘DocParse.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor the system RNG.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.98-1.5
Check: examples
Result: ERROR
    Running examples in ‘XML-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: readHTMLTable
    > ### Title: Read data from one or more HTML tables
    > ### Aliases: readHTMLTable readHTMLTable,character-method
    > ### readHTMLTable,HTMLInternalDocument-method
    > ### readHTMLTable,XMLInternalElementNode-method
    > ### coerce,character,FormattedInteger-method
    > ### coerce,character,FormattedNumber-method
    > ### coerce,character,Percent-method coerce,character,Currency-method
    > ### FormattedInteger-class FormattedNumber-class Percent-class
    > ### Keywords: IO data
    >
    > ### ** Examples
    >
    > ## Not run:
    > ##D ## This changed to using https: in June 2015, and that is unsupported.
    > ##D # u = "http://en.wikipedia.org/wiki/World_population"
    > ##D u = "https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population"
    > ##D
    > ##D tables = readHTMLTable(u)
    > ##D names(tables)
    > ##D
    > ##D tables[[2]]
    > ##D # Print the table. Note that the values are all characters
    > ##D # not numbers. Also the column names have a preceding X since
    > ##D # R doesn't allow the variable names to start with digits.
    > ##D tmp = tables[[2]]
    > ##D
    > ##D
    > ##D # Let's just read the second table directly by itself.
    > ##D doc = htmlParse(u)
    > ##D tableNodes = getNodeSet(doc, "//table")
    > ##D tb = readHTMLTable(tableNodes[[2]])
    > ##D
    > ##D # Let's try to adapt the values on the fly.
    > ##D # We'll create a function that turns a th/td node into a val
    > ##D tryAsInteger = function(node) {
    > ##D val = xmlValue(node)
    > ##D ans = as.integer(gsub(",", "", val))
    > ##D if(is.na(ans))
    > ##D val
    > ##D else
    > ##D ans
    > ##D }
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger)
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger,
    > ##D colClasses = c("character", rep("integer", 9)))
    > ## End(Not run)
    >
    > zz =
    + readHTMLTable("http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx")
    Error: failed to load external entity "http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx"
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.98-1.5
Flags: --no-stop-on-test-error
Check: installed package size
Result: NOTE
     installed size is 7.5Mb
     sub-directories of 1Mb or more:
     exampleData 1.6Mb
     examples 4.6Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 3.98-1.5
Flags: --no-stop-on-test-error
Check: top-level files
Result: NOTE
    Non-standard files/directories found at top level:
     ‘Bug.R’ ‘Bugs.html’ ‘Check’ ‘CodeDetails’ ‘DESCRIPTION.in’ ‘Docs’
     ‘FAQ.html’ ‘FIXME_NOW’ ‘GNUmakefile’ ‘GNUmakefile.admin’
     ‘Makevars.in’ ‘MemoryBug.R’ ‘NAMESPACE.in’ ‘NodeFuns’ ‘Notes’
     ‘QuestionSolutions’ ‘README.windows’ ‘Rsamples’ ‘TAGS’
     ‘Todo-orig.html’ ‘Todo.xml’ ‘VersionInfo’ ‘addFinalizer’ ‘checkLinks’
     ‘dotCalls’ ‘expat’ ‘index.html’ ‘index.html.in’ ‘libxml’
     ‘libxml2.9.R’ ‘scrapingData.xml’ ‘testRemoveFinalizers.R’
     ‘testRemoveFinalizers.c’ ‘xpathPointer.xml’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 3.98-1.5
Flags: --no-stop-on-test-error
Check: R code for possible problems
Result: NOTE
    newXMLDoc: no visible binding for global variable ‘doc’
    source: no visible binding for global variable ‘use_file’
    xmlFlatListTree : f: no visible binding for global variable ‘nodeNames’
    xmlFlatListTree : f: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘parentCount’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘parentCount’
    xmlFlatListTree : <anonymous>: no visible binding for global variable
     ‘e’
    xmlFlatTree : <anonymous>: no visible binding for global variable ‘e’
    [[,XMLCodeFile: possible error in updateIds(doc, save = x): unused
     argument (save = x)
    Undefined global functions or variables:
     doc e idx nodeNames nodeSet parentCount use_file
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 3.98-1.5
Flags: --no-stop-on-test-error
Check: Rd line widths
Result: NOTE
    Rd file 'makeClassTemplate.Rd':
     \examples lines wider than 100 characters:
     "<doc><part><name>ABC</name><type>XYZ</type><cost>3.54</cost><status>available</status></part></doc>"
    
    Rd file 'xmlClone.Rd':
     \examples lines wider than 100 characters:
     xmlParse('<doc><author id="dtl"><firstname>Duncan</firstname><surname>Temple Lang</surname></author></doc>')
    
    Rd file 'xmlToS4.Rd':
     \examples lines wider than 100 characters:
     "<doc><part><name>ABC</name><type>XYZ</type><cost>3.54</cost><status>available</status></part></doc>"
    
    These lines will be truncated in the PDF manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 3.98-1.5
Check: installed package size
Result: NOTE
     installed size is 11.0Mb
     sub-directories of 1Mb or more:
     exampleData 1.4Mb
     examples 4.5Mb
     libs 4.2Mb
Flavors: r-devel-windows-ix86+x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 3.98-1.5
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'XML-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: readHTMLTable
    > ### Title: Read data from one or more HTML tables
    > ### Aliases: readHTMLTable readHTMLTable,character-method
    > ### readHTMLTable,HTMLInternalDocument-method
    > ### readHTMLTable,XMLInternalElementNode-method
    > ### coerce,character,FormattedInteger-method
    > ### coerce,character,FormattedNumber-method
    > ### coerce,character,Percent-method coerce,character,Currency-method
    > ### FormattedInteger-class FormattedNumber-class Percent-class
    > ### Keywords: IO data
    >
    > ### ** Examples
    >
    > ## Not run:
    > ##D ## This changed to using https: in June 2015, and that is unsupported.
    > ##D # u = "http://en.wikipedia.org/wiki/World_population"
    > ##D u = "https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population"
    > ##D
    > ##D tables = readHTMLTable(u)
    > ##D names(tables)
    > ##D
    > ##D tables[[2]]
    > ##D # Print the table. Note that the values are all characters
    > ##D # not numbers. Also the column names have a preceding X since
    > ##D # R doesn't allow the variable names to start with digits.
    > ##D tmp = tables[[2]]
    > ##D
    > ##D
    > ##D # Let's just read the second table directly by itself.
    > ##D doc = htmlParse(u)
    > ##D tableNodes = getNodeSet(doc, "//table")
    > ##D tb = readHTMLTable(tableNodes[[2]])
    > ##D
    > ##D # Let's try to adapt the values on the fly.
    > ##D # We'll create a function that turns a th/td node into a val
    > ##D tryAsInteger = function(node) {
    > ##D val = xmlValue(node)
    > ##D ans = as.integer(gsub(",", "", val))
    > ##D if(is.na(ans))
    > ##D val
    > ##D else
    > ##D ans
    > ##D }
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger)
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger,
    > ##D colClasses = c("character", rep("integer", 9)))
    > ## End(Not run)
    >
    > zz =
    + readHTMLTable("http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx")
    Error: failed to load external entity "http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx"
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 3.98-1.5
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'XML-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: readHTMLTable
    > ### Title: Read data from one or more HTML tables
    > ### Aliases: readHTMLTable readHTMLTable,character-method
    > ### readHTMLTable,HTMLInternalDocument-method
    > ### readHTMLTable,XMLInternalElementNode-method
    > ### coerce,character,FormattedInteger-method
    > ### coerce,character,FormattedNumber-method
    > ### coerce,character,Percent-method coerce,character,Currency-method
    > ### FormattedInteger-class FormattedNumber-class Percent-class
    > ### Keywords: IO data
    >
    > ### ** Examples
    >
    > ## Not run:
    > ##D ## This changed to using https: in June 2015, and that is unsupported.
    > ##D # u = "http://en.wikipedia.org/wiki/World_population"
    > ##D u = "https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population"
    > ##D
    > ##D tables = readHTMLTable(u)
    > ##D names(tables)
    > ##D
    > ##D tables[[2]]
    > ##D # Print the table. Note that the values are all characters
    > ##D # not numbers. Also the column names have a preceding X since
    > ##D # R doesn't allow the variable names to start with digits.
    > ##D tmp = tables[[2]]
    > ##D
    > ##D
    > ##D # Let's just read the second table directly by itself.
    > ##D doc = htmlParse(u)
    > ##D tableNodes = getNodeSet(doc, "//table")
    > ##D tb = readHTMLTable(tableNodes[[2]])
    > ##D
    > ##D # Let's try to adapt the values on the fly.
    > ##D # We'll create a function that turns a th/td node into a val
    > ##D tryAsInteger = function(node) {
    > ##D val = xmlValue(node)
    > ##D ans = as.integer(gsub(",", "", val))
    > ##D if(is.na(ans))
    > ##D val
    > ##D else
    > ##D ans
    > ##D }
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger)
    > ##D
    > ##D tb = readHTMLTable(tableNodes[[2]], elFun = tryAsInteger,
    > ##D colClasses = c("character", rep("integer", 9)))
    > ## End(Not run)
    >
    > zz =
    + readHTMLTable("http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx")
    Error: failed to load external entity "http://www.inflationdata.com/Inflation/Consumer_Price_Index/HistoricalCPI.aspx"
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 3.98-1.5
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     "NodeGC.c", line 385: warning: improper pointer/integer combination: op "=="
Flavors: r-patched-solaris-sparc, r-patched-solaris-x86

Version: 3.98-1.5
Check: R code for possible problems
Result: NOTE
    newXMLDoc: no visible binding for global variable ‘doc’
    xmlFlatListTree : f: no visible binding for global variable ‘nodeNames’
    xmlFlatListTree : f: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeSet’
    xmlFlatListTree : addNode: no visible binding for global variable ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘nodeNames’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘idx’
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     ‘parentCount’
    xmlFlatListTree : addNode: no visible binding for global variable
     ‘parentCount’
    xmlFlatListTree : <anonymous>: no visible binding for global variable
     ‘e’
    xmlFlatTree : <anonymous>: no visible binding for global variable ‘e’
    [[,XMLCodeFile: possible error in updateIds(doc, save = x): unused
     argument (save = x)
    Undefined global functions or variables:
     doc e idx nodeNames nodeSet parentCount
Flavors: r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 3.98-1.5
Check: R code for possible problems
Result: NOTE
    newXMLDoc: no visible binding for global variable 'doc'
    xmlFlatListTree : f: no visible binding for global variable 'nodeNames'
    xmlFlatListTree : f: no visible binding for global variable 'idx'
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     'nodeSet'
    xmlFlatListTree : addNode: no visible binding for global variable
     'nodeSet'
    xmlFlatListTree : addNode: no visible binding for global variable 'idx'
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     'nodeNames'
    xmlFlatListTree : addNode: no visible binding for global variable
     'nodeNames'
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     'idx'
    xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
     'parentCount'
    xmlFlatListTree : addNode: no visible binding for global variable
     'parentCount'
    xmlFlatListTree : <anonymous>: no visible binding for global variable
     'e'
    xmlFlatTree : <anonymous>: no visible binding for global variable 'e'
    [[,XMLCodeFile : .local: possible error in updateIds(doc, save = x):
     unused argument (save = x)
Flavor: r-oldrel-windows-ix86+x86_64