Skip to content

Commit

Permalink
Merge pull request #67 from jsta/master
Browse files Browse the repository at this point in the history
add package level doc, #66
  • Loading branch information
edgararuiz authored Mar 6, 2019
2 parents fb62d08 + d42f827 commit 700e3c4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/correlate.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ correlate.tbl_sql <- function(x, y = NULL,
diagonal = NA,
quiet = FALSE) {

if(method != "pearson") stop("Only person method is currently supported")
if(method != "pearson") stop("Only pearson method is currently supported")
if(use != "complete.obs") stop("Only 'complete.obs' method are supported")
if(!is.null(y)) stop("y is not supported for tables with a SQL back-end")
if(!is.na(diagonal)) stop("Only NA's are supported for same field correlations")
Expand Down
2 changes: 2 additions & 0 deletions R/corrr-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#' @keywords internal
"_PACKAGE"
36 changes: 36 additions & 0 deletions man/corrr-package.Rd

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

0 comments on commit 700e3c4

Please sign in to comment.