From 452b946f3ba9144cf45fa2f85f5857a815609db1 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Sat, 19 Aug 2023 20:37:52 -0400 Subject: [PATCH] add correct package file docs (see r-lib/roxygen2#1491) --- DESCRIPTION | 4 ++-- R/shinyalert-package.R | 3 +++ man/shinyalert-package.Rd | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 R/shinyalert-package.R create mode 100644 man/shinyalert-package.Rd diff --git a/DESCRIPTION b/DESCRIPTION index a353bb1..5da04b7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -13,7 +13,7 @@ Authors@R: c( Description: Easily create pretty popup messages (modals) in 'Shiny'. A modal can contain text, images, OK/Cancel buttons, an input to get a response from the user, and many more customizable options. -URL: https://github.com/daattali/shinyalert https://daattali.com/shiny/shinyalert-demo/ +URL: https://github.com/daattali/shinyalert, https://daattali.com/shiny/shinyalert-demo/ BugReports: https://github.com/daattali/shinyalert/issues Depends: R (>= 3.0.2) @@ -27,5 +27,5 @@ Suggests: shinydisconnect License: MIT + file LICENSE Encoding: UTF-8 -RoxygenNote: 7.1.1 +RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) diff --git a/R/shinyalert-package.R b/R/shinyalert-package.R new file mode 100644 index 0000000..96f2c1c --- /dev/null +++ b/R/shinyalert-package.R @@ -0,0 +1,3 @@ +#' @keywords internal +#' @aliases shinyalert-package +"_PACKAGE" diff --git a/man/shinyalert-package.Rd b/man/shinyalert-package.Rd new file mode 100644 index 0000000..7384fda --- /dev/null +++ b/man/shinyalert-package.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/shinyalert-package.R +\docType{package} +\name{shinyalert-package} +\alias{shinyalert-package} +\alias{_PACKAGE} +\title{shinyalert: Easily Create Pretty Popup Messages (Modals) in 'Shiny'} +\description{ +Easily create pretty popup messages (modals) in 'Shiny'. A modal can contain text, images, OK/Cancel buttons, an input to get a response from the user, and many more customizable options. +} +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/daattali/shinyalert} + \item \url{https://daattali.com/shiny/shinyalert-demo/} + \item Report bugs at \url{https://github.com/daattali/shinyalert/issues} +} + +} +\author{ +\strong{Maintainer}: Dean Attali \email{daattali@gmail.com} (\href{https://orcid.org/0000-0002-5645-3493}{ORCID}) (R interface) + +Authors: +\itemize{ + \item Tristan Edwards (sweetalert library) +} + +Other contributors: +\itemize{ + \item Zhengjia Wang [contributor] +} + +} +\keyword{internal}