From 9500039714c4a4c81b4eab8aa92a4dc0f9312260 Mon Sep 17 00:00:00 2001 From: Kenta Yoshida <6.kurabupasu@gmail.com> Date: Thu, 18 Jun 2020 07:56:11 -0700 Subject: [PATCH] Update Rd to clear CRAN check --- DESCRIPTION | 2 +- R/utils.R | 12 +----------- man/pipe.Rd | 12 ------------ man/reexports.Rd | 16 ++++++++++++++++ man/stan_emax.Rd | 2 +- 5 files changed, 19 insertions(+), 25 deletions(-) delete mode 100644 man/pipe.Rd create mode 100644 man/reexports.Rd diff --git a/DESCRIPTION b/DESCRIPTION index 6e25651..3e64298 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -29,7 +29,7 @@ LinkingTo: SystemRequirements: GNU make NeedsCompilation: yes Roxygen: list(markdown = TRUE) -RoxygenNote: 7.1.0 +RoxygenNote: 7.1.0.9000 Suggests: testthat, knitr, diff --git a/R/utils.R b/R/utils.R index b5b919e..6e699ef 100644 --- a/R/utils.R +++ b/R/utils.R @@ -1,14 +1,4 @@ -#' Pipe operator -#' -#' See \code{\link[magrittr]{\%>\%}} for more details. -#' -#' @name %>% -#' @rdname pipe -#' @keywords internal #' @importFrom magrittr %>% #' @export -#' @usage lhs \%>\% rhs -NULL - - +magrittr::`%>%` diff --git a/man/pipe.Rd b/man/pipe.Rd deleted file mode 100644 index 51295fd..0000000 --- a/man/pipe.Rd +++ /dev/null @@ -1,12 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/utils.R -\name{\%>\%} -\alias{\%>\%} -\title{Pipe operator} -\usage{ -lhs \%>\% rhs -} -\description{ -See \code{\link[magrittr]{\%>\%}} for more details. -} -\keyword{internal} diff --git a/man/reexports.Rd b/man/reexports.Rd new file mode 100644 index 0000000..5eefe05 --- /dev/null +++ b/man/reexports.Rd @@ -0,0 +1,16 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/utils.R +\docType{import} +\name{reexports} +\alias{reexports} +\alias{\%>\%} +\title{Objects exported from other packages} +\keyword{internal} +\description{ +These objects are imported from other packages. Follow the links +below to see their documentation. + +\describe{ + \item{magrittr}{\code{\link[magrittr:pipe]{\%>\%}}} +}} + diff --git a/man/stan_emax.Rd b/man/stan_emax.Rd index 69eda2c..17802cb 100644 --- a/man/stan_emax.Rd +++ b/man/stan_emax.Rd @@ -43,7 +43,7 @@ Currently only supports normal distribution for priors.} \item{param.cov}{a named list specifying categorical covariates on parameters (ec50, emax, e0). Convert a column into factor if specific order of covariates are needed.} -\item{...}{Arguments passed to \link[rstan:sampling]{rstan::sampling} (e.g. iter, chains).} +\item{...}{Arguments passed to \link[rstan:stanmodel-method-sampling]{rstan::sampling} (e.g. iter, chains).} } \value{ An object of class \code{stanemax}