-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME.Rmd
More file actions
70 lines (55 loc) · 2.83 KB
/
README.Rmd
File metadata and controls
70 lines (55 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
output:
github_document:
html_preview: false
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- badges: start -->
[](https://github.com/dzhw/questionMetadataPreparation/actions)
[](https://codecov.io/github/dzhw/questionMetadataPreparation?branch=master)
[](https://www.tidyverse.org/lifecycle/#stable)
[](https://github.com/dzhw/FDZ_Allgemein/wiki/Fragen-2.0)
<!-- badges: end -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# [Question Metadata Preparation](https://dzhw.github.io/questionMetadataPreparation/)
This [R](https://www.r-project.org/about.html) package ([Question Metadata Preparation](https://dzhw.github.io/questionMetadataPreparation/)) helps preparing question-metadata for the [MDM](https://metadata.fdz.dzhw.eu) of
the research data center of the DZHW. If you do not work for the research data
center of the DZHW, this package will probably be only useful for learning purposes,
as it is specifically designed to help with our internal processes.
## Installation of development version
Developers need to setup the R devtools on their machine.
```{r, eval = FALSE}
install.packages("devtools", dependencies = TRUE)
devtools::install_github("dzhw/questionMetadataPreparation")
```
After setting up devtools you can install all required R packages with
``` bash
R -e 'devtools::install_deps(dep = T)'
```
During development you should start an R session in the project root in order to run:
```{r, eval = FALSE}
devtools::load_all() # loads the project from the current directory
devtools::install() # installs the project from the current directory
devtools::test() # runs the test_that tests
```
You can build the package on your local machine with
``` bash
R CMD build .
```
Before pushing to Github (and thus kicking of CI) you should run
``` bash
R CMD check *tar.gz
```
# Deployment
The scripts under `/bin` must be copied to `//faust/abt4/FDZ/4_Datenaufnahme/_Organisation/_Vorlage_Ordnerstruktur/DAP-id/vX.X.X/4_Dokumentation/questions`. New releases can be installed by the users by executing `/bin/install_questionMetadataPreparation.bat`which installs the latest commit on `master`.
# Usefull links, further documentation
- [Further Documentation](https://github.com/dzhw/FDZ_Allgemein/wiki/Fragen-(Questions))
## Having trouble?
Please file an issue in our [issue tracker](https://github.com/dzhw/metadatamanagement/issues)