#' @keywords internal
#'
#' @importFrom methods slotNames
#' @importFrom methods slot
#' @importFrom methods is
#' @importFrom methods slot<-
#' @importFrom magrittr %>%
fix_MIAME <- function(x) {
for (i in slotNames(x)) {
if (is(slot(x, i), "character")) {
slot(x, i) <-
slot(x, i) %>%
gsub("\\s+", " ", x = .)
}
}
x
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.