CRAN Package Check Results for Package pspatreg

Last updated on 2022-09-11 12:56:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 25.04 263.28 288.32 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 19.69 190.37 210.06 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 587.65 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.4 348.36 OK
r-devel-windows-x86_64 1.0.4 62.00 275.00 337.00 OK
r-patched-linux-x86_64 1.0.4 27.83 240.56 268.39 OK
r-release-linux-x86_64 1.0.4 26.24 242.14 268.38 OK
r-release-macos-arm64 1.0.4 160.00 OK
r-release-macos-x86_64 1.0.4 200.00 OK
r-release-windows-x86_64 1.0.4 56.00 279.00 335.00 OK
r-oldrel-macos-arm64 1.0.4 10.00 ERROR
r-oldrel-macos-x86_64 1.0.4 190.00 OK
r-oldrel-windows-ix86+x86_64 1.0.4 57.00 220.00 277.00 ERROR

Check Details

Version: 1.0.4
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘spsur’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.4
Check: package dependencies
Result: ERROR
    Package required and available but unsuitable version: ‘grDevices’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-oldrel-macos-arm64

Version: 1.0.4
Check: examples
Result: ERROR
    Running examples in 'pspatreg-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: impactsnopar
    > ### Title: Compute direct, indirect and total impacts functions for
    > ### continous non-parametric covariates in semiparametric spatial
    > ### regression models.
    > ### Aliases: impactsnopar
    >
    > ### ** Examples
    >
    > ################################################
    > # Examples using spatial data of Ames Houses.
    > ###############################################
    > # Getting and preparing the data
    > library(pspatreg)
    > library(spdep)
    Loading required package: sp
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 7.2.1; sf_use_s2() is TRUE
    > library(sf)
    > ames <- AmesHousing::make_ames() # Raw Ames Housing Data
    > ames_sf <- st_as_sf(ames, coords = c("Longitude", "Latitude"))
    > ames_sf$Longitude <- ames$Longitude
    > ames_sf$Latitude <- ames$Latitude
    > ames_sf$lnSale_Price <- log(ames_sf$Sale_Price)
    > ames_sf$lnLot_Area <- log(ames_sf$Lot_Area)
    > ames_sf$lnTotal_Bsmt_SF <- log(ames_sf$Total_Bsmt_SF+1)
    > ames_sf$lnGr_Liv_Area <- log(ames_sf$Gr_Liv_Area)
    > ########### Constructing the spatial weights matrix
    > ames_sf1 <- ames_sf[(duplicated(ames_sf$Longitude) == FALSE), ]
    > coord_sf1 <- cbind(ames_sf1$Longitude, ames_sf1$Latitude)
    > ID <- row.names(as(ames_sf1, "sf"))
    > col_tri_nb <- tri2nb(coord_sf1)
    > soi_nb <- graph2nb(soi.graph(col_tri_nb,
    + coord_sf1),
    + row.names = ID)
    Error in soi.graph(col_tri_nb, coord_sf1) : dbscan required
    Calls: graph2nb -> soi.graph
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64