Skip to content

lgcp

Log-Gaussian Cox Process

v2.0-1 · Aug 25, 2025 · GPL-2 | GPL-3

Description

Spatial and spatio-temporal modelling of point patterns using the log-Gaussian Cox process. Bayesian inference for spatial, spatiotemporal, multivariate and aggregated point processes using Markov chain Monte Carlo. See Benjamin M. Taylor, Tilman M. Davies, Barry S. Rowlingson, Peter J. Diggle (2015) <doi:10.18637/jss.v063.i07>.

Downloads

CRAN

847

Last 30 days

3981st

2.6K

Last 90 days

11.1K

Last year

Trend: -0.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

121

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

14

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Benjamin M. Taylor <benjamin.taylor.software@gmail.com>’

Reading Rd files failed with message:
  cannot open the connection

Problems when formatting CITATION entries:
  cannot open file '/tmp/RtmpP3RA02/Rf247321722117b3': No space left on device
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

29,235

Files

437

Compiled share

0%

Has compiled src

No

Language breakdown

R 17,820 (61%)Tests 293 (1%)Docs 11,109 (38%)Vignettes 13 (0%)

API

Exported functions

213

Internal functions

160

Recent export changes

v2.15.1+100 BetaParameters, C.diff.single.im, CovFunction +97 more  −128 initialiseAMCMC.constanth, initialiseAMCMC.andrieuthomsh, updateAMCMC.constanth 125 more
v2.13.2+235 initialiseAMCMC, updateAMCMC, constanth +232 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.02

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

96.2%

\dontrun example ratio

28%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

7.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL-2 | GPL-3

License flags

SPDX valid, OSI approved

History

Versions

33

First release

2011-09-30

Latest release

2025-08-25

Avg cadence

69 days

Cold removal rate

100%

Dep drift

33

LOC over versions

v2.13.2: 11,977 LOCv0.9-0: 9,520 LOCv0.9-1: 11,761 LOCv0.9-2: 12,368 LOCv0.9-3: 11,977 LOCv0.9-4: 12,343 LOCv2.15.1: 30,256 LOCv0.9-4-2: 12,351 LOCv0.9-5: 12,510 LOCv0.9-7: 13,076 LOCv1.0: 13,511 LOCv1.01: 13,537 LOCv1.3: 30,298 LOCv1.3-1: 30,303 LOCv1.3-2: 30,317 LOCv1.3-3: 30,256 LOCv1.3-4: 30,256 LOCv1.3-6: 30,262 LOCv1.3-7: 28,491 LOCv1.3-8: 28,495 LOCv1.3-9: 28,495 LOCv1.3-11: 28,496 LOCv1.3-13: 28,497 LOCv1.3-14: 28,499 LOCv1.3-15: 28,498 LOCv1.4: 28,686 LOCv1.5: 28,769 LOCv1.6: 29,381 LOCv1.7: 29,384 LOCv1.8: 29,100 LOCv1.8-2: 29,106 LOCv2.0: 29,227 LOCv2.0-1: 29,235 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies spatstat.geom spatstat.explore spatstat.utils sp sf raster iterators ncdf4 rpanel fields Matrix lgcp

Version History

32 tracked
new 2.0-1 Mar 10, 2026
updated 2.0-1 ← 2.0 diff Aug 24, 2025
updated 2.0 ← 1.8-2 diff Oct 2, 2023
updated 1.8-2 ← 1.8 diff Nov 21, 2022
updated 1.8 ← 1.7 diff May 16, 2022
updated 1.7 ← 1.6 diff Mar 30, 2021
updated 1.6 ← 1.5 diff Mar 5, 2020
updated 1.5 ← 1.4 diff May 21, 2018
updated 1.4 ← 1.3-15 diff Apr 12, 2017
updated 1.3-15 ← 1.3-14 diff Jul 17, 2016
updated 1.3-14 ← 1.3-13 diff Jan 10, 2016
updated 1.3-13 ← 1.3-11 diff Nov 18, 2015
updated 1.3-11 ← 1.3-9 diff Sep 9, 2015
updated 1.3-9 ← 1.3-8 diff Feb 24, 2015
updated 1.3-8 ← 1.3-7 diff Feb 3, 2015