diff --git a/.github/prehooks/commit-msg b/.github/prehooks/commit-msg
index 6f4ce0753..4eaf79e26 100755
--- a/.github/prehooks/commit-msg
+++ b/.github/prehooks/commit-msg
@@ -26,7 +26,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# Path to the commit message file
diff --git a/.github/prehooks/pre-commit b/.github/prehooks/pre-commit
index 0999c4948..c029d6ddf 100755
--- a/.github/prehooks/pre-commit
+++ b/.github/prehooks/pre-commit
@@ -26,7 +26,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# Check if commit should skip checks
diff --git a/.github/workflows/check-current-testthat.yaml b/.github/workflows/check-current-testthat.yaml
index a33ddb311..c4ad533c9 100644
--- a/.github/workflows/check-current-testthat.yaml
+++ b/.github/workflows/check-current-testthat.yaml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
on:
diff --git a/.github/workflows/check-old-tinytest.yaml b/.github/workflows/check-old-tinytest.yaml
index 4f90f2606..5758bce62 100644
--- a/.github/workflows/check-old-tinytest.yaml
+++ b/.github/workflows/check-old-tinytest.yaml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
on:
diff --git a/.github/workflows/codecovr.yaml b/.github/workflows/codecovr.yaml
index 927d867c1..8810b4efd 100644
--- a/.github/workflows/codecovr.yaml
+++ b/.github/workflows/codecovr.yaml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
on:
diff --git a/.github/workflows/lintr.yaml b/.github/workflows/lintr.yaml
index cceb37261..3b70efee9 100644
--- a/.github/workflows/lintr.yaml
+++ b/.github/workflows/lintr.yaml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
on:
diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml
index de3f52fdf..ad1a0b873 100644
--- a/.github/workflows/publish-to-pypi.yml
+++ b/.github/workflows/publish-to-pypi.yml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
on:
diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml
index dff226cf3..0891f7359 100644
--- a/.github/workflows/website.yaml
+++ b/.github/workflows/website.yaml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# Create a website from the R documentation using pkgdown
diff --git a/DESCRIPTION b/DESCRIPTION
index beb4e53fa..9e59ec047 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,6 +1,6 @@
Package: AMR
-Version: 2.1.1.9234
-Date: 2025-04-07
+Version: 2.1.1.9235
+Date: 2025-04-08
Title: Antimicrobial Resistance Data Analysis
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
data analysis and to work with microbial and antimicrobial properties by
@@ -62,7 +62,7 @@ Suggests:
vctrs,
xml2
VignetteBuilder: knitr,rmarkdown
-URL: https://msberends.github.io/AMR/, https://github.com/msberends/AMR
+URL: https://www.amr-for-r.org/, https://github.com/msberends/AMR
BugReports: https://github.com/msberends/AMR/issues
License: GPL-2 | file LICENSE
Encoding: UTF-8
diff --git a/NEWS.md b/NEWS.md
index ff3903579..67b03759e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,6 @@
-# AMR 2.1.1.9234
+# AMR 2.1.1.9235
-*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://msberends.github.io/AMR/#latest-development-version).)*
+*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://www.amr-for-r.org/).)*
#### A New Milestone: AMR v3.0 with One Health Support (= Human + Veterinary + Environmental)
This package now supports not only tools for AMR data analysis in clinical settings, but also for veterinary and environmental microbiology. This was made possible through a collaboration with the [University of Prince Edward Island's Atlantic Veterinary College](https://www.upei.ca/avc), Canada. To celebrate this great improvement of the package, we also updated the package logo to reflect this change.
@@ -8,12 +8,12 @@ This package now supports not only tools for AMR data analysis in clinical setti
## Breaking
* Dataset `antibiotics` has been renamed to `antimicrobials` as the data set contains more than just antibiotics. Using `antibiotics` will still work, but now returns a warning.
* Removed all functions and references that used the deprecated `rsi` class, which were all replaced with their `sir` equivalents over two years ago.
-* Function `resistance_predict()` is now deprecated and will be removed in a future version. Use the `tidymodels` framework instead, for which we [wrote a basic introduction](https://msberends.github.io/AMR/articles/AMR_with_tidymodels.html).
+* Function `resistance_predict()` is now deprecated and will be removed in a future version. Use the `tidymodels` framework instead, for which we [wrote a basic introduction](https://www.amr-for-r.org/articles/AMR_with_tidymodels.html).
## New
* **One Health implementation**
* Function `as.sir()` now has extensive support for veterinary breakpoints from CLSI. Use `breakpoint_type = "animal"` and set the `host` argument to a variable that contains animal species names.
- * The `clinical_breakpoints` data set contains all these breakpoints, and can be downloaded on our [download page](https://msberends.github.io/AMR/articles/datasets.html).
+ * The `clinical_breakpoints` data set contains all these breakpoints, and can be downloaded on our [download page](https://www.amr-for-r.org/articles/datasets.html).
* The (new) `antimicrobials` data set contains all veterinary antibiotics, such as pradofloxacin and enrofloxacin. All WHOCC codes for veterinary use have been added as well.
* `ab_atc()` now supports ATC codes of veterinary antibiotics (that all start with "Q")
* `ab_url()` now supports retrieving the WHOCC url of their ATCvet pages
@@ -38,7 +38,7 @@ This package now supports not only tools for AMR data analysis in clinical setti
* **Support for Python**
* While using R for the heavy lifting, [our 'AMR' Python Package](https://pypi.org/project/AMR/) was developed to run the AMR R package natively in Python. The Python package will always have the same version number as the R package, as it is built automatically with every code change.
* **Support for `tidymodels`**
- * All antimicrobial selectors (such as `aminoglycosides()` and `betalactams()`) are now supported in `tidymodels` packages such as `recipe` and `parsnip`. See for more info [our tutorial](https://msberends.github.io/AMR/articles/AMR_with_tidymodels.html) on using these AMR functions for predictive modelling.
+ * All antimicrobial selectors (such as `aminoglycosides()` and `betalactams()`) are now supported in `tidymodels` packages such as `recipe` and `parsnip`. See for more info [our tutorial](https://www.amr-for-r.org/articles/AMR_with_tidymodels.html) on using these AMR functions for predictive modelling.
* **Other**
* New function `top_n_microorganisms()` to filter a data set to the top *n* of any taxonomic property, e.g., filter to the top 3 species, filter to any species in the top 5 genera, or filter to the top 3 species in each of the top 5 genera
* New function `mo_group_members()` to retrieve the member microorganisms of a microorganism group. For example, `mo_group_members("Strep group C")` returns a vector of all microorganisms that belong to that group.
diff --git a/R/aa_amr-package.R b/R/aa_amr-package.R
index be12c0188..8f5cb23dd 100755
--- a/R/aa_amr-package.R
+++ b/R/aa_amr-package.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' The `AMR` Package
@@ -32,11 +32,11 @@
#' @description
#' Welcome to the `AMR` package.
#'
-#' The `AMR` package is a [free and open-source](https://msberends.github.io/AMR/#copyright) R package with [zero dependencies](https://en.wikipedia.org/wiki/Dependency_hell) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. **Our aim is to provide a standard** for clean and reproducible AMR data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting. [Many different researchers](https://msberends.github.io/AMR/authors.html) from around the globe are continually helping us to make this a successful and durable project!
+#' The `AMR` package is a [free and open-source](https://amr-for-r.org/#copyright) R package with [zero dependencies](https://en.wikipedia.org/wiki/Dependency_hell) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. **Our aim is to provide a standard** for clean and reproducible AMR data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting. [Many different researchers](https://amr-for-r.org/authors.html) from around the globe are continually helping us to make this a successful and durable project!
#'
#' This work was published in the Journal of Statistical Software (Volume 104(3); \doi{10.18637/jss.v104.i03}) and formed the basis of two PhD theses (\doi{10.33612/diss.177417131} and \doi{10.33612/diss.192486375}).
#'
-#' After installing this package, R knows [**`r format_included_data_number(AMR::microorganisms)` microorganisms**](https://msberends.github.io/AMR/reference/microorganisms.html) (updated `r format(TAXONOMY_VERSION$GBIF$accessed_date, "%B %Y")`) and all [**`r format_included_data_number(nrow(AMR::antimicrobials) + nrow(AMR::antivirals))` antibiotic, antimycotic and antiviral drugs**](https://msberends.github.io/AMR/reference/antimicrobials.html) by name and code (including ATC, EARS-Net, ASIARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid SIR and MIC values. The integral clinical breakpoint guidelines from CLSI and EUCAST are included, even with epidemiological cut-off (ECOFF) values. It supports and can read any data format, including WHONET data. This package works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). **It was designed to work in any setting, including those with very limited resources**. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the public [University of Groningen](https://www.rug.nl), in collaboration with non-profit organisations [Certe Medical Diagnostics and Advice Foundation](https://www.certe.nl) and [University Medical Center Groningen](https://www.umcg.nl).
+#' After installing this package, R knows [**`r format_included_data_number(AMR::microorganisms)` microorganisms**](https://amr-for-r.org/reference/microorganisms.html) (updated `r format(TAXONOMY_VERSION$GBIF$accessed_date, "%B %Y")`) and all [**`r format_included_data_number(nrow(AMR::antimicrobials) + nrow(AMR::antivirals))` antibiotic, antimycotic and antiviral drugs**](https://amr-for-r.org/reference/antimicrobials.html) by name and code (including ATC, EARS-Net, ASIARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid SIR and MIC values. The integral clinical breakpoint guidelines from CLSI and EUCAST are included, even with epidemiological cut-off (ECOFF) values. It supports and can read any data format, including WHONET data. This package works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). **It was designed to work in any setting, including those with very limited resources**. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the public [University of Groningen](https://www.rug.nl), in collaboration with non-profit organisations [Certe Medical Diagnostics and Advice Foundation](https://www.certe.nl) and [University Medical Center Groningen](https://www.umcg.nl).
#'
#' The `AMR` package is available in `r vector_and(vapply(FUN.VALUE = character(1), LANGUAGES_SUPPORTED_NAMES, function(x) x$exonym), quotes = FALSE, sort = FALSE)`. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.
#' @section Download Our Reference Data:
@@ -44,7 +44,7 @@
#'
#' For maximum compatibility, we also provide machine-readable, tab-separated plain text files suitable for use in any software, including laboratory information systems.
#'
-#' Visit [our website for direct download links](https://msberends.github.io/AMR/articles/datasets.html), or explore the actual files in [our GitHub repository](https://github.com/msberends/AMR/tree/main/data-raw).
+#' Visit [our website for direct download links](https://amr-for-r.org/articles/datasets.html), or explore the actual files in [our GitHub repository](https://github.com/msberends/AMR/tree/main/data-raw).
#' @source
#' To cite AMR in publications use:
#'
diff --git a/R/aa_globals.R b/R/aa_globals.R
index cf3e6a9ab..30a8e07f8 100755
--- a/R/aa_globals.R
+++ b/R/aa_globals.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# add new version numbers here, and add the rules themselves to "data-raw/eucast_rules.tsv" and clinical_breakpoints
diff --git a/R/aa_helper_functions.R b/R/aa_helper_functions.R
index f340fc0d6..1ac5444cc 100644
--- a/R/aa_helper_functions.R
+++ b/R/aa_helper_functions.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# faster implementation of left_join than using merge() by poorman - we use match():
diff --git a/R/aa_helper_pm_functions.R b/R/aa_helper_pm_functions.R
index 1df2a2d44..317d8fad6 100755
--- a/R/aa_helper_pm_functions.R
+++ b/R/aa_helper_pm_functions.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# ------------------------------------------------
diff --git a/R/aa_options.R b/R/aa_options.R
index 1713ae2f9..24d06367e 100755
--- a/R/aa_options.R
+++ b/R/aa_options.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Options for the AMR package
diff --git a/R/ab.R b/R/ab.R
index 54b60dc86..b68a010bf 100755
--- a/R/ab.R
+++ b/R/ab.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Transform Input to an Antibiotic ID
diff --git a/R/ab_from_text.R b/R/ab_from_text.R
index 58a65d0a9..dfbcef3ef 100755
--- a/R/ab_from_text.R
+++ b/R/ab_from_text.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Retrieve Antimicrobial Drug Names and Doses from Clinical Text
diff --git a/R/ab_property.R b/R/ab_property.R
index ff5a97f58..5f7d94bdf 100755
--- a/R/ab_property.R
+++ b/R/ab_property.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Get Properties of an Antibiotic
diff --git a/R/age.R b/R/age.R
index 3797f0a90..c6a2958d8 100755
--- a/R/age.R
+++ b/R/age.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Age in Years of Individuals
diff --git a/R/amr_selectors.R b/R/amr_selectors.R
index fb3cea76f..cf3c57e41 100755
--- a/R/amr_selectors.R
+++ b/R/amr_selectors.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Antimicrobial Selectors
@@ -47,7 +47,7 @@
#' @details
#' These functions can be used in data set calls for selecting columns and filtering rows. They work with base \R, the Tidyverse, and `data.table`. They are heavily inspired by the [Tidyverse selection helpers][tidyselect::language] such as [`everything()`][tidyselect::everything()], but are not limited to `dplyr` verbs. Nonetheless, they are very convenient to use with `dplyr` functions such as [`select()`][dplyr::select()], [`filter()`][dplyr::filter()] and [`summarise()`][dplyr::summarise()], see *Examples*.
#'
-#' All selectors can also be used in `tidymodels` packages such as `recipe` and `parsnip`. See for more info [our tutorial](https://msberends.github.io/AMR/articles/AMR_with_tidymodels.html) on using antimicrobial selectors for predictive modelling.
+#' All selectors can also be used in `tidymodels` packages such as `recipe` and `parsnip`. See for more info [our tutorial](https://amr-for-r.org/articles/AMR_with_tidymodels.html) on using antimicrobial selectors for predictive modelling.
#'
#' All columns in the data in which these functions are called will be searched for known antimicrobial names, abbreviations, brand names, and codes (ATC, EARS-Net, WHO, etc.) according to the [antimicrobials] data set. This means that a selector such as [aminoglycosides()] will pick up column names like 'gen', 'genta', 'J01GB03', 'tobra', 'Tobracin', etc.
#'
diff --git a/R/antibiogram.R b/R/antibiogram.R
index af26aea03..f15ed057f 100755
--- a/R/antibiogram.R
+++ b/R/antibiogram.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Generate Traditional, Combination, Syndromic, or WISCA Antibiograms
diff --git a/R/atc_online.R b/R/atc_online.R
index f18be0438..68653ac71 100755
--- a/R/atc_online.R
+++ b/R/atc_online.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Get ATC Properties from WHOCC Website
diff --git a/R/av.R b/R/av.R
index 7831dd431..fc7cc7855 100755
--- a/R/av.R
+++ b/R/av.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Transform Input to an Antiviral Drug ID
diff --git a/R/av_from_text.R b/R/av_from_text.R
index abd1f9697..0a8a32761 100755
--- a/R/av_from_text.R
+++ b/R/av_from_text.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Retrieve Antiviral Drug Names and Doses from Clinical Text
diff --git a/R/av_property.R b/R/av_property.R
index c9382340d..0fa219157 100755
--- a/R/av_property.R
+++ b/R/av_property.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Get Properties of an Antiviral Drug
diff --git a/R/availability.R b/R/availability.R
index b50cd1ba2..4e18f47bb 100755
--- a/R/availability.R
+++ b/R/availability.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Check Availability of Columns
diff --git a/R/bug_drug_combinations.R b/R/bug_drug_combinations.R
index 746a7db54..84abf442a 100755
--- a/R/bug_drug_combinations.R
+++ b/R/bug_drug_combinations.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Determine Bug-Drug Combinations
diff --git a/R/count.R b/R/count.R
index 9652764b2..90941f66d 100755
--- a/R/count.R
+++ b/R/count.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Count Available Isolates
diff --git a/R/custom_antimicrobials.R b/R/custom_antimicrobials.R
index bb0743084..b1d0264d0 100755
--- a/R/custom_antimicrobials.R
+++ b/R/custom_antimicrobials.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Add Custom Antimicrobials
diff --git a/R/custom_eucast_rules.R b/R/custom_eucast_rules.R
index 8e8eee0e0..aca6aea06 100755
--- a/R/custom_eucast_rules.R
+++ b/R/custom_eucast_rules.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Define Custom EUCAST Rules
diff --git a/R/custom_microorganisms.R b/R/custom_microorganisms.R
index d86d30d9b..f7c4c1457 100755
--- a/R/custom_microorganisms.R
+++ b/R/custom_microorganisms.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Add Custom Microorganisms
diff --git a/R/data.R b/R/data.R
index 15647a7db..9af610c64 100755
--- a/R/data.R
+++ b/R/data.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Data Sets with `r format(nrow(antimicrobials) + nrow(antivirals), big.mark = " ")` Antimicrobial Drugs
@@ -200,7 +200,7 @@
#' Data Set with `r format(nrow(example_isolates), big.mark = " ")` Example Isolates
#'
-#' A data set containing `r format(nrow(example_isolates), big.mark = " ")` microbial isolates with their full antibiograms. This data set contains randomised fictitious data, but reflects reality and can be used to practise AMR data analysis. For examples, please read [the tutorial on our website](https://msberends.github.io/AMR/articles/AMR.html).
+#' A data set containing `r format(nrow(example_isolates), big.mark = " ")` microbial isolates with their full antibiograms. This data set contains randomised fictitious data, but reflects reality and can be used to practise AMR data analysis. For examples, please read [the tutorial on our website](https://amr-for-r.org/articles/AMR.html).
#' @format A [tibble][tibble::tibble] with `r format(nrow(example_isolates), big.mark = " ")` observations and `r ncol(example_isolates)` variables:
#' - `date`\cr Date of receipt at the laboratory
#' - `patient`\cr ID of the patient
diff --git a/R/disk.R b/R/disk.R
index 565a0db5a..d531d2ddf 100755
--- a/R/disk.R
+++ b/R/disk.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Transform Input to Disk Diffusion Diameters
diff --git a/R/eucast_rules.R b/R/eucast_rules.R
index ced1c56b1..b1a522e42 100755
--- a/R/eucast_rules.R
+++ b/R/eucast_rules.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# ====================================================== #
diff --git a/R/export_biosample.R b/R/export_biosample.R
index a28e1b0f8..bc9b6dc04 100755
--- a/R/export_biosample.R
+++ b/R/export_biosample.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Export Data Set as NCBI BioSample Antibiogram
diff --git a/R/first_isolate.R b/R/first_isolate.R
index bd33bf546..14b59c230 100644
--- a/R/first_isolate.R
+++ b/R/first_isolate.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Determine First Isolates
diff --git a/R/g.test.R b/R/g.test.R
index eb5e4a705..82ce7b718 100755
--- a/R/g.test.R
+++ b/R/g.test.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' *G*-test for Count Data
diff --git a/R/get_episode.R b/R/get_episode.R
index 4cff831f0..c71586844 100644
--- a/R/get_episode.R
+++ b/R/get_episode.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Determine Clinical or Epidemic Episodes
diff --git a/R/ggplot_pca.R b/R/ggplot_pca.R
index 0321cf53d..032762cf7 100755
--- a/R/ggplot_pca.R
+++ b/R/ggplot_pca.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' PCA Biplot with `ggplot2`
diff --git a/R/ggplot_sir.R b/R/ggplot_sir.R
index 4afbd2839..3cfa65a6d 100755
--- a/R/ggplot_sir.R
+++ b/R/ggplot_sir.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' AMR Plots with `ggplot2`
diff --git a/R/guess_ab_col.R b/R/guess_ab_col.R
index 2cc333286..ffae1f118 100755
--- a/R/guess_ab_col.R
+++ b/R/guess_ab_col.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Guess Antibiotic Column
diff --git a/R/italicise_taxonomy.R b/R/italicise_taxonomy.R
index a3ef771aa..e271f5400 100755
--- a/R/italicise_taxonomy.R
+++ b/R/italicise_taxonomy.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Italicise Taxonomic Families, Genera, Species, Subspecies
diff --git a/R/join_microorganisms.R b/R/join_microorganisms.R
index 90c808c94..84eefc3de 100755
--- a/R/join_microorganisms.R
+++ b/R/join_microorganisms.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Join [microorganisms] to a Data Set
diff --git a/R/key_antimicrobials.R b/R/key_antimicrobials.R
index 991c49c67..a138103a9 100755
--- a/R/key_antimicrobials.R
+++ b/R/key_antimicrobials.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' (Key) Antimicrobials for First Weighted Isolates
diff --git a/R/kurtosis.R b/R/kurtosis.R
index 85c5b010b..f2b17d37d 100755
--- a/R/kurtosis.R
+++ b/R/kurtosis.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Kurtosis of the Sample
diff --git a/R/like.R b/R/like.R
index 9429b5b1e..37313b63b 100755
--- a/R/like.R
+++ b/R/like.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Vectorised Pattern Matching with Keyboard Shortcut
diff --git a/R/mdro.R b/R/mdro.R
index 3edae343b..352c948a7 100755
--- a/R/mdro.R
+++ b/R/mdro.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Determine Multidrug-Resistant Organisms (MDRO)
diff --git a/R/mean_amr_distance.R b/R/mean_amr_distance.R
index 843849476..bc487e4af 100755
--- a/R/mean_amr_distance.R
+++ b/R/mean_amr_distance.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Calculate the Mean AMR Distance
diff --git a/R/mic.R b/R/mic.R
index 28f231f29..870d51f58 100644
--- a/R/mic.R
+++ b/R/mic.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# these are allowed MIC values and will become factor levels
diff --git a/R/mo.R b/R/mo.R
index 2c354dc26..331db639b 100755
--- a/R/mo.R
+++ b/R/mo.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Transform Arbitrary Input to Valid Microbial Taxonomy
diff --git a/R/mo_matching_score.R b/R/mo_matching_score.R
index a398581b2..a8151cefc 100755
--- a/R/mo_matching_score.R
+++ b/R/mo_matching_score.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Calculate the Matching Score for Microorganisms
diff --git a/R/mo_property.R b/R/mo_property.R
index 5257dbd7d..87e182ff1 100755
--- a/R/mo_property.R
+++ b/R/mo_property.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Get Properties of a Microorganism
diff --git a/R/mo_source.R b/R/mo_source.R
index 55b6aa7a8..9a727bd78 100755
--- a/R/mo_source.R
+++ b/R/mo_source.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' User-Defined Reference Data Set for Microorganisms
diff --git a/R/pca.R b/R/pca.R
index 8343c3321..490de18bc 100755
--- a/R/pca.R
+++ b/R/pca.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Principal Component Analysis (for AMR)
diff --git a/R/plotting.R b/R/plotting.R
index 7957815ea..608ad22df 100755
--- a/R/plotting.R
+++ b/R/plotting.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Plotting Helpers for AMR Data Analysis
diff --git a/R/proportion.R b/R/proportion.R
index f79a48896..775a22381 100644
--- a/R/proportion.R
+++ b/R/proportion.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Calculate Antimicrobial Resistance
diff --git a/R/random.R b/R/random.R
index 83e6ba26d..585ca6e33 100755
--- a/R/random.R
+++ b/R/random.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Random MIC Values/Disk Zones/SIR Generation
diff --git a/R/resistance_predict.R b/R/resistance_predict.R
index f0ec70c8a..7dfdd181d 100755
--- a/R/resistance_predict.R
+++ b/R/resistance_predict.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Predict Antimicrobial Resistance
@@ -133,7 +133,7 @@ resistance_predict <- function(x,
deprecation_warning(
old = "resistance_predict", is_function = TRUE,
- extra_msg = paste0("Use the tidymodels framework instead, for which we have written a basic and short introduction on our website: ", font_url("https://msberends.github.io/AMR/articles/AMR_with_tidymodels.html", txt = font_bold("AMR with tidymodels")))
+ extra_msg = paste0("Use the tidymodels framework instead, for which we have written a basic and short introduction on our website: ", font_url("https://amr-for-r.org/articles/AMR_with_tidymodels.html", txt = font_bold("AMR with tidymodels")))
)
stop_if(is.null(model), 'choose a regression model with the `model` argument, e.g. resistance_predict(..., model = "binomial")')
diff --git a/R/sir.R b/R/sir.R
index a09ed5392..e068b10ad 100755
--- a/R/sir.R
+++ b/R/sir.R
@@ -24,10 +24,10 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
-#' Translate MIC and Disk Diffusion to SIR, or Clean Existing SIR Data
+#' Interpret MIC and Disk Diffusion as SIR, or Clean Existing SIR Data
#'
#' @description Clean up existing SIR values, or interpret minimum inhibitory concentration (MIC) values and disk diffusion diameters according to EUCAST or CLSI. [as.sir()] transforms the input to a new class [`sir`], which is an ordered [factor] containing the levels `S`, `SDD`, `I`, `R`, `NI`.
#'
@@ -167,7 +167,7 @@
#' - **CLSI VET01: Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals**, `r min(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "CLSI" & type == "animal")$guideline)))`-`r max(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "CLSI" & type == "animal")$guideline)))`, *Clinical and Laboratory Standards Institute* (CLSI). .
###### TODO - **CLSI VET09: Understanding Susceptibility Test Data as a Component of Antimicrobial Stewardship in Veterinary Settings**, `r min(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "CLSI" & type == "animal")$guideline)))`-`r max(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "CLSI" & type == "animal")$guideline)))`, *Clinical and Laboratory Standards Institute* (CLSI). .
#' - **EUCAST Breakpoint tables for interpretation of MICs and zone diameters**, `r min(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "EUCAST")$guideline)))`-`r max(as.integer(gsub("[^0-9]", "", subset(AMR::clinical_breakpoints, guideline %like% "EUCAST")$guideline)))`, *European Committee on Antimicrobial Susceptibility Testing* (EUCAST). .
-#' - **WHONET** as a source for machine-reading the clinical breakpoints ([read more here](https://msberends.github.io/AMR/reference/clinical_breakpoints.html#imported-from-whonet)), 1989-`r max(as.integer(gsub("[^0-9]", "", AMR::clinical_breakpoints$guideline)))`, *WHO Collaborating Centre for Surveillance of Antimicrobial Resistance*. .
+#' - **WHONET** as a source for machine-reading the clinical breakpoints ([read more here](https://amr-for-r.org/reference/clinical_breakpoints.html#imported-from-whonet)), 1989-`r max(as.integer(gsub("[^0-9]", "", AMR::clinical_breakpoints$guideline)))`, *WHO Collaborating Centre for Surveillance of Antimicrobial Resistance*. .
#'
#' @inheritSection AMR Download Our Reference Data
#' @examples
diff --git a/R/sir_calc.R b/R/sir_calc.R
index e6042d32a..4fd4fb921 100755
--- a/R/sir_calc.R
+++ b/R/sir_calc.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
dots2vars <- function(...) {
diff --git a/R/sir_df.R b/R/sir_df.R
index 4d64e3de6..1a695fe66 100755
--- a/R/sir_df.R
+++ b/R/sir_df.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' @rdname proportion
diff --git a/R/skewness.R b/R/skewness.R
index f12badd3f..a30ac4afd 100755
--- a/R/skewness.R
+++ b/R/skewness.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Skewness of the Sample
diff --git a/R/top_n_microorganisms.R b/R/top_n_microorganisms.R
index d3238a706..0e08257ef 100755
--- a/R/top_n_microorganisms.R
+++ b/R/top_n_microorganisms.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Filter Top *n* Microorganisms
diff --git a/R/translate.R b/R/translate.R
index d1c67e35f..20d8500be 100755
--- a/R/translate.R
+++ b/R/translate.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Translate Strings from the AMR Package
diff --git a/R/vctrs.R b/R/vctrs.R
index ce864e391..33c37d2e1 100755
--- a/R/vctrs.R
+++ b/R/vctrs.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# These are all S3 implementations for the vctrs package,
diff --git a/R/whocc.R b/R/whocc.R
index 39e734d8b..86fe0f48b 100755
--- a/R/whocc.R
+++ b/R/whocc.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' WHOCC: WHO Collaborating Centre for Drug Statistics Methodology
diff --git a/R/zz_deprecated.R b/R/zz_deprecated.R
index 558bb72e4..1135d587e 100755
--- a/R/zz_deprecated.R
+++ b/R/zz_deprecated.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
#' Deprecated Functions
diff --git a/R/zzz.R b/R/zzz.R
index d0c99c64c..fa7cb8aeb 100755
--- a/R/zzz.R
+++ b/R/zzz.R
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
# set up package environment, used by numerous AMR functions
diff --git a/README.md b/README.md
index 3fa0864e1..e2b0cb749 100755
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Overview:
----
-Please visit our extensive website [https://msberends.github.io/AMR/](https://msberends.github.io/AMR/) to read more about this package, including many examples and tutorials.
+Please visit our extensive website to read more about this package, including many examples and tutorials.
### How to get this package
@@ -27,14 +27,14 @@ To install the latest 'release' version from CRAN:
install.packages("AMR")
```
-To install the latest 'beta' version from GitHub:
+To install the latest 'beta' version:
```r
-remotes::install_github("msberends/AMR")
+install.packages("AMR", repos = "beta.amr-for-r.org")
```
----
-This AMR package for R is free, open-source software and licensed under the [GNU General Public License v2.0 (GPL-2)](https://msberends.github.io/AMR/LICENSE-text.html). These requirements are consequently legally binding: modifications must be released under the same license when distributing the package, changes made to the code must be documented, source code must be made available when the package is distributed, and a copy of the license and copyright notice must be included with the package.
+This AMR package for R is free, open-source software and licensed under the [GNU General Public License v2.0 (GPL-2)](https://www.amr-for-r.org//LICENSE-text.html). These requirements are consequently legally binding: modifications must be released under the same license when distributing the package, changes made to the code must be documented, source code must be made available when the package is distributed, and a copy of the license and copyright notice must be included with the package.
diff --git a/_pkgdown.yml b/_pkgdown.yml
index a33ea9097..4cb564b27 100644
--- a/_pkgdown.yml
+++ b/_pkgdown.yml
@@ -24,11 +24,11 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
title: "AMR (for R)"
-url: "https://msberends.github.io/AMR/"
+url: "https://amr-for-r.org/"
template:
bootstrap: 5
diff --git a/codecov.yml b/codecov.yml
index 2b31d3239..74e4c9835 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -24,7 +24,7 @@
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# #
# Visit our website for the full manual and a complete tutorial about #
-# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
+# how to conduct AMR data analysis: https://amr-for-r.org/ #
# ==================================================================== #
codecov:
diff --git a/data-raw/AMRforRGPT.pdf b/data-raw/AMRforRGPT.pdf
index 801dccdb8..c58492577 100644
Binary files a/data-raw/AMRforRGPT.pdf and b/data-raw/AMRforRGPT.pdf differ
diff --git a/data-raw/AMRforRGPT.pptx b/data-raw/AMRforRGPT.pptx
index f905a0c05..29c36c939 100644
Binary files a/data-raw/AMRforRGPT.pptx and b/data-raw/AMRforRGPT.pptx differ
diff --git a/data-raw/AMRforRGPT.svg b/data-raw/AMRforRGPT.svg
index 7202662aa..df6df486d 100644
--- a/data-raw/AMRforRGPT.svg
+++ b/data-raw/AMRforRGPT.svg
@@ -1,2307 +1,443 @@
-
-
-