#' Migration tools
#'
#' The icon package has been overhauled to be more efficient and extensible.
#' Unfortunately this has led to several necessary interface changes. To
#' minimise impact, please use the `migrate_icon()` function to update your files
#' to use the new interface.
#'
#' @param ... Unused.
#'
#' @rdname migration
#' @export
fa <- function(...){
msg(glue(crayon::red(cli::symbol$warning), " A rewrite of the icons package has introduced breaking changes."))
msg(glue(crayon::blue(cli::symbol$info), " Refer to the NEWS (https://pkg.mitchelloharawild.com/icons/news/) to read the changes."))
abort("Update to the new interface for the icons package.")
}
#' @rdname migration
#' @export
ii <- fa
#' @rdname migration
#' @export
ai <- fa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.