psychbruce / bruceR

📦 BRoadly Useful Convenient and Efficient R functions that BRing Users Concise and Elegant R data analyses.
https://psychbruce.github.io/bruceR/
GNU General Public License v3.0
167 stars 36 forks source link

Error in `$<-.data.frame`(`*tmp*`, "p.value", value = character(0)) #6

Closed YuanboBQ closed 3 years ago

YuanboBQ commented 3 years ago

After updated my R packages, when I use MANOVA function, I get the following error:

MSE = Mean Square Error (an estimate of the population variance σ²)

ANOVA Effect Size:
Error in `$<-.data.frame`(`*tmp*`, "p.value", value = character(0)) : 
  replacement has 0 rows, data has 3

But this error was not occurred before, how to solve this error.

R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] cowplot_1.1.1     performance_0.6.1 data.table_1.13.6 rio_0.5.16       
 [5] bruceR_0.5.4      ggstatsplot_0.6.6 psych_2.0.12      lsr_0.5          
 [9] forcats_0.5.0     stringr_1.4.0     dplyr_1.0.2       purrr_0.3.4      
[13] readr_1.4.0       tidyr_1.1.2       tibble_3.0.4      ggplot2_3.3.3    
[17] tidyverse_1.3.0  
psychbruce commented 3 years ago

Hi, thanks for reporting this bug. Now it has been fixed in bruceR v0.5.5.