diff --git a/R/zzz.R b/R/zzz.R new file mode 100644 index 0000000..0c99cf8 --- /dev/null +++ b/R/zzz.R @@ -0,0 +1,14 @@ +.onAttach <- function(libname, pkgname) { + #quietly <- getOption('quietly') + old <- options() + on.exit(options(old)) + options(quietly = T) + packageStartupMessage( + usethis::ui_info(glue::glue("{usethis::ui_field('ggseqplot')} version {utils::packageVersion(pkgname)} + Website: {usethis::ui_field('https://maraab23.github.io/ggseqplot/')} + Please type {usethis::ui_code('citation(\"ggseqplot\")')} for citation information.")), + usethis::ui_info(glue::glue("{usethis::ui_field('ggseqplot')} attached {usethis::ui_field('TraMineR')} version {utils::packageVersion('TraMineR')} + Please type {usethis::ui_code('citation(\"TraMineR\")')} for citation information.")) + ) + #options(quietly = quietly) +} diff --git a/docs/authors.html b/docs/authors.html index 6530113..b557616 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -65,12 +65,12 @@

Authors

Citation

Source: inst/CITATION

-

Raab, M. (2022): ggseqplot: Render Sequence Plots using 'ggplot2'. https://maraab23.github.io/ggseqplot/, https://github.com/maraab23/ggseqplot

+

Raab, M. (2022): ggseqplot: Render Sequence Plots using 'ggplot2'. https://maraab23.github.io/ggseqplot

@Manual{,
   author = {Marcel Raab},
   title = {ggseqplot: Render Sequence Plots using 'ggplot2'},
   year = {2022},
-  url = {https://maraab23.github.io/ggseqplot/, https://github.com/maraab23/ggseqplot},
+  url = {https://maraab23.github.io/ggseqplot},
 }