easystats/correlation

Error building the package

Closed this issue · 3 comments

Introduced in 7e5dbf1

Error: Error: package or namespace load failed forcorrelation:
 object 'standardize_names' not found whilst loading namespace 'correlation'

should work again now, but the function itself is not working correctly:

correlation::correlation(mtcars[1:4], method = "kendall", standardize_names = TRUE) |> colnames()
#>  [1] "Parameter1" "Parameter2" "tau"        "CI"         "CI_low"    
#>  [6] "CI_high"    "z"          "p"          "Method"     "n_Obs"

Created on 2022-03-31 by the reprex package (v2.0.1)

n1 <- correlation::correlation(mtcars[1:4], method = "kendall", standardize_names = TRUE) |> colnames()
n2 <- correlation::correlation(mtcars[1:4], method = "kendall", standardize_names = FALSE) |> colnames()

identical(n1, n2)
#> [1] TRUE

Created on 2022-03-31 by the reprex package (v2.0.1)

Yeah, that's the same issue as this one: #221