R Observatory
Search
install.packages("spgwr")
CRAN 30-day downloads, method
1,611+41.1% up on the 30 days before, the better direction
Test coverage, method
27%of lines run by tests

Functions for computing geographically weighted regressions are provided, based on work by Chris Brunsdon, Martin Charlton and Stewart Fotheringham.

Maintainer
Roger Bivand
Licence
GPL (>= 2)
Latest release
10 Jun 2024
First release
9 Jan 2006

Compare with another package

More details
Releases
45
Needs compilation
Yes
Needs R
>= 2.14
Date
2024-06-10
RoxygenNote
6.1.1
Task views (0)

Earlier: Analysis of Spatial Data (until 22 Mar 2023).

Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("spgwr")
APA
Bivand, R., Garcia-Lopez, M., Nakaya, T., & Yu, D. (2024). spgwr: Geographically Weighted Regression (Version 0.6-37) [Computer software]. https://doi.org/10.32614/CRAN.package.spgwr
About

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

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 spgwr version 0.6-37 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.6-37
    Time taken
    67 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.6-37
    Time taken
    53 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.6-37
    Time taken
    69 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.6-37
    Time taken
    51 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    154 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.6-37
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    68 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    99 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    59 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    58 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.6-37
    Time taken
    22 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    77 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.6-37
    Time taken
    88 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
1,630+34.9% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

3,005 of 26,530

CRAN

1,611 downloads in the last 30 days

Rank
3,005 of 26,530
Change
+41.1% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

4 downloads in the last 30 days

Rank
10,337 of 30,526
Change
−77.8% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−81.8% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

11 downloads in the last 30 days

Rank
1,551 of 7,575
Change
−57.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
2
Suggested by
0
Needs (4)
Installing it adds
2 packages, 7.9 MB of source
Of those, need compilation
1
Optional extras (6)
Dependent packages (2)
PackageTitleDownloads in 30 days
mgwrhwDisplays GWR (Geographically Weighted Regression) and Mixed GWR Output and Map321
GWLelastGeographically Weighted Logistic Elastic Net Regression253
Functions
30
Public exports
16
Lines of R code
1,619
Median complexity
7.5
Functions (30)
Size and composition

Lines by kind (2,707)

KindLinesShare
R code1,61960%
Tests30.1%
Documentation76228%
Guides1887%
Compiled code1355%

Lines by language

LanguageLinesShare
R1,62260%
Rd76228%
Vignettes1486%
C1355%
Other402%

Languages are counted from file extensions.

Files
46
R functions
26
Compiled functions
4
Object systems
S3: 2 methods
Complexity
Median
7.5
Mean
11.69
Highest
70
Median lines per function
34
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
26
Calls
9
Unconnected
17
Groups
1
Growth (45 releases)
Total lines by release
1,350 on 8 Jan 20062,707 on 10 Jun 2024
Release changes

The tests ran and coverage was measured.

Lines run by tests
27%
Expressions run by tests
25.6%
Test cases
8
Exports named in tests
0%
Coverage by file (11)
Coverage run
Lines counted
1,246
Lines the tests ran
348
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
tinytest
Test cases
8
Lines of tests
3
Test lines per line of code
0
Exports documented
100%
Arguments documented
93%
Return value documented
100%
Help pages with examples
91.7%
Examples run in checks
90.9%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
12
Lines of documentation
762
DatasetSizeColumns
gSRDFGeorgia census data set (SpatialDataFramePolygons)also in 1 other package159 × 14SR_ID, AreaKey, Latitude, Longitud, TotPop90, PctRural and 8 more
gSRouterGeorgia census data set (SpatialDataFramePolygons)

rsbivand / spgwr on github.com

Stars
5+25% up on 30 days ago, the better direction
Forks
2
Open issues
1
Last commit
10 Jun 2024
Activity
Commits
109
Open pull requests
1
Tagged releases
0
Latest tagged release
–
Issues closed in
2 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
12 Jun 2023
Licence file reads as
–
Development practices (4)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourcepkgdown
GitHub Pages site last deployed 2024-06-10

Method, repository practices

Across rsbivand

R releases
  • On CRAN
  • Release
VersionReleasedR
0.6-37 current10 Jun 20244.4.0
0.6-3614 Jun 20234.3.0
0.6-3529 Mar 20224.1.3
0.6-3426 Aug 20204.0.2
0.6-3311 Feb 20203.6.2
0.6-3229 Oct 20173.4.2
0.6-3125 Apr 20173.4.0
0.6-3016 Apr 20173.3.3
Earlier versions (37)
VersionReleasedR
0.6-299 Jan 20173.3.2
0.6-2829 Sep 20153.2.2
0.6-269 Dec 20143.1.2
0.6-2514 Oct 20143.1.1
0.6-2416 Sep 20133.0.1
0.6-231 Sep 20133.0.1
0.6-222 Jul 20133.0.1
0.6-2122 Jun 20133.0.1
0.6-1910 Jan 20132.15.2
0.6-185 Nov 20122.15.2
0.6-1722 Aug 20122.15.1
0.6-143 Apr 20122.15.0
0.6-1317 Aug 20112.13.1
0.6-1013 Mar 20112.12.2
0.6-96 Oct 20102.11.1
0.6-816 May 20102.11.0
0.6-74 Apr 20102.10.1
0.6-522 Mar 20102.10.1
0.6-45 Feb 20102.10.1
0.6-226 Jun 20092.9.1
0.5-1218 Jun 20092.9.0
0.5-105 Jun 20092.9.0
0.5-724 Mar 20092.8.1
0.5-514 Jan 20092.8.1
0.5-48 Aug 20082.7.1
0.5-324 Jun 20082.7.1
0.5-215 Jun 20082.7.0
0.5-118 Feb 20082.6.2
0.4-73 Nov 20072.6.0
0.4-625 Aug 20072.5.1
0.4-511 Aug 20072.5.1
0.4-49 Aug 20072.5.1
0.4-322 Apr 20072.4.1
0.4-211 Apr 20072.4.1
0.4-125 Mar 20072.4.1
0.4-011 Feb 20072.4.1
0.3-129 Jan 20062.2.1
Release notes (0.6-37)
  • #5 use GPKG not ESRI Shapefile from spData