Skip to content

Commit 7eedb37

Browse files
authored
Merge pull request #128 from mi-erasmusmc/develop
v0.1.0
2 parents e448ba9 + 8f8feac commit 7eedb37

64 files changed

Lines changed: 3993 additions & 2017 deletions

Some content is hidden

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

‎.Rbuildignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313
^README.html$
1414
^extras$
1515
^vignettes/articles$
16+
^\.posit/assistant$
17+
^cran-comments\.md$
18+
^doc$
19+
^Meta$
20+
^AGENTS\.md$

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565
6666
- uses: r-lib/actions/setup-r-dependencies@v2
6767
with:
68-
extra-packages: any::rcmdcheck
68+
extra-packages: |
69+
any::rcmdcheck
70+
github::OHDSI/ROhdsiWebApi
6971
needs: check
7072

7173
- uses: r-lib/actions/check-r-package@v2

‎.github/workflows/pkgdown.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131

3232
- uses: r-lib/actions/setup-r-dependencies@v2
3333
with:
34-
extra-packages: any::pkgdown, local::.
34+
extra-packages: |
35+
any::pkgdown
36+
github::OHDSI/ROhdsiWebApi
37+
local::.
3538
needs: website
3639

3740
- name: Build site

‎.github/workflows/prevent-generated-docs.yml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ extras/SRS.qmd
1212
extras/SRS.docx
1313
docs
1414
inst/doc
15+
.posit/assistant
16+
/doc/
17+
/Meta/

‎.posit/assistant/settings.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sandbox": {
3+
"enabled": false
4+
},
5+
"model.webSearch": true
6+
}

‎AGENTS.md‎

Whitespace-only changes.

‎DESCRIPTION‎

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: studyGenerics
22
Type: Package
3-
Title: A centralised repository of tested and frequently used methods for OMOP-CDM studies
4-
Version: 0.0.0.9002
3+
Title: A Centralised Repository of Tested and Frequently Used Methods for OMOP-CDM Studies
4+
Version: 0.1.3
55
Authors@R: c(
66
person(
77
"Cesar", "Barboza",
@@ -10,23 +10,28 @@ Authors@R: c(
1010
),
1111
person(
1212
"Cristiana", "Di Tullio",
13-
email = "a.alamshahi@mi-erasmusmc.nl",
13+
email = "c.ditullio@mi-erasmusmc.nl",
1414
role = c("aut")
1515
),
1616
person(
1717
"Arianna", "Alamshahi",
1818
email = "a.alamshahi@mi-erasmusmc.nl",
1919
role = c("aut")
20+
),
21+
person(
22+
"Erasmus MC",
23+
role = "cph"
2024
)
2125
)
22-
Description: This set of generic functions wraps routine and basic functions required to run an OMOP-CDM study.
23-
But besides testing this recurrent methods, studyGenerics aims to centralise colaboration to speed-up development of this type of projects.
26+
Description: Provides generic functions for routine tasks required to run OMOP-CDM studies.
27+
In addition to testing these recurring methods, studyGenerics aims to centralise
28+
collaboration and speed up the development of these types of projects. The optional
29+
ROhdsiWebApi package is available from <https://github.com/OHDSI/ROhdsiWebApi>.
2430
License: Apache License (>= 2)
2531
Encoding: UTF-8
2632
LazyData: true
2733
Imports:
2834
cli,
29-
httr,
3035
renv,
3136
ParallelLogger,
3237
checkmate,
@@ -35,15 +40,25 @@ Imports:
3540
zip,
3641
here,
3742
fs,
38-
usethis
39-
Config/roxygen2/version: 8.0.0
43+
usethis,
44+
dplyr,
45+
jsonlite,
46+
withr
47+
Config/roxygen2/version: 8.1.0
4048
Suggests:
49+
desc,
4150
gert,
4251
gh,
52+
jsonvalidate,
4353
knitr,
54+
omopgenerics,
55+
purrr,
4456
rmarkdown,
57+
ROhdsiWebApi,
4558
testthat (>= 3.0.0)
4659
Config/testthat/edition: 3
47-
URL: https://mi-erasmusmc.github.io/studyGenerics/
60+
URL: https://mi-erasmusmc.github.io/studyGenerics/, https://github.com/mi-erasmusmc/studyGenerics
4861
VignetteBuilder: knitr
4962
Config/Needs/website: rmarkdown
63+
Roxygen: list(markdown = TRUE)
64+
BugReports: https://github.com/mi-erasmusmc/studyGenerics/issues

‎NAMESPACE‎

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,64 @@
33
export(arrangeCdmNames)
44
export(assertCdmNames)
55
export(createResultsDir)
6-
export(developCheckout)
7-
export(getPkgZips)
6+
export(devCheckout)
87
export(insertStructure)
8+
export(installCellar)
99
export(issueOpen)
10+
export(packageCellar)
11+
export(pullConceptsAtlas)
1012
export(pullRequest)
1113
export(setLoggers)
1214
export(unZipStudyFiles)
15+
export(updateColumnValues)
1316
export(zipStudyFiles)
14-
importFrom(ParallelLogger,createFileAppender)
15-
importFrom(ParallelLogger,createLogger)
16-
importFrom(ParallelLogger,layoutParallel)
17-
importFrom(ParallelLogger,registerLogger)
18-
importFrom(checkmate,assertCharacter)
19-
importFrom(checkmate,assertDirectoryExists)
20-
importFrom(checkmate,assertFileExists)
21-
importFrom(checkmate,assertLogical)
22-
importFrom(checkmate,assertTRUE)
23-
importFrom(checkmate,checkClass)
24-
importFrom(cli,cli_abort)
25-
importFrom(cli,cli_alert_danger)
26-
importFrom(cli,cli_alert_info)
27-
importFrom(cli,cli_alert_success)
28-
importFrom(cli,cli_alert_warning)
17+
importFrom(ParallelLogger,
18+
createFileAppender,
19+
createLogger,
20+
layoutParallel,
21+
logInfo,
22+
registerLogger
23+
)
24+
importFrom(checkmate,
25+
assertCharacter,
26+
assertChoice,
27+
assertDirectoryExists,
28+
assertDouble,
29+
assertFileExists,
30+
assertList,
31+
assertLogical,
32+
assertTRUE,
33+
checkClass
34+
)
35+
importFrom(cli,
36+
cli_abort,
37+
cli_alert_info,
38+
cli_alert_success
39+
)
40+
importFrom(dplyr,
41+
bind_rows,
42+
tibble
43+
)
2944
importFrom(fs,path_ext_set)
30-
importFrom(glue,glue)
31-
importFrom(glue,glue_collapse)
45+
importFrom(glue,
46+
glue,
47+
glue_collapse
48+
)
3249
importFrom(here,here)
33-
importFrom(httr,HEAD)
34-
importFrom(renv,lockfile_read)
35-
importFrom(stats,setNames)
36-
importFrom(stringr,str_detect)
37-
importFrom(utils,download.file)
38-
importFrom(zip,unzip)
39-
importFrom(zip,zip)
50+
importFrom(jsonlite,toJSON)
51+
importFrom(renv,
52+
lockfile_read,
53+
lockfile_validate,
54+
retrieve
55+
)
56+
importFrom(stringr,
57+
str_detect,
58+
str_remove,
59+
str_replace_all,
60+
str_to_lower
61+
)
62+
importFrom(usethis,proj_set)
63+
importFrom(zip,
64+
unzip,
65+
zip
66+
)

‎NEWS.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# studyGenerics 0.0.9002
1+
# studyGenerics 0.1.3
22

3-
* New article about `insertStructure()`
3+
* Initial CRAN release.
44

5-
* New `updateColumnValues()`
5+
# studyGenerics 0.1.2
66

7-
* 'macOS solves' article
7+
* `packageCellar()` documentation fixed and exported.
88

9-
# studyGenerics 0.0.9001
9+
# studyGenerics 0.1.1
1010

11-
* Version control functions: `issueOpen()`, `pullRequest`, `developCheckout`
11+
* `packageCellar()` now tries to find default `renv.lock` and `cellarDir` if parameters are missing.
1212

13-
# studyGenerics 0.0.9000
13+
# studyGenerics 0.1.0
1414

15-
* readme and initial functions.
15+
* Initial version.

0 commit comments

Comments
 (0)