CRAN Package Check Results for Package nhlscrapr

Last updated on 2017-02-20 13:51:03.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.8 1.85 25.43 27.28 ERROR
r-devel-linux-x86_64-debian-gcc 1.8 1.92 24.79 26.71 ERROR
r-devel-linux-x86_64-fedora-clang 1.8 44.23 ERROR --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 1.8 24.92 ERROR --no-stop-on-test-error
r-devel-macos-x86_64-clang 1.8 38.41 ERROR --no-stop-on-test-error
r-devel-windows-ix86+x86_64 1.8 14.00 73.00 87.00 NOTE
r-patched-linux-x86_64 1.8 1.70 24.21 25.91 NOTE
r-patched-solaris-sparc 1.8 257.10 NOTE
r-patched-solaris-x86 1.8 56.40 NOTE
r-release-linux-x86_64 1.8 1.82 24.82 26.64 NOTE
r-release-osx-x86_64-mavericks 1.8 NOTE
r-release-windows-ix86+x86_64 1.8 7.00 54.00 61.00 NOTE
r-oldrel-windows-ix86+x86_64 1.8 9.00 71.00 80.00 NOTE

Check Details

Version: 1.8
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
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, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.8
Check: R code for possible problems
Result: NOTE
    compare.CDF: no visible global function definition for ‘quantile’
    download.single.game: no visible global function definition for
     ‘download.file’
    fit.shot.probs.simple: no visible global function definition for
     ‘predict’
    integrate.old.pieces: no visible global function definition for
     ‘na.omit’
    prob.score.simple.objects: no visible global function definition for
     ‘binomial’
    prob.score.simple.objects: no visible binding for global variable
     ‘logit’
    prob.score.simple.objects: no visible global function definition for
     ‘predict’
    process.pl.new: no visible global function definition for ‘na.omit’
    read.gif: no visible global function definition for ‘download.file’
    read.gif: no visible global function definition for ‘rgb’
    solver.with.nlm: no visible global function definition for ‘nlm’
    team.table : thisplot: no visible global function definition for ‘par’
    team.table : thisplot: no visible global function definition for ‘plot’
    team.table : thisplot: no visible global function definition for ‘text’
    team.table : thisplot: no visible global function definition for
     ‘abline’
    Undefined global functions or variables:
     abline binomial download.file logit na.omit nlm par plot predict
     quantile rgb text
    Consider adding
     importFrom("grDevices", "rgb")
     importFrom("graphics", "abline", "par", "plot", "text")
     importFrom("stats", "binomial", "na.omit", "nlm", "predict",
     "quantile")
     importFrom("utils", "download.file")
    to your NAMESPACE 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, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 1.8
Check: compiled code
Result: NOTE
    File ‘nhlscrapr/libs/nhlscrapr.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    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

Version: 1.8
Check: examples
Result: ERROR
    Running examples in ‘nhlscrapr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: full.game.database
    > ### Title: Create a shell database for NHL games from 2002 to the present,
    > ### then download them
    > ### Aliases: full.game.database download.single.game download.games
    >
    > ### ** Examples
    >
    >
    > #Select a part of the history.
    > game.table <- full.game.database()[201:220,]
    >
    > #Download one game.
    > download.single.game(game.table$season[1], game.table$gcode[1], wait=1)
    Downloading files for game 20022003 20201
    Warning in download.single.game(game.table$season[1], game.table$gcode[1], :
     Could not recover x-y coordinates.
    Warning in download.file(infile, outfile, mode = "wb") :
     URL http://www.nhl.com/scores/htmlreports/20022003/SCH20201.gif: cannot open destfile 'nhlr-data/20022003H20201.gif', reason 'No such file or directory'
    Warning in download.file(infile, outfile, mode = "wb") :
     download had nonzero exit status
    Error: write.gif: cannot open the input file: nhlr-data/20022003H20201.gif
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.8
Flags: --no-stop-on-test-error
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 1.8
Flags: --no-stop-on-test-error
Check: R code for possible problems
Result: NOTE
    compare.CDF: no visible global function definition for ‘quantile’
    download.single.game: no visible global function definition for
     ‘download.file’
    fit.shot.probs.simple: no visible global function definition for
     ‘predict’
    integrate.old.pieces: no visible global function definition for
     ‘na.omit’
    prob.score.simple.objects: no visible global function definition for
     ‘binomial’
    prob.score.simple.objects: no visible binding for global variable
     ‘logit’
    prob.score.simple.objects: no visible global function definition for
     ‘predict’
    process.pl.new: no visible global function definition for ‘na.omit’
    read.gif: no visible global function definition for ‘download.file’
    read.gif: no visible global function definition for ‘rgb’
    solver.with.nlm: no visible global function definition for ‘nlm’
    team.table : thisplot: no visible global function definition for ‘par’
    team.table : thisplot: no visible global function definition for ‘plot’
    team.table : thisplot: no visible global function definition for ‘text’
    team.table : thisplot: no visible global function definition for
     ‘abline’
    Undefined global functions or variables:
     abline binomial download.file logit na.omit nlm par plot predict
     quantile rgb text
    Consider adding
     importFrom("grDevices", "rgb")
     importFrom("graphics", "abline", "par", "plot", "text")
     importFrom("stats", "binomial", "na.omit", "nlm", "predict",
     "quantile")
     importFrom("utils", "download.file")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 1.8
Flags: --no-stop-on-test-error
Check: compiled code
Result: NOTE
    File ‘nhlscrapr/libs/nhlscrapr.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 1.8
Flags: --no-stop-on-test-error
Check: examples
Result: ERROR
    Running examples in ‘nhlscrapr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: full.game.database
    > ### Title: Create a shell database for NHL games from 2002 to the present,
    > ### then download them
    > ### Aliases: full.game.database download.single.game download.games
    >
    > ### ** Examples
    >
    >
    > #Select a part of the history.
    > game.table <- full.game.database()[201:220,]
    >
    > #Download one game.
    > download.single.game(game.table$season[1], game.table$gcode[1], wait=1)
    Downloading files for game 20022003 20201
    Warning in download.single.game(game.table$season[1], game.table$gcode[1], :
     Could not recover x-y coordinates.
    Warning in download.file(infile, outfile, mode = "wb") :
     URL http://www.nhl.com/scores/htmlreports/20022003/SCH20201.gif: cannot open destfile 'nhlr-data/20022003H20201.gif', reason 'No such file or directory'
    Warning in download.file(infile, outfile, mode = "wb") :
     download had nonzero exit status
    Error: write.gif: cannot open the input file: nhlr-data/20022003H20201.gif
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang