CRAN Package Check Results for Package stppSim

Last updated on 2022-08-12 03:53:40 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-fedora-clang 1.2.7 564.17 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2.7 568.29 OK
r-devel-windows-x86_64 1.2.7 54.00 271.00 325.00 OK
r-patched-linux-x86_64 1.2.3 42.49 392.32 434.81 ERROR
r-release-macos-arm64 1.2.3 148.00 OK
r-release-macos-x86_64 1.2.3 224.00 OK
r-oldrel-macos-arm64 1.2.3 133.00 OK
r-oldrel-macos-x86_64 1.2.3 173.00 OK

Check Details

Version: 1.2.3
Check: package subdirectories
Result: NOTE
    Problems with news in 'NEWS.md':
    No news entries found.
Flavor: r-devel-linux-x86_64-debian-clang

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-patched-linux-x86_64

Version: 1.2.7
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