diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 751b52c57697f30814482ce3b5a166c591b2ad1e..0000000000000000000000000000000000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,48 +0,0 @@ -stages: - - build - - check - - test - - document - -variables: - IMAGE_NAME: "$CI_REGISTRY_IMAGE/ubair" - -build_image: - stage: build - image: docker:24.0.5 - script: - - docker build -t $IMAGE_NAME:latest . - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker push $IMAGE_NAME:latest - only: - changes: - - renv.lock - - Dockerfile - allow_failure: true - -check: - stage: check - image: $IMAGE_NAME:latest - script: - - R -e 'devtools::check(document = FALSE)' - -test: - stage: test - image: $IMAGE_NAME:latest - script: - - R -e 'devtools::test()' - -document: - stage: document - image: $IMAGE_NAME:latest - script: - - R -e 'devtools::document()' - - | - if ! git diff --exit-code man/ NAMESPACE; then - echo "ERROR: Documentation is not up-to-date. Please run devtools::document() locally and commit the changes." - exit 1 - fi - artifacts: - paths: - - man/ - - NAMESPACE diff --git a/.gitlab/issue_templates/.gitkeep b/.gitlab/issue_templates/.gitkeep deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/.gitlab/issue_templates/issue.md b/.gitlab/issue_templates/issue.md deleted file mode 100644 index e48b1a4c13f8dcd9e2dfe91be46dd80dbe9600ad..0000000000000000000000000000000000000000 --- a/.gitlab/issue_templates/issue.md +++ /dev/null @@ -1,18 +0,0 @@ -## Titel - -Als [Rolle] -möchte ich [was tun können], -um [diesen Nutzen zu haben]. - -## Weiterführende Informationen -[Informationen] - - -## Akzeptanzkriterien -- [ ] objektive Kriterien -- [ ] ob das Ziel der Aufgabe erreicht wurde - - -## Aufgaben -- [ ] Welche Aufgaben stehen nach derzeitigem Wissenstand an, -- [ ] um das Issue abzuschließen? diff --git a/.lintr b/.lintr deleted file mode 100644 index d4be428a67a07c7085160636eb4a5d9d7556fdf9..0000000000000000000000000000000000000000 --- a/.lintr +++ /dev/null @@ -1,3 +0,0 @@ -linters: linters_with_defaults( - object_usage_linter = NULL # Disables the object usage linter entirely - ) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100755 index e5ee8d5094d80108cac74031b6e8960499dd2c83..0000000000000000000000000000000000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# All available hooks: https://pre-commit.com/hooks.html -# R specific hooks: https://github.com/lorenzwalthert/precommit -repos: -- repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3 - hooks: - - id: style-files - args: [--style_pkg=styler, --style_fun=tidyverse_style] - # codemeta must be above use-tidy-description when both are used - # - id: codemeta-description-updated - - id: use-tidy-description - - id: readme-rmd-rendered - - id: parsable-R - - id: no-browser-statement - - id: no-print-statement - - id: no-debug-statement - - id: deps-in-desc - - id: pkgdown -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 - hooks: - - id: check-added-large-files - args: ['--maxkb=4000'] - - id: file-contents-sorter - files: '^\.Rbuildignore$' - - id: end-of-file-fixer - exclude: '\.Rd' -- repo: https://github.com/pre-commit-ci/pre-commit-ci-config - rev: v1.6.1 - hooks: - # Only required when https://pre-commit.ci is used for config validation - - id: check-pre-commit-ci-config -- repo: local - hooks: - - id: forbid-to-commit - name: Don't commit common R artifacts - entry: Cannot commit .Rhistory, .RData, .Rds or .rds. - language: fail - files: '\.(Rhistory|RData|Rds|rds)$' - # `exclude: <regex>` to allow committing specific files