diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index e3077c82..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,36 +0,0 @@ -# ==================================================================== # -# TITLE # -# Antimicrobial Resistance (AMR) Analysis # -# # -# SOURCE # -# https://github.com/msberends/AMR # -# # -# LICENCE # -# (c) 2018-2020 Berends MS, Luz CF et al. # -# # -# This R package is free software; you can freely use and distribute # -# it for both personal and commercial purposes under the terms of the # -# GNU General Public License version 2.0 (GNU GPL-2), as published by # -# the Free Software Foundation. # -# # -# We created this package for both routine data analysis and academic # -# research and it was publicly released in the hope that it will be # -# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.github.io/AMR. # -# ==================================================================== # - -# as long as GitLab used - make sure the website will be updated -stages: - - deploy - -pages: - stage: deploy - allow_failure: true - when: always - only: - - master - script: - - mv docs public - artifacts: - paths: - - public diff --git a/DESCRIPTION b/DESCRIPTION index e97dd90d..3f7b4567 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.2.0.9031 +Version: 1.2.0.9032 Date: 2020-07-09 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 90a0ffaa..722eac91 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 1.2.0.9031 +# AMR 1.2.0.9032 ## Last updated: 09-Jul-2020 ### New @@ -38,7 +38,7 @@ * Any progress bar will now only show in interactive mode (i.e. not in R Markdown) ### Other -* Project moved to GitHub +* Moved primary location of this project from GitLab to [GitHub](https://github.com/msberends/AMR), giving us native support for automated syntax checking without being dependent on external services such as AppVeyor and Travis CI. # AMR 1.2.0 diff --git a/R/translate.R b/R/translate.R index f57d4704..fe9f282d 100755 --- a/R/translate.R +++ b/R/translate.R @@ -126,7 +126,7 @@ translate_AMR <- function(from, language = get_locale(), only_unknown = FALSE) { # check if text to look for is in one of the patterns any_form_in_patterns <- tryCatch(any(from %like% paste0("(", paste(df_trans$pattern, collapse = "|"), ")")), error = function(e) { - warning("Translation not possible. Please open an issue on GitLab (https://github.com/msberends/AMR/issues) or GitHub (https://github.com/msberends/AMR/issues).", call. = FALSE) + warning("Translation not possible. Please open an issue on GitHub (https://github.com/msberends/AMR/issues).", call. = FALSE) return(FALSE) }) if (NROW(df_trans) == 0 | !any_form_in_patterns) { diff --git a/README.md b/README.md index 6f6dfa6d..17155054 100755 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ % AMR (for R) # `AMR` (for R) - + This is the development source of the `AMR` package for R. Not a developer? Then please visit our website [https://msberends.github.io/AMR](https://msberends.github.io/AMR) to read about this package. -*NOTE: this source code is on GitHub (https://github.com/msberends/AMR) and GitLab (https://gitlab.com/msberends/AMR).* +*NOTE: this source code is on GitHub (https://github.com/msberends/AMR), but also automatically mirrored to GitLab (https://gitlab.com/msberends/AMR).* ### How to get this package Please see [our website](https://msberends.github.io/AMR/#get-this-package). ### Copyright -This R package is licensed under the [GNU General Public License (GPL) v2.0](https://gitlab.com/msberends/AMR/blob/master/LICENSE). In a nutshell, this means that this package: +This R package is licensed under the [GNU General Public License (GPL) v2.0](https://github.com/msberends/AMR/blob/master/LICENSE). In a nutshell, this means that this package: - May be used for commercial purposes diff --git a/data-raw/country_analysis.R b/data-raw/country_analysis.R index 11e90808..f25f8ea4 100644 --- a/data-raw/country_analysis.R +++ b/data-raw/country_analysis.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # Read and format data ---------------------------------------------------- diff --git a/data-raw/internals.R b/data-raw/internals.R index f3493fa5..8075461e 100644 --- a/data-raw/internals.R +++ b/data-raw/internals.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # Run this file to update the package using: ------------------------------- diff --git a/data-raw/loinc.R b/data-raw/loinc.R index 2f34fcc6..c6a4b23b 100644 --- a/data-raw/loinc.R +++ b/data-raw/loinc.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # last updated: 20 January 2020 - Loinc_2.67 diff --git a/data-raw/poorman_prepend.R b/data-raw/poorman_prepend.R index afa3a68f..41181ea8 100644 --- a/data-raw/poorman_prepend.R +++ b/data-raw/poorman_prepend.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # ------------------------------------------------ diff --git a/data-raw/read_EUCAST.R b/data-raw/read_EUCAST.R index 78fbfcda..646d5108 100644 --- a/data-raw/read_EUCAST.R +++ b/data-raw/read_EUCAST.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # library(openxlsx) diff --git a/data-raw/reproduction_of_antibiotics.R b/data-raw/reproduction_of_antibiotics.R index fac3b94f..ede153bb 100644 --- a/data-raw/reproduction_of_antibiotics.R +++ b/data-raw/reproduction_of_antibiotics.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # library(dplyr) diff --git a/data-raw/reproduction_of_antivirals.R b/data-raw/reproduction_of_antivirals.R index f1a32fd8..0167f06c 100644 --- a/data-raw/reproduction_of_antivirals.R +++ b/data-raw/reproduction_of_antivirals.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # get all data from the WHOCC website diff --git a/data-raw/reproduction_of_example_isolates_unclean.R b/data-raw/reproduction_of_example_isolates_unclean.R index 9d34e990..c49baa26 100644 --- a/data-raw/reproduction_of_example_isolates_unclean.R +++ b/data-raw/reproduction_of_example_isolates_unclean.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # patients <- unlist(lapply(LETTERS, paste0, 1:10)) diff --git a/data-raw/reproduction_of_microorganisms.R b/data-raw/reproduction_of_microorganisms.R index 6237efac..3abec2f7 100644 --- a/data-raw/reproduction_of_microorganisms.R +++ b/data-raw/reproduction_of_microorganisms.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # # Reproduction of the `microorganisms` data set diff --git a/data-raw/snomed.R b/data-raw/snomed.R index abf40a2a..30b753f1 100644 --- a/data-raw/snomed.R +++ b/data-raw/snomed.R @@ -3,7 +3,7 @@ # Antimicrobial Resistance (AMR) Analysis # # # # SOURCE # -# https://gitlab.com/msberends/AMR # +# https://github.com/msberends/AMR # # # # LICENCE # # (c) 2018-2020 Berends MS, Luz CF et al. # @@ -16,7 +16,7 @@ # We created this package for both routine data analysis and academic # # research and it was publicly released in the hope that it will be # # useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # -# Visit our website for more info: https://msberends.gitlab.io/AMR. # +# Visit our website for more info: https://msberends.github.io/AMR. # # ==================================================================== # library(AMR) diff --git a/docs/404.html b/docs/404.html index b12eb2a0..1db1be6b 100644 --- a/docs/404.html +++ b/docs/404.html @@ -81,7 +81,7 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index b5885137..ad2fe669 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -81,7 +81,7 @@ diff --git a/docs/articles/SPSS.html b/docs/articles/SPSS.html index 148cf2f9..ffb8199c 100644 --- a/docs/articles/SPSS.html +++ b/docs/articles/SPSS.html @@ -39,7 +39,7 @@ diff --git a/docs/articles/WHONET.html b/docs/articles/WHONET.html index f825cfbf..46684c5e 100644 --- a/docs/articles/WHONET.html +++ b/docs/articles/WHONET.html @@ -39,7 +39,7 @@ @@ -202,7 +202,7 @@An example syntax could look like this:
library(readxl) data <- read_excel(path = "path/to/your/file.xlsx")
This package comes with an example data set WHONET
. We will use it for this analysis.
This package comes with an example data set WHONET
. We will use it for this analysis.