Skip to content
CRAN requires the check problems on this package to be fixed before Oct 26 or it will be archived. See the check details

stxplore

0.1.0Package record

Exploration of Spatio-Temporal Data

0packages depend
2.7Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

A set of statistical tools for spatio-temporal data exploration. Includes simple plotting functions, covariance calculations and computations similar to principal component analysis for spatio-temporal data. Can use both dataframes and stars objects for all plots and computations. For more details refer 'Spatio-Temporal Statistics with R' (Christopher K. Wikle, Andrew Zammit-Mangion, Noel Cressie, 2019, ISBN:9781138711136).

Install

Health

CRAN checks
5ERROR8OK
Check messages
ERRORexamplesr-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

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Running examples in ‘stxplore-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: semivariogram
> ### Title: Computes the semi-variogram using a dataframe or a stars object.
> ### Aliases: semivariogram semivariogram.data.frame semivariogram.stars
> ###   autoplot.semivariogramobj
> 
> ### ** Examples
> 
> # Dataframe example
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> data(locs)
> data(Times)
> data(Tmax)
> temp_part <- with(Times, paste(year, month, day, sep = "-"))
> temp_part <- data.frame(date = as.Date(temp_part)[913:923])
> Tmax <- Tmax[913:923, ]
> semidf <- semivariogram(locs,
+         temp_part,
+         Tmax,
+         latitude_linear = FALSE,
+         longitude_linear = FALSE,
+         missing_value = -9999,
+         width = 50,
+   
...[truncated]...
n fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
> autoplot(semidf)
> 
> # Stars example
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.9.0; sf_use_s2() is TRUE
> # Create a stars object from a data frame
> precip_df <- NOAA_df_1990[NOAA_df_1990$proc == 'Precip', ] %>%
+   filter(date >= "1992-02-01" & date <= "1992-02-05")
> precip <- precip_df[ ,c('lat', 'lon', 'date', 'z')]
> st_precip <- st_as_stars(precip, dims = c("lon", "lat", "date"))
> semist <- semivariogram(st_precip)
Error in semivariogram.data.frame(locations_df, latitude_linear = latitude_linear,  : 
  The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
Calls: semivariogram -> semivariogram.stars -> semivariogram.data.frame
Execution halted

r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Running examples in ‘stxplore-Ex.R’ failed
The error most likely occurred in:

> ### Name: semivariogram
> ### Title: Computes the semi-variogram using a dataframe or a stars object.
> ### Aliases: semivariogram semivariogram.data.frame semivariogram.stars
> ###   autoplot.semivariogramobj
> 
> ### ** Examples
> 
> # Dataframe example
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> data(locs)
> data(Times)
> data(Tmax)
> temp_part <- with(Times, paste(year, month, day, sep = "-"))
> temp_part <- data.frame(date = as.Date(temp_part)[913:923])
> Tmax <- Tmax[913:923, ]
> semidf <- semivariogram(locs,
+         temp_part,
+         Tmax,
+         latitude_linear = FALSE,
+         longitude_linear = FALSE,
+         missing_value = -9999,
+         width = 50,
+         cutoff = 1000,
+         tlagmax = 7
+ )
Warning in 
...[truncated]...
n fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
> autoplot(semidf)
> 
> # Stars example
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.14.1, GDAL 3.12.4, PROJ 9.8.1; sf_use_s2() is TRUE
> # Create a stars object from a data frame
> precip_df <- NOAA_df_1990[NOAA_df_1990$proc == 'Precip', ] %>%
+   filter(date >= "1992-02-01" & date <= "1992-02-05")
> precip <- precip_df[ ,c('lat', 'lon', 'date', 'z')]
> st_precip <- st_as_stars(precip, dims = c("lon", "lat", "date"))
> semist <- semivariogram(st_precip)
Error in semivariogram.data.frame(locations_df, latitude_linear = latitude_linear,  : 
  The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
Calls: semivariogram -> semivariogram.stars -> semivariogram.data.frame
Execution halted

r-devel-windows-x86_64

Running examples in 'stxplore-Ex.R' failed
The error most likely occurred in:

> ### Name: semivariogram
> ### Title: Computes the semi-variogram using a dataframe or a stars object.
> ### Aliases: semivariogram semivariogram.data.frame semivariogram.stars
> ###   autoplot.semivariogramobj
> 
> ### ** Examples
> 
> # Dataframe example
> library(dplyr)

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

> data(locs)
> data(Times)
> data(Tmax)
> temp_part <- with(Times, paste(year, month, day, sep = "-"))
> temp_part <- data.frame(date = as.Date(temp_part)[913:923])
> Tmax <- Tmax[913:923, ]
> semidf <- semivariogram(locs,
+         temp_part,
+         Tmax,
+         latitude_linear = FALSE,
+         longitude_linear = FALSE,
+         missing_value = -9999,
+         width = 50,
+         cutoff = 1000,
+         tlagmax = 7
+ )
Warning in 
...[truncated]...
n fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
Warning in `[.xts`(x@time, j) :
  converting 'i' to integer because it appears to contain fractions
> autoplot(semidf)
> 
> # Stars example
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
> # Create a stars object from a data frame
> precip_df <- NOAA_df_1990[NOAA_df_1990$proc == 'Precip', ] %>%
+   filter(date >= "1992-02-01" & date <= "1992-02-05")
> precip <- precip_df[ ,c('lat', 'lon', 'date', 'z')]
> st_precip <- st_as_stars(precip, dims = c("lon", "lat", "date"))
> semist <- semivariogram(st_precip)
Error in semivariogram.data.frame(locations_df, latitude_linear = latitude_linear,  : 
  The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
Calls: semivariogram -> semivariogram.stars -> semivariogram.data.frame
Execution halted
ERRORre-building of vignette outputsr-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

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Error(s) in re-building vignettes:
  ...
--- re-building ‘stxplore.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘stxplore.Rmd’

--- re-building ‘stxplore_stars.Rmd’ using rmarkdown

Quitting from stxplore_stars.Rmd:155-158 [semivariogram1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `semivariogram.data.frame()`:
! The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
---
Backtrace:
    ▆
 1. ├─stxplore::semivariogram(aerosol_region)
 2. └─stxplore:::semivariogram.stars(aerosol_region)
 3.   └─stxplore:::semivariogram.data.frame(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'stxplore_stars.Rmd' failed with diagnostics:
The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
--- failed re-building ‘stxplore_stars.Rmd’

SUMMARY: processing the following file failed:
  ‘stxplore_stars.Rmd’

Error: Vignette re-building failed.
Execution halted

r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Error(s) in re-building vignettes:
--- re-building ‘stxplore.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘stxplore.Rmd’

--- re-building ‘stxplore_stars.Rmd’ using rmarkdown

Quitting from stxplore_stars.Rmd:155-158 [semivariogram1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `semivariogram.data.frame()`:
! The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
---
Backtrace:
    ▆
 1. ├─stxplore::semivariogram(aerosol_region)
 2. └─stxplore:::semivariogram.stars(aerosol_region)
 3.   └─stxplore:::semivariogram.data.frame(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'stxplore_stars.Rmd' failed with diagnostics:
The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
--- failed re-building ‘stxplore_stars.Rmd’

SUMMARY: processing the following file failed:
  ‘stxplore_stars.Rmd’

Error: Vignette re-building failed.
Execution halted

r-devel-windows-x86_64

Error(s) in re-building vignettes:
--- re-building 'stxplore.Rmd' using rmarkdown
--- finished re-building 'stxplore.Rmd'

--- re-building 'stxplore_stars.Rmd' using rmarkdown

Quitting from stxplore_stars.Rmd:155-158 [semivariogram1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `semivariogram.data.frame()`:
! The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
---
Backtrace:
    ▆
 1. ├─stxplore::semivariogram(aerosol_region)
 2. └─stxplore:::semivariogram.stars(aerosol_region)
 3.   └─stxplore:::semivariogram.data.frame(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'stxplore_stars.Rmd' failed with diagnostics:
The dataframe values_df needs to have T x N dimensions, T = number of times N = number of locations.
--- failed re-building 'stxplore_stars.Rmd'

SUMMARY: processing the following file failed:
  'stxplore_stars.Rmd'

Error: Vignette re-building failed.
Execution halted

CRAN check page ↗

Slowest check: 6.3 min · r-oldrel-windows-x86_64
Status changes
  • ERROR8 OK, 5 ERRORNow
  • ERROR10 OK, 3 ERROR2026-10-05
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
Show 2 earlier changesHide 2 earlier changes
  • OK12 OK2026-04-25
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 433 wordsVignettesYes · 2 · dynamicNEWSNoCitation fileNoWebsiteYes · pkgdown
Help pages
23 (3 internal)includes a package overview page
Examples that run
100%11 run in a plain check
Exported functions with examples
85%
Documented parameters
100%
Return-value docs
92%
Help pages citing references
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #16,644 · ~7/day · ~228/mo
Daily download trend is not available in this view yet.
26430 days
75690 days
2.7K1 year
Compare downloads with other packages →
Also on113 r2u

Repository

5Stars
1Forks
0Open issues
0Open PRs
0Releases
75Commits
3Commit identities
License file reads as GPL-3.0 · 75 commits · Last activity 2023-09-08
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
343

Stars over time

2024-11-05 · 42026-07-07 · 5
PracticesBeta

7 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/sevvandi/stxplore on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2023-09-08 · The repository has a site deploy workflow

pkgdown site last built 2023-09-08

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing stxplore adds 69 packages (46 with compiled code, 80 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2023)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0Latest
    2023-02-03 · current release
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-03
Total releases
1 / 3 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
1.7 MB / 9 files
Download size
3.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stxplore")
Kandanaarachchi, S., Kunhert, P., & Zammit-Mangion, A. (2023). stxplore: Exploration of Spatio-Temporal Data (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.stxplore

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for stxplore version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy