Marc Kupietz | b311dbb | 2023-10-23 15:36:04 +0200 | [diff] [blame^] | 1 | #' @keywords internal |
2 | "_PACKAGE" | ||||
3 | |||||
4 | ## usethis namespace: start | ||||
5 | #' @importFrom utils citation | ||||
6 | |||||
7 | .onAttach<-function(libname, pkgname){ | ||||
8 | requireNamespace("utils") | ||||
9 | cit<-citation(pkgname) | ||||
10 | txt<-paste(c(format(cit,"citation")),collapse="\n\n") | ||||
11 | packageStartupMessage(txt) | ||||
12 | } | ||||
13 | |||||
14 | ## usethis namespace: end | ||||
15 | NULL |