minor revs

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-02-09 09:29:34 +01:00
parent 635fa2f091
commit 796826d7d9
5 changed files with 14 additions and 45 deletions

View File

@ -15,3 +15,4 @@
^logo\.R$ ^logo\.R$
^cran-comments\.md$ ^cran-comments\.md$
^CRAN-SUBMISSION$ ^CRAN-SUBMISSION$
drafting

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ inst/doc
logo.R logo.R
*.DS_Store *.DS_Store
docs docs
drafting

Binary file not shown.

View File

@ -1,10 +1,14 @@
metadata_names <- c( # metadata_names <- c(
"field_name", "form_name", "section_header", "field_type", # "field_name", "form_name", "section_header", "field_type",
"field_label", "select_choices_or_calculations", "field_note", # "field_label", "select_choices_or_calculations", "field_note",
"text_validation_type_or_show_slider_number", "text_validation_min", # "text_validation_type_or_show_slider_number", "text_validation_min",
"text_validation_max", "identifier", "branching_logic", "required_field", # "text_validation_max", "identifier", "branching_logic", "required_field",
"custom_alignment", "question_number", "matrix_group_name", "matrix_ranking", # "custom_alignment", "question_number", "matrix_group_name", "matrix_ranking",
"field_annotation" # "field_annotation"
) # )
metadata_names <- REDCapR::redcap_metadata_read(redcap_uri = keyring::key_get("DB_URI"),
token = keyring::key_get("cast_api")
)$data |> names()
usethis::use_data(metadata_names, overwrite = TRUE, internal = TRUE) usethis::use_data(metadata_names, overwrite = TRUE, internal = TRUE)

View File

@ -93,19 +93,6 @@
], ],
"Hash": "9fe98599ca456d6552421db0d6772d8f" "Hash": "9fe98599ca456d6552421db0d6772d8f"
}, },
"calendar": {
"Package": "calendar",
"Version": "0.0.1",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"lubridate",
"methods",
"tibble"
],
"Hash": "ab478f470a5203ff9990e42d916005b0"
},
"checkmate": { "checkmate": {
"Package": "checkmate", "Package": "checkmate",
"Version": "2.3.1", "Version": "2.3.1",
@ -310,19 +297,6 @@
], ],
"Hash": "b8552d117e1b808b09a832f589b79035" "Hash": "b8552d117e1b808b09a832f589b79035"
}, },
"lubridate": {
"Package": "lubridate",
"Version": "1.9.3",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"generics",
"methods",
"timechange"
],
"Hash": "680ad542fbcf801442c83a6ac5a2126c"
},
"magrittr": { "magrittr": {
"Package": "magrittr", "Package": "magrittr",
"Version": "2.0.3", "Version": "2.0.3",
@ -575,17 +549,6 @@
], ],
"Hash": "79540e5fcd9e0435af547d885f184fd5" "Hash": "79540e5fcd9e0435af547d885f184fd5"
}, },
"timechange": {
"Package": "timechange",
"Version": "0.3.0",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"cpp11"
],
"Hash": "c5f3c201b931cd6474d17d8700ccb1c8"
},
"tzdb": { "tzdb": {
"Package": "tzdb", "Package": "tzdb",
"Version": "0.4.0", "Version": "0.4.0",