CRAN Package Check Results for Package stppSim

Last updated on 2022-08-10 07:51:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3 45.30 402.83 448.13 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.3 37.33 297.15 334.48 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.3 559.59 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.3 532.09 ERROR
r-devel-windows-x86_64 1.2.3 56.00 386.00 442.00 ERROR
r-patched-linux-x86_64 1.2.3 38.33 381.20 419.53 ERROR
r-release-linux-x86_64 1.2.3 ERROR
r-release-macos-arm64 1.2.3 148.00 OK
r-release-macos-x86_64 1.2.3 224.00 OK
r-release-windows-x86_64 1.2.3 55.00 386.00 441.00 ERROR
r-oldrel-macos-arm64 1.2.3 133.00 OK
r-oldrel-macos-x86_64 1.2.3 173.00 OK
r-oldrel-windows-ix86+x86_64 1.2.3 103.00 389.00 492.00 ERROR

Check Details

Version: 1.2.3
Check: package subdirectories
Result: NOTE
    Problems with news in 'NEWS.md':
    No news entries found.
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-x86_64

Version: 1.2.3
Check: examples
Result: ERROR
    Running examples in 'stppSim-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: artif_spo
    > ### Title: Artificial spatial origins
    > ### Aliases: artif_spo
    >
    > ### ** Examples
    >
    > #load boundary of Camden
    > load(file = system.file("extdata", "camden.rda",
    + package="stppSim"))
    > boundary = camden$boundary # get boundary
    > landuse <- camden$landuse
    > spo <- artif_spo(poly = boundary, n_origin = 50,
    + restriction_feat = landuse, n_foci=5, foci_separation = 0,
    + mfocal = NULL, conc_type = "dispersed", p_ratio=20)
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class "character" is not valid for slot 'proj4string' in an object of class "Spatial"; is(value, "CRS") is not TRUE
    Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
    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: 1.2.3
Check: package dependencies
Result: NOTE
    Imports includes 23 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.3
Check: examples
Result: ERROR
    Running examples in ‘stppSim-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: artif_spo
    > ### Title: Artificial spatial origins
    > ### Aliases: artif_spo
    >
    > ### ** Examples
    >
    > #load boundary of Camden
    > load(file = system.file("extdata", "camden.rda",
    + package="stppSim"))
    > boundary = camden$boundary # get boundary
    > landuse <- camden$landuse
    > spo <- artif_spo(poly = boundary, n_origin = 50,
    + restriction_feat = landuse, n_foci=5, foci_separation = 0,
    + mfocal = NULL, conc_type = "dispersed", p_ratio=20)
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'obj' in selecting a method for function 'bbox': assignment of an object of class “character” is not valid for slot ‘proj4string’ in an object of class “Spatial”; is(value, "CRS") is not TRUE
    Calls: artif_spo ... bbox -> as -> asMethod -> slot<- -> checkSlotAssignment
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-ix86+x86_64