Skip to content

Commit 4f727a4

Browse files
committed
Merge branch 'main' of github.com:DoubleML/doubleml-for-r into store-models
2 parents a9c13a4 + 38a5b02 commit 4f727a4

File tree

8 files changed

+44
-28
lines changed

8 files changed

+44
-28
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Thanks for contributing to DoubleML.
2-
Before submitting a PR, please take a look at our [contribution guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md).
2+
Before submitting a PR, please take a look at our [contribution guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md).
33
Additionally, please fill out the PR checklist below.
44

55
### Description
@@ -14,11 +14,11 @@ Here you can add further comments.
1414
You can also delete this section, if it is not necessary.
1515

1616
### PR Checklist
17-
Please fill out this PR checklist (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).
17+
Please fill out this PR checklist (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).
1818

1919
- [ ] The title of the pull request summarizes the changes made.
2020
- [ ] The PR contains a detailed description of all changes and additions.
2121
- [ ] References to related issues or PRs are added.
22-
- [ ] The code passes `R CMD check` and all (unit) tests (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).
22+
- [ ] The code passes `R CMD check` and all (unit) tests (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).
2323
- [ ] Enhancements or new feature are equipped with unit tests.
24-
- [ ] The changes adhere to the "mlr-style" standards (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).
24+
- [ ] The changes adhere to the "mlr-style" standards (see our [contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md#checklist-for-pull-requests-pr) for details).

.github/workflows/check_styler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: Check style guidelines
44
on:
55
push:
66
branches:
7-
- master
7+
- main
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
schedule:
1212
- cron: "0 9 * * 1,3,5"
1313
workflow_dispatch:

.github/workflows/deploy_docu.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: CI deploy documentation
55
on:
66
push:
77
branches:
8-
- master
8+
- main
99
workflow_dispatch:
1010
release:
1111
types:
@@ -80,7 +80,7 @@ jobs:
8080
uses: JamesIves/github-pages-deploy-action@3.7.1
8181
with:
8282
REPOSITORY_NAME: DoubleML/doubleml.github.io
83-
BRANCH: master
83+
BRANCH: main
8484
FOLDER: docs/dev
8585
TARGET_FOLDER: r/dev
8686
GIT_CONFIG_NAME: DoubleML Deploy Bot
@@ -96,7 +96,7 @@ jobs:
9696
uses: JamesIves/github-pages-deploy-action@3.7.1
9797
with:
9898
REPOSITORY_NAME: DoubleML/doubleml.github.io
99-
BRANCH: master
99+
BRANCH: main
100100
FOLDER: docs/dev
101101
TARGET_FOLDER: r/${{env.RELEASE_VERSION}}
102102
GIT_CONFIG_NAME: DoubleML Deploy Bot
@@ -109,7 +109,7 @@ jobs:
109109
uses: JamesIves/github-pages-deploy-action@3.7.1
110110
with:
111111
REPOSITORY_NAME: DoubleML/doubleml.github.io
112-
BRANCH: master
112+
BRANCH: main
113113
FOLDER: docs/dev
114114
TARGET_FOLDER: r/stable
115115
GIT_CONFIG_NAME: DoubleML Deploy Bot

.github/workflows/rcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: build
44
on:
55
push:
66
branches:
7-
- master
7+
- main
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
schedule:
1212
- cron: "0 9 * * 1,3,5"
1313
workflow_dispatch:

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DoubleML is a community effort.
44
Everyone is welcome to contribute.
55
All contributors should adhere to this contributing guidelines
6-
and our [code of conduct](https://github.com/DoubleML/doubleml-for-r/blob/master/CODE_OF_CONDUCT.md).
6+
and our [code of conduct](https://github.com/DoubleML/doubleml-for-r/blob/main/CODE_OF_CONDUCT.md).
77
The contributing guidelines are particularly helpful to get started for your first contribution.
88

99
## Submit a Bug Report :bug:
@@ -75,7 +75,7 @@ $ git remote add upstream https://github.com/DoubleML/doubleml-for-r.git
7575
This allows you to easily keep your repository in synch via
7676
```bash
7777
$ git fetch upstream
78-
$ git merge upstream/master
78+
$ git merge upstream/main
7979
```
8080

8181
5. **Develop** your code changes. A helpful resource for package development in R
@@ -162,7 +162,7 @@ Furthermore, the **score components for the Neyman orthogonal score function nee
162162
All other functionality is automatically available via inheritance from the abstract base class.
163163
<!---TODO: Add a model template for the R package DoubleML
164164
A **template for new model classes** is available
165-
[here](https://github.com/DoubleML/doubleml-docs/blob/master/model_templates/double_ml_model_template.py).--->
165+
[here](https://github.com/DoubleML/doubleml-docs/blob/main/model_templates/double_ml_model_template.py).--->
166166

167167
## Contribute Documentation :books:
168168

README.Rmd

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ output: github_document
88

99

1010
[![build](https://github.com/DoubleML/doubleml-for-r/workflows/build/badge.svg)](https://github.com/DoubleML/doubleml-for-r/actions?query=workflow%3Abuild)
11-
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-r/branch/master/graph/badge.svg?token=C5aiyo2MVL)](https://app.codecov.io/gh/DoubleML/doubleml-for-r/)
11+
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-r/branch/main/graph/badge.svg?token=C5aiyo2MVL)](https://app.codecov.io/gh/DoubleML/doubleml-for-r/)
1212
[![CodeFactor](https://www.codefactor.io/repository/github/doubleml/doubleml-for-r/badge)](https://www.codefactor.io/repository/github/doubleml/doubleml-for-r)
1313
[![CRAN Version](https://www.r-pkg.org/badges/version/DoubleML)](https://cran.r-project.org/package=DoubleML)
1414

@@ -84,9 +84,9 @@ remotes::install_github("DoubleML/doubleml-for-r")
8484
DoubleML is a community effort.
8585
Everyone is welcome to contribute.
8686
To get started for your first contribution we recommend reading our
87-
[contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md)
87+
[contributing guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md)
8888
and our
89-
[code of conduct](https://github.com/DoubleML/doubleml-for-r/blob/master/CODE_OF_CONDUCT.md).
89+
[code of conduct](https://github.com/DoubleML/doubleml-for-r/blob/main/CODE_OF_CONDUCT.md).
9090

9191
## Citation
9292

@@ -110,8 +110,15 @@ Bibtex-entry:
110110
}
111111
```
112112

113+
## Acknowledgements
114+
115+
Funding by the Deutsche Forschungsgemeinschaft (DFG, German Research
116+
Foundation) is acknowledged – Project Number 431701914.
117+
113118
## References
114119

120+
* Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M. (2021), DoubleML - An Object-Oriented Implementation of Double Machine Learning in R, arXiv:[2103.09603](https://arxiv.org/abs/2103.09603).
121+
115122
* Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen, C., Newey, W. and Robins, J. (2018), Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21: C1-C68, <https://doi.org/10.1111/ectj.12097>.
116123

117124
* Lang, M., Binder, M., Richter, J., Schratz, P., Pfisterer, F., Coors, S., Au, Q., Casalicchio, G., Kotthoff, L., Bischl, B. (2019), mlr3: A modern object-oriented machine learing framework in R. Journal of Open Source Software, <https://doi.org/10.21105/joss.01903>.

README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# DoubleML - Double Machine Learning in R <a href="https://docs.doubleml.org"><img src="man/figures/logo.png" align="right" width = "120" /></a>
55

66
[![build](https://github.com/DoubleML/doubleml-for-r/workflows/build/badge.svg)](https://github.com/DoubleML/doubleml-for-r/actions?query=workflow%3Abuild)
7-
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-r/branch/master/graph/badge.svg?token=C5aiyo2MVL)](https://app.codecov.io/gh/DoubleML/doubleml-for-r/)
7+
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-r/branch/main/graph/badge.svg?token=C5aiyo2MVL)](https://app.codecov.io/gh/DoubleML/doubleml-for-r/)
88
[![CodeFactor](https://www.codefactor.io/repository/github/doubleml/doubleml-for-r/badge)](https://www.codefactor.io/repository/github/doubleml/doubleml-for-r)
99
[![CRAN
1010
Version](https://www.r-pkg.org/badges/version/DoubleML)](https://cran.r-project.org/package=DoubleML)
@@ -88,14 +88,14 @@ remotes::install_github("DoubleML/doubleml-for-r")
8888

8989
**DoubleML** requires
9090

91-
- R (&gt;= 3.5.0)
92-
- R6 (&gt;= 2.4.1)
93-
- data.table (&gt;= 1.12.8)
91+
- R (\>= 3.5.0)
92+
- R6 (\>= 2.4.1)
93+
- data.table (\>= 1.12.8)
9494
- stats
9595
- checkmate
96-
- mlr3 (&gt;= 0.5.0)
97-
- mlr3tuning (&gt;= 0.3.0)
98-
- mlr3learners (&gt;= 0.3.0)
96+
- mlr3 (\>= 0.5.0)
97+
- mlr3tuning (\>= 0.3.0)
98+
- mlr3learners (\>= 0.3.0)
9999
- mvtnorm
100100
- utils
101101
- clusterGeneration
@@ -106,9 +106,9 @@ remotes::install_github("DoubleML/doubleml-for-r")
106106
DoubleML is a community effort. Everyone is welcome to contribute. To
107107
get started for your first contribution we recommend reading our
108108
[contributing
109-
guidelines](https://github.com/DoubleML/doubleml-for-r/blob/master/CONTRIBUTING.md)
109+
guidelines](https://github.com/DoubleML/doubleml-for-r/blob/main/CONTRIBUTING.md)
110110
and our [code of
111-
conduct](https://github.com/DoubleML/doubleml-for-r/blob/master/CODE_OF_CONDUCT.md).
111+
conduct](https://github.com/DoubleML/doubleml-for-r/blob/main/CODE_OF_CONDUCT.md).
112112

113113
## Citation
114114

@@ -130,8 +130,17 @@ Bibtex-entry:
130130
note={arXiv:\href{https://arxiv.org/abs/2103.09603}{2103.09603} [stat.ML]}
131131
}
132132

133+
## Acknowledgements
134+
135+
Funding by the Deutsche Forschungsgemeinschaft (DFG, German Research
136+
Foundation) is acknowledged – Project Number 431701914.
137+
133138
## References
134139

140+
- Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M. (2021),
141+
DoubleML - An Object-Oriented Implementation of Double Machine
142+
Learning in R, arXiv:[2103.09603](https://arxiv.org/abs/2103.09603).
143+
135144
- Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen,
136145
C., Newey, W. and Robins, J. (2018), Double/debiased machine
137146
learning for treatment and structural parameters. The Econometrics

tests/testthat/test-double_ml_irm_binary_outcome.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (on_cran) {
1313
trimming_threshold = 0,
1414
stringsAsFactors = FALSE
1515
)
16-
test_cases["test_name"] = apply(test_cases, 1, paste, collapse = "_")
16+
test_cases[".test_name"] = apply(test_cases, 1, paste, collapse = "_")
1717
} else {
1818
test_cases = expand.grid(
1919
learner = "cv_glmnet",

0 commit comments

Comments
 (0)