Skip to content

Commit ee2821c

Browse files
authored
Merge pull request #157 from NSAPH-Software/release_ver0.2.7
Release ver0.2.7
2 parents 608e8e9 + b50bb2d commit ee2821c

60 files changed

Lines changed: 1711 additions & 2880 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
config:
25-
- {os: windows-latest, r: '4.2'}
25+
#- {os: windows-latest, r: '4.2'}
2626
#- {os: macOS-latest, r: '4.2'}
2727
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
2828
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest", http-user-agent: "R/4.1.0 (ubuntu-20.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
@@ -88,6 +88,7 @@ jobs:
8888
- name: Install dependencies
8989
run: |
9090
remotes::install_deps(dependencies = TRUE)
91+
remotes::install_cran("curl")
9192
remotes::install_cran("rcmdcheck")
9293
remotes::install_cran("devtools")
9394
remotes::install_cran("RcppParallel")

DESCRIPTION

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Type: Package
22
Package: CRE
33
Title: Interpretable Discovery and Inference of Heterogeneous Treatment Effects
4-
Version: 0.2.6
4+
Version: 0.2.7
55
Authors@R: c(
6-
person("Naeem", "Khoshnevis", , "nkhoshnevis@g.harvard.edu", role = c("aut", "cre"),
7-
comment = c(ORCID = "0000-0003-4315-1426", AFFILIATION = "FASRC")),
6+
person("Naeem", "Khoshnevis", , "nkhoshnevis@g.harvard.edu", role = "aut",
7+
comment = c(ORCID = "0000-0003-4315-1426")),
88
person("Daniela Maria", "Garcia", , "danielagarcia@college.harvard.edu", role = "aut",
99
comment = c(ORCID = "0000-0003-3226-3561")),
1010
person("Riccardo", "Cadei", , "rcadei@hsph.harvard.edu", role = "aut",
1111
comment = c(ORCID = "0000-0003-2416-8943")),
1212
person("Kwonsang", "Lee", , "kwonsanglee.stat@gmail.com", role = "aut",
1313
comment = c(ORCID = "0000-0002-5823-4331")),
14-
person("Falco Joannes", "Bargagli Stoffi", , "fbargaglistoffi@hsph.harvard.edu", role = "aut",
14+
person("Falco Joannes", "Bargagli Stoffi", , "fbargaglistoffi@hsph.harvard.edu", role = c("aut", "cre"),
1515
comment = c(ORCID = "0000-0002-6131-8165"))
1616
)
17-
Maintainer: Naeem Khoshnevis <nkhoshnevis@g.harvard.edu>
17+
Maintainer: Falco Joannes Bargagli Stoffi <fbargaglistoffi@hsph.harvard.edu>
1818
Description: Provides a new method for interpretable heterogeneous
1919
treatment effects characterization in terms of decision rules
2020
via an extensive exploration of heterogeneity patterns by an
@@ -63,4 +63,4 @@ Encoding: UTF-8
6363
Language: en-US
6464
LazyData: true
6565
Roxygen: list(markdown = TRUE)
66-
RoxygenNote: 7.2.3
66+
RoxygenNote: 7.3.2

NEWS.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# CRE 0.2.5 (2024-4-21)
1+
# CRE 0.2.7 (2024-10-19)
2+
3+
## Changed
4+
* The maintainer role has been transitioned from Dr. Naeem Khoshnevis to Dr. Falco Joannes Bargagli Stoffi.
5+
6+
# CRE 0.2.6 (2024-4-21)
27

38
## Added
49
* A copy of inTrees package source code.

R/CRE_package.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#' a general two-stage approach for subgroup-specific conditional
2121
#' causal effects estimation, providing theoretical guarantees.
2222
#'
23-
#' @docType package
2423
#' @name CRE-package
2524
#' @aliases CRE
2625
#' @author Naeem Khoshnevis
@@ -43,4 +42,4 @@
4342
#' Causal rule ensemble: Interpretable Discovery and Inference of
4443
#' Heterogeneous Treatment Effects,arXiv preprint arXiv:2009.09036
4544
#'
46-
NULL
45+
"_PACKAGE"

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ __Parameters (not required)__
6969
**`method_parameters`** The list of parameters to define the models used, including:
7070
- **`ratio_dis`** The ratio of data delegated to the discovery sub-sample (default: 0.5).
7171
- **`ite_method`** The method to estimate the individual treatment effect (ITE) pseudo-outcome estimation (default: "aipw") [1].
72-
- **`learner_ps`** The ([SuperLearner](https://CRAN.R-project.org/package=SuperLearner)) model for the propensity score estimation (default: "SL.xgboost", used only for "aipw","bart","cf" ITE estimators).
73-
- **`learner_y`** The ([SuperLearner](https://CRAN.R-project.org/package=SuperLearner)) model for the outcome estimation (default: "SL.xgboost", used only for "aipw","slearner","tlearner" and "xlearner" ITE estimators).
72+
- **`learner_ps`** The SuperLearner model for the propensity score estimation (default: "SL.xgboost", used only for "aipw","bart","cf" ITE estimators).
73+
- **`learner_y`** The SuperLearner model for the outcome estimation (default: "SL.xgboost", used only for "aipw","slearner","tlearner" and "xlearner" ITE estimators).
7474

7575
**`hyper_params`** The list of hyper parameters to finetune the method, including:
7676
- **`intervention_vars`** Array with intervention-able covariates names used for Rules Generation. Empty or null array means that all the covariates are considered as intervention-able (default: `NULL`).
@@ -95,15 +95,15 @@ __Additional Estimates (not required)__
9595
## Notes
9696

9797
**[1]** Options for the ITE estimation are as follows:
98-
- [S-Learner](https://CRAN.R-project.org/package=SuperLearner) (`slearner`)
99-
- [T-Learner](https://CRAN.R-project.org/package=SuperLearner) (`tlearner`)
98+
- S-Learner (`slearner`)
99+
- T-Learner (`tlearner`)
100100
- T-Poisson (`tpoisson`)
101-
- [X-Learner](https://CRAN.R-project.org/package=SuperLearner) (`xlearner`)
102-
- [Augmented Inverse Probability Weighting](https://CRAN.R-project.org/package=SuperLearner) (`aipw`)
103-
- [Causal Forests](https://CRAN.R-project.org/package=grf) (`cf`)
104-
- [Causal Bayesian Additive Regression Trees](https://CRAN.R-project.org/package=bartCause) (`bart`)
101+
- X-Learner (`xlearner`)
102+
- Augmented Inverse Probability Weighting (`aipw`)
103+
- Causal Forests (`cf`)
104+
- Causal Bayesian Additive Regression Trees (`bart`)
105105

106-
If other estimates of the ITE are provided in `ite` additional argument, both the ITE estimations in discovery and inference are skipped and those values estimates are used instead. The ITE estimator requires also an outcome learner and/or a propensity score learner from the [SuperLearner](https://CRAN.R-project.org/package=SuperLearner) package (i.e., "SL.lm", "SL.svm"). Both these models are simple classifiers/regressors. By default XGBoost algorithm is used for both these steps.
106+
If other estimates of the ITE are provided in `ite` additional argument, both the ITE estimations in discovery and inference are skipped and those values estimates are used instead. The ITE estimator requires also an outcome learner and/or a propensity score learner from the SuperLearner package (i.e., "SL.lm", "SL.svm"). Both these models are simple classifiers/regressors. By default XGBoost algorithm is used for both these steps.
107107

108108

109109
## Examples

_pkgdown.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ reference:
2929
- get_logger
3030

3131
articles:
32-
- title: Users
33-
navbar: Users
34-
contents: []
35-
3632
- title: Developers
3733
navbar: Developers
3834
contents: [Contribution, Testing-the-Package]

cran-comments.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
Resubmission (April 21, 2024):
1+
Resubmission (October 17, 2024):
22

3-
We appreciate your efforts in reviewing the CRE 0.2.6 package. In this upgrade, we:
3+
We would like to express our gratitude for your efforts in reviewing the CRE 0.2.7 package. Based on Kurt Hornik's recommendations, we have removed the affiliation from the Author field and rebuilt the package using the current version of R.
44

5-
- Fixed the issue with the arXiv paper format in the DESCRIPTION file. Specifically, we changed ":" to ".".
5+
Additionally, please note that with this update, the maintainer role has been transitioned from Dr. Naeem Khoshnevis to Dr. Falco Joannes Bargagli Stoffi. All tests and checks have been completed successfully.
66

77
Best regards,
8-
Naeem Khoshnevis
8+
Falco Joannes Bargagli Stoffi
99

10-
Resubmission (April 21, 2024):
1110

12-
We appreciate your efforts in reviewing the CRE 0.2.6 package. In this upgrade, we:
11+
Resubmission (September 12, 2024):
1312

14-
- Fixed the issue with the arXiv paper format in the DESCRIPTION file.
13+
We appreciate your efforts in reviewing the CRE 0.2.7 package. We fixed the issues with URL in the README.md file. Please note that in this upgrade we transfer the maintainer role from Dr. Naeem Khoshnevis to Dr. Falco Joannes Bargagli Stoffi. All tests and checks have passed successfully.
1514

1615
Best regards,
17-
Naeem Khoshnevis
16+
Falco Joannes Bargagli Stoffi
1817

19-
Submission (April 21, 2024):
18+
Submission (September 10, 2024):
2019

21-
We appreciate your efforts in reviewing the CRE 0.2.6 package. In this upgrade, we:
20+
We appreciate your efforts in reviewing the CRE 0.2.7 package. In this upgrade, we:
2221

23-
- Dropped the dependency on the inTrees R package, which is set to be archived on May 4.
22+
Transfer the maintainer role from Dr. Naeem Khoshnevis to Dr. Falco Joannes Bargagli Stoffi. All tests and checks have passed successfully.
2423

2524
Best regards,
26-
Naeem Khoshnevis
25+
Falco Joannes Bargagli Stoffi

docs/404.html

Lines changed: 32 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)