diff --git a/R/sample_diagnostics.R b/R/sample_diagnostics.R index 198929b..1eb981d 100644 --- a/R/sample_diagnostics.R +++ b/R/sample_diagnostics.R @@ -167,7 +167,8 @@ plot.ru <- function(x, y, ..., n = ifelse(x$d == 1, 1001, 101), for (i in 1:(ncol(x)-1)) { for (j in (i+1):ncol(x)) { graphics::plot(x[, i], x[, j], xlab = "", ylab = "", ...) - title(xlab = parse(text = xlabs[i]), ylab = parse(text = ylabs[j])) + graphics::title(xlab = parse(text = xlabs[i]), + ylab = parse(text = ylabs[j])) } } } diff --git a/cran-comments.md b/cran-comments.md index 5a41f0f..0f7187d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,16 +1,8 @@ -## Resubmission -This is a resubmission. In this version I have - -* Added devtools to `Suggests:' in DESCRIPTION to avoid the following NOTE: - - * checking for unstated dependencies in vignettes ... NOTE - '::' or ':::' import not declared from: ‘devtools’ - -* Added the DOI number to the reference in the DESCRIPTION file. - ## R CMD check results -There were no ERRORs, WARNINGs or NOTEs. + +0 errors | 0 warnings | 0 notes ## Downstream dependencies -This is a new submission. +I have also run R CMD on downstream dependencies of rust. +All packages passed: No ERRORs or WARNINGs found. diff --git a/man/summary.ru.Rd b/man/summary.ru.Rd index ad674db..721a723 100644 --- a/man/summary.ru.Rd +++ b/man/summary.ru.Rd @@ -4,10 +4,10 @@ \alias{summary.ru} \title{Summarizing ratio-of-uniforms samples} \usage{ -\method{summary}{ru}(x, ...) +\method{summary}{ru}(object, ...) } \arguments{ -\item{x}{an object of class "ru", a result of a call to \code{ru}.} +\item{object}{an object of class "ru", a result of a call to \code{ru}.} \item{...}{Additional arguments passed on to \code{print} or \code{summary}.} } @@ -15,11 +15,11 @@ Prints \itemize{ \item {a summary of the simulated values, via - \code{summary(x$sim_vals)}} + \code{summary(object$sim_vals)}} \item {an estimate of the probability of acceptance, i.e. - \code{x$pa}} + \code{object$pa}} \item {information about the ratio-of-uniforms bounding box, i.e. - \code{x$box}} + \code{object$box}} } } \description{