Skip to content

Commit

Permalink
fixing CMD check warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed Jun 28, 2020
1 parent becdb27 commit 41bc095
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
7 changes: 3 additions & 4 deletions R/tools.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ power_to_z <- function(power, alpha = .05, a = stats::qnorm(alpha/2,lower.tail
#' @title Reports whether x is a zcurve object
#'
#' @param x an object to test
#' @param ... additional arguments
#' @export is.zcurve
is.zcurve <- function(x){
inherits(x, "zcurve")
Expand All @@ -136,7 +135,7 @@ is.zcurve <- function(x){
#' @export print.summary.zcurve
#' @rawNamespace S3method(print, estimates.zcurve)
#' @seealso [zcurve()]
print.estimates.zcurve <- function(x){
print.estimates.zcurve <- function(x, ...){

est_names <- names(x[1:(length(x)-1)])
est_values <- .rXdn(unlist(x[1:(length(x)-1)]), x$round.coef)
Expand All @@ -150,8 +149,8 @@ print.estimates.zcurve <- function(x){
#' @description The following functions extract estimates
#' from the z-curve object.
#'
#' @param{object} the z-curve object
#' @param{round.coef} rounding for the printed values
#' @param object the z-curve object
#' @param round.coef rounding for the printed values
#'
#' @export ERR
#' @export EDR
Expand Down
2 changes: 0 additions & 2 deletions man/is.zcurve.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/print.estimates.zcurve.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/zcurve.estimates.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41bc095

Please sign in to comment.