R Observatory
Search
install.packages("piecewiseSEM")
CRAN 30-day downloads, method
3,959+13.1% up on the 30 days before, the better direction

Implements piecewise structural equation modeling from a single list of structural equations, with new methods for non-linear, latent, and composite variables, standardized coefficients, query-based prediction and indirect effects. See <http://jslefche.github.io/piecewiseSEM/> for more.

Maintainer
Jon Lefcheck
Licence
GPL-3
Latest release
2 Sep 2025
First release
28 Oct 2015

Compare with another package

More details
Releases
16
Needs compilation
No
Needs R
>= 4.5.0
Date
2025-09-02
LazyData
true
RoxygenNote
7.3.2
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("piecewiseSEM")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1111/2041-210x.12512.

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

From data release v2026-10-30, 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
    2.3.1
    Time taken
    121 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    2.3.1
    Time taken
    89 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    2.3.1
    Time taken
    82 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    2.3.1
    Time taken
    86 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    142 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2.3.1
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    186 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    171 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    116 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    116 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2.3.1
    Time taken
    36 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    184 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2.3.1
    Time taken
    147 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
9 Jun 2026OK13000
7 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
4,217+16.7% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

1,749 of 26,581

CRAN

3,959 downloads in the last 30 days

Rank
1,749 of 26,581
Change
+13.1% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

89 downloads in the last 30 days

Rank
2,451 of 30,526
Change
+324% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
23,449 of 29,259
Change
−33.3% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

166 downloads in the last 30 days

Rank
2,749 of 3,828
Change
+121% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

1 downloads in the last 30 days

Rank
5,617 of 7,575
Change
−91.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs 2 packages facing archival

datawizardthrough performanceFix due 19 Nov 202620 days left
insightthrough MuMInFix due 19 Nov 202620 days left
Needs
11
Dependent packages
1
Suggested by
2
Needs (11)
Installing it adds
107 packages, 101.6 MB of source
Of those, need compilation
51
Optional extras (2)
Dependent packages (1)
PackageTitleDownloads in 30 days
semEffectStructural Equation Model Effect Analysis and Visualization180
Functions
94
Public exports
20
Lines of R code
4,962
Median complexity
3
Functions (94)
Size and composition

Lines by kind (7,218)

KindLinesShare
R code4,96269%
Documentation2,23831%
Guides180.2%

Lines by language

LanguageLinesShare
R4,96269%
Rd2,23831%
Vignettes180.2%

Languages are counted from file extensions.

Files
129
R functions
94
Object systems
S3: 11 methods
Complexity
Median
3
Mean
4.36
Highest
25
Median lines per function
29.5
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
94
Calls
173
Unconnected
13
Groups
2
Growth (16 releases)
Total lines by release
3,299 on 28 Oct 20157,218 on 2 Sep 2025
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
95%
Arguments documented
77.8%
Return value documented
57.9%
Help pages with examples
12.6%
Examples run in checks
91.7%
Guides (1)
Other documentation
README
Yes, 150 words
Release notes file
Yes
Help pages
95
Lines of documentation
2,238
DatasetSizeColumns
keeleyData set from Grace & Keeley (2006)90 × 8distance, elev, abiotic, age, hetero, firesev and 2 more
meadowsData set from Grace & Jutila (1999)354 × 4grazed, mass, elev, rich
shipleyData set from Shipley (2006)also in 1 other package1,900 × 9site, tree, lat, year, Date, DD and 3 more
Earlier names (1)
  • Jim Grace

jslefche / piecewisesem on github.com

Stars
182+1.7% up on 30 days ago, the better direction
Forks
52
Open issues
73
Last commit
2 Sep 2025
Activity
Commits
1,323
Open pull requests
5
Tagged releases
0
Latest tagged release
–
Issues closed in
528 days (median)
Pull requests closed in
2 days (median)
Pull requests merged
50%
Created
4 Aug 2014
Licence file reads as
–
Development practices (5)
KindFound
Docs sourceGitHub Pages site last deployed 2025-09-02
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across jslefche

R releases
  • On CRAN
  • Archived
  • Release
1.0.01.2.02.0.02.1.02.3.02.3.1Archived and backArchived and back

Archived and back

ArchivedBackCRAN's reasonKind
31 May 202411 Jun 2024email to the maintainer is undeliverableMaintainer unreachable
VersionReleasedREvents
2.3.1 current2 Sep 20254.5.1
2.3.0.111 Jun 20244.4.0Back on CRAN 11 Jun 2024
2.3.04 Mar 20234.2.2Archived 31 May 2024
“email to the maintainer is undeliverable”
2.1.29 Dec 20204.0.3
2.1.05 Dec 20193.6.1
2.0.224 Jul 20183.5.1
2.0.13 Jul 20183.5.1
2.0.012 Jun 20183.5.0
Earlier versions (8)
VersionReleasedR
1.2.18 Dec 20163.3.2
1.2.011 Oct 20163.3.1
1.1.311 Jul 20163.3.1
1.1.26 Jun 20163.3.0
1.1.118 May 20163.3.0
1.114 Mar 20163.2.4
1.0.31 Feb 20163.2.3
1.0.028 Oct 20153.2.2
Release notes (2.3.1)
  • Fixed issue with anchors in cross-references
  • Updated version number to three components