CRAN Package Check Results for Package gpclib

Last updated on 2018-04-26 00:47:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-5 4.94 19.93 24.87 NOTE
r-devel-linux-x86_64-debian-gcc 1.5-5 4.26 17.81 22.07 NOTE
r-devel-linux-x86_64-fedora-clang 1.5-5 32.10 NOTE
r-devel-linux-x86_64-fedora-gcc 1.5-5 29.98 NOTE
r-devel-windows-ix86+x86_64 1.5-5 10.00 53.00 63.00 ERROR
r-patched-linux-x86_64 1.5-5 5.47 21.60 27.07 NOTE
r-patched-solaris-x86 1.5-5 56.40 NOTE
r-release-linux-x86_64 1.5-5 5.44 21.59 27.03 NOTE
r-release-windows-ix86+x86_64 1.5-5 10.00 53.00 63.00 ERROR
r-release-osx-x86_64 1.5-5 NOTE
r-oldrel-osx-x86_64 1.5-5 NOTE

Check Details

Version: 1.5-5
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-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.5-5
Check: whether the namespace can be loaded with stated dependencies
Result: NOTE
    Warning: no function found corresponding to methods exports from ‘gpclib’ for: ‘coerce’, ‘show’
    
    A namespace must be able to be loaded with just the base namespace
    loaded: otherwise if the namespace gets loaded by a saved object, the
    session will be unable to start.
    
    Probably some imports need to be declared in the NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.5-5
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘methods’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.5-5
Check: R code for possible problems
Result: NOTE
    read.polyfile: no visible global function definition for ‘as’
    write.polyfile: no visible global function definition for ‘is’
    write.polyfile: no visible global function definition for ‘as’
    [,gpc.poly: no visible global function definition for ‘new’
    append.poly,gpc.poly-gpc.poly: no visible global function definition
     for ‘new’
    coerce,data.frame-gpc.poly: no visible global function definition for
     ‘as’
    coerce,list-gpc.poly: no visible global function definition for ‘as’
    coerce,matrix-gpc.poly: no visible global function definition for ‘new’
    coerce,numeric-gpc.poly: no visible global function definition for
     ‘new’
    coerce,numeric-gpc.poly.nohole: no visible global function definition
     for ‘new’
    intersect,gpc.poly-gpc.poly: no visible global function definition for
     ‘as’
    intersect,gpc.poly-gpc.poly: no visible global function definition for
     ‘new’
    setdiff,gpc.poly-gpc.poly: no visible global function definition for
     ‘as’
    setdiff,gpc.poly-gpc.poly: no visible global function definition for
     ‘new’
    tristrip,gpc.poly: no visible global function definition for ‘as’
    union,gpc.poly-gpc.poly: no visible global function definition for ‘as’
    union,gpc.poly-gpc.poly: no visible global function definition for
     ‘new’
    Undefined global functions or variables:
     as is new
    Consider adding
     importFrom("methods", "as", "is", "new")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.5-5
Check: compiled code
Result: NOTE
    File ‘gpclib/libs/gpclib.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, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.5-5
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'bug1.R' [1s]
     Running 'reg-tests.R' [1s]
     Comparing 'reg-tests.Rout' to 'reg-tests.Rout.save' ...58c58
    < Formal class 'gpc.poly' [package "gpclib"] with 1 slot
    ---
    > Formal class 'gpc.poly' [package "gpclib"] with 1 slots
    68c68
    < Formal class 'gpc.poly' [package "gpclib"] with 1 slot
    ---
    > Formal class 'gpc.poly' [package "gpclib"] with 1 slots
    83c83
    < Formal class 'gpc.poly' [package "gpclib"] with 1 slot
    ---
    > Formal class 'gpc.poly' [package "gpclib"] with 1 slots
    Running the tests in 'tests/bug1.R' failed.
    Complete output:
     > suppressMessages(library(gpclib))
     > to_numeric <- selectMethod(coerce, c("gpc.poly", "numeric"))
     > load("bug1_data.RData")
     > plot(p) ## loads a polygon, looks fine
     > plot(as(vec, "gpc.poly")) ## looks fine
     > clip <- to_numeric(p); str(clip)
     num [1:17] 1 7 0 570545 7890092 ...
     >
     > ## Crashes R 2.14 and 2.15 (32-bit) on Windows
     > vec <- .Call("Rgpc_polygon_clip", vec, clip, 3, PACKAGE="gpclib")
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64