From 9f40e7ab1bd972585bdb6134bd66e90b01eea491 Mon Sep 17 00:00:00 2001 From: jwildfire Date: Tue, 12 Feb 2019 17:23:38 -0800 Subject: [PATCH 1/2] add package docs (and deal with .s). fix #175 --- R/safetyGraphics.R | 15 +++++++++++++++ R/zzz.R | 2 -- man/SafetyGraphics.Rd | 15 +++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 R/safetyGraphics.R delete mode 100644 R/zzz.R create mode 100644 man/SafetyGraphics.Rd diff --git a/R/safetyGraphics.R b/R/safetyGraphics.R new file mode 100644 index 00000000..4b6f3b85 --- /dev/null +++ b/R/safetyGraphics.R @@ -0,0 +1,15 @@ +#' \code{safetyGraphics} package +#' +#' Create Interactive Graphics Related to Clinical Trial Safety +#' +#' Learn moreon +#' \href{https://CRAN.R-project.org/package=safetyGraphics}{CRAN} +#' or \href{https://github.com/ASA-DIA-InteractiveSafetyGraphics/safetyGraphics}{GitHub} +#' +#' @docType package +#' @name SafetyGraphics +#' @importFrom utils globalVariables +NULL + +## quiets concerns of R CMD check re: the .'s that appear in pipelines +utils::globalVariables(c(".")) \ No newline at end of file diff --git a/R/zzz.R b/R/zzz.R deleted file mode 100644 index d98cc940..00000000 --- a/R/zzz.R +++ /dev/null @@ -1,2 +0,0 @@ -#' @importFrom utils globalVariables -globalVariables(c(".")) diff --git a/man/SafetyGraphics.Rd b/man/SafetyGraphics.Rd new file mode 100644 index 00000000..61375597 --- /dev/null +++ b/man/SafetyGraphics.Rd @@ -0,0 +1,15 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/safetyGraphics.R +\docType{package} +\name{SafetyGraphics} +\alias{SafetyGraphics} +\alias{SafetyGraphics-package} +\title{\code{safetyGraphics} package} +\description{ +Create Interactive Graphics Related to Clinical Trial Safety +} +\details{ +Learn moreon +\href{https://CRAN.R-project.org/package=safetyGraphics}{CRAN} +or \href{https://github.com/ASA-DIA-InteractiveSafetyGraphics/safetyGraphics}{GitHub} +} From 5fff29166afa4593f89b47c91ecb44f7cb8d4da8 Mon Sep 17 00:00:00 2001 From: Preston Burns Date: Wed, 13 Feb 2019 11:14:41 -0500 Subject: [PATCH 2/2] fixed space and removed from manual --- R/safetyGraphics.R | 3 ++- man/SafetyGraphics.Rd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/R/safetyGraphics.R b/R/safetyGraphics.R index 4b6f3b85..11d7ea0d 100644 --- a/R/safetyGraphics.R +++ b/R/safetyGraphics.R @@ -2,13 +2,14 @@ #' #' Create Interactive Graphics Related to Clinical Trial Safety #' -#' Learn moreon +#' Learn more on #' \href{https://CRAN.R-project.org/package=safetyGraphics}{CRAN} #' or \href{https://github.com/ASA-DIA-InteractiveSafetyGraphics/safetyGraphics}{GitHub} #' #' @docType package #' @name SafetyGraphics #' @importFrom utils globalVariables +#' @keywords internal NULL ## quiets concerns of R CMD check re: the .'s that appear in pipelines diff --git a/man/SafetyGraphics.Rd b/man/SafetyGraphics.Rd index 61375597..402e0b04 100644 --- a/man/SafetyGraphics.Rd +++ b/man/SafetyGraphics.Rd @@ -9,7 +9,8 @@ Create Interactive Graphics Related to Clinical Trial Safety } \details{ -Learn moreon +Learn more on \href{https://CRAN.R-project.org/package=safetyGraphics}{CRAN} or \href{https://github.com/ASA-DIA-InteractiveSafetyGraphics/safetyGraphics}{GitHub} } +\keyword{internal}