R Observatory
Search

transportr

0.1.0CRAN

Transporting Intervention Effects from One Population to Another

install.packages("transportr")
CRAN 30-day downloads, method
196−12.1% down on the 30 days before, the worse direction
Test coverage, method
96%of lines run by tests

Doubly-robust, non-parametric estimators for the transported average treatment effect from Rudolph, Williams, Stuart, and Diaz (2023) <doi:10.48550/arXiv.2304.00117> and the intent-to-treatment average treatment effect from Rudolph and van der Laan (2017) <doi:10.1111/rssb.12213>.

Full description

Doubly-robust, non-parametric estimators for the transported average treatment effect from Rudolph, Williams, Stuart, and Diaz (2023) <doi:10.48550/arXiv.2304.00117> and the intent-to-treatment average treatment effect from Rudolph and van der Laan (2017) <doi:10.1111/rssb.12213>. Estimators are fit using cross-fitting and nuisance parameters are estimated using the Super Learner algorithm.

Maintainer
Nicholas Williams
Licence
GPL (>= 3)
Latest release
20 Feb 2025
First release
20 Feb 2025

Compare with another package

More details
Releases
1
Needs compilation
No
Config/testthat/edition
3
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("transportr")
APA
Williams, N., & Rudolph, K. (2025). transportr: Transporting Intervention Effects from One Population to Another (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.transportr
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 transportr version 0.1.0 [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.1.0
    Time taken
    57 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.0
    Time taken
    44 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.0
    Time taken
    49 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

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

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    87 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    50 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    98 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    52 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    52 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.0
    Time taken
    18 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    50 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    73 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
202−15.1% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

23,041 of 26,530

CRAN

196 downloads in the last 30 days

Rank
23,041 of 26,530
Change
−12.1% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−60% 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
−60% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
7
Dependent packages
0
Suggested by
0
Needs (7)
Installing it adds
44 packages, 26.8 MB of source
Of those, need compilation
21
Optional extras (2)
Functions
39
Public exports
4
Lines of R code
1,122
Median complexity
1
Functions (39)
Size and composition

Lines by kind (1,636)

KindLinesShare
R code1,12269%
Tests18511%
Documentation32920%

Lines by language

LanguageLinesShare
R1,30780%
Rd32920%

Languages are counted from file extensions.

Files
43
R functions
39
Object systems
S3: 11 methods, R6: 3 classes
Complexity
Median
1
Mean
1.18
Highest
3
Median lines per function
11
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
39
Calls
46
Unconnected
8
Groups
3

The tests ran and coverage was measured.

Lines run by tests
96%
Expressions run by tests
93.6%
Test cases
9
Exports named in tests
50%
Coverage by file (24)
Coverage run
Lines counted
599
Lines the tests ran
575
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
9
Lines of tests
185
Test lines per line of code
0.16
Exports documented
100%
Arguments documented
100%
Return value documented
75%
Help pages with examples
60%
Examples run in checks
100%
Other documentation
README
Yes, 36 words
Release notes file
Yes
Help pages
5
Lines of documentation
329

nt-williams / transportr on github.com

Stars
2
Forks
0
Open issues
0
Last commit
19 Feb 2025
Activity
Commits
35
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
31 Oct 2024
Licence file reads as
GPL-3.0
Development practices (5)
KindFound
Continuous integrationGitHub Actions
Governance and communityThe repository owner accepts GitHub Sponsors
Docs sourceREADME.Rmd
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across nt-williams

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.0 current20 Feb 20254.4.2
Release notes (0.1.0)
  • Initial CRAN submission.