8  Development Version

The development versions of these packages, which include experimental and potentially unstable features, are released extremely frequently to Tingting Zhan’s Github repository. To reproduce all examples in this Quarto book, readers must also install the development versions of the spatstat.* family of packages from spatstat Github repository.

Readers should repeat the calls to function pak::pak() (Csárdi and Hester 2025) until each call (Listing 8.1, Listing 8.2) prints the message

ℹ No downloads are needed

Listing 8.1: Review: install development versions of spatstat.* family via pak::pak()
pak::pak('spatstat/spatstat', ask = FALSE)
pak::pak('spatstat/spatstat.data', ask = FALSE)
pak::pak('spatstat/spatstat.explore', ask = FALSE)
pak::pak('spatstat/spatstat.geom', ask = FALSE)
pak::pak('spatstat/spatstat.linnet', ask = FALSE)
pak::pak('spatstat/spatstat.model', ask = FALSE)
pak::pak('spatstat/spatstat.random', ask = FALSE)
pak::pak('spatstat/spatstat.sparse', ask = FALSE)
pak::pak('spatstat/spatstat.univar', ask = FALSE)
pak::pak('spatstat/spatstat.utils', ask = FALSE)
Listing 8.2: Review: install development versions of these packages via pak::pak()
pak::pak('tingtingzhan/groupedHyperframe', ask = FALSE)
pak::pak('tingtingzhan/groupedHyperframe.random', ask = FALSE)
pak::pak('tingtingzhan/hyper.gam', ask = FALSE)
pak::pak('tingtingzhan/maxEff', ask = FALSE)

Alternatively, readers should repeat the calls to function remotes::install_github() (Csárdi et al. 2024) until each call (Listing 8.3, Listing 8.4) prints the message,

Skipping install of '_PACKAGE_' from a github remote, the SHA1 (_0000000d_) has not changed since last install.

Listing 8.3: Review: install development versions of spatstat.* family via remotes::install_github()
remotes::install_github('spatstat/spatstat', upgrade = 'always')
remotes::install_github('spatstat/spatstat.data', upgrade = 'always')
remotes::install_github('spatstat/spatstat.explore', upgrade = 'always')
remotes::install_github('spatstat/spatstat.geom', upgrade = 'always')
remotes::install_github('spatstat/spatstat.linnet', upgrade = 'always')
remotes::install_github('spatstat/spatstat.model', upgrade = 'always')
remotes::install_github('spatstat/spatstat.random', upgrade = 'always')
remotes::install_github('spatstat/spatstat.sparse', upgrade = 'always')
remotes::install_github('spatstat/spatstat.univar', upgrade = 'always')
remotes::install_github('spatstat/spatstat.utils', upgrade = 'always')
Listing 8.4: Review: install development versions of these packages via remotes::install_github()
remotes::install_github('tingtingzhan/groupedHyperframe', upgrade = 'always')
remotes::install_github('tingtingzhan/groupedHyperframe.random', upgrade = 'always')
remotes::install_github('tingtingzhan/hyper.gam', upgrade = 'always')
remotes::install_github('tingtingzhan/maxEff', upgrade = 'always')

Table 8.1 tracks of the development versions of the spatstat.* family of packages on Github that are ahead of CRAN. It is refreshed daily.

Table: development version of spatstat.* family ahead of CRAN
spatstat = c(
  'spatstat', 'spatstat.data', 'spatstat.explore', 'spatstat.geom', 'spatstat.linnet', 
  'spatstat.model', 'spatstat.random', 'spatstat.sparse', 'spatstat.univar', 'spatstat.utils'
)
cran = available.packages(contriburl = 'https://cran.rstudio.com/src/contrib') |> 
  as.data.frame.matrix() |>
  subset.data.frame(subset = Package %in% spatstat, select = c('Package', 'Version'))
github = installed.packages() |>
  as.data.frame.matrix() |>
  subset.data.frame(subset = Package %in% spatstat, select = c('Package', 'Version'))
merge.data.frame(x = cran, y = github, by = 'Package', suffixes = c(' on CRAN', ' on Github')) |> 
  subset.data.frame(subset = `Version on CRAN` != `Version on Github`) |>
  within.data.frame(expr = {
    Package = Package |> sprintf(fmt = '**`%s`**')
  }) |>
  knitr::kable(
    row.names = FALSE,
    caption = Sys.Date() |> format() |> 
      sprintf(fmt = 'Development version of `spatstat.*` family ahead of CRAN, as of %s')
  )
Table 8.1: Development version of spatstat.* family ahead of CRAN, as of 2025-11-25
Package Version on CRAN Version on Github
spatstat 3.4-1 3.4-1.005
spatstat.explore 3.6-0 3.6-0.001
spatstat.linnet 3.3-2 3.3-2.025
spatstat.model 3.4-2 3.4-2.025
spatstat.utils 3.2-0 3.2-0.002