dstanley4 / apaTables

Development version of apaTables R package. Current stable version is on the CRAN.
http://dstanley4.github.io/apaTables/
Other
55 stars 13 forks source link

apa.reg.table error related to atomic vectors #19

Open evabamps opened 5 years ago

evabamps commented 5 years ago

Hi! I recently installed the apaTables package and am very happy with it. I've used the apa.cor.table function and had no problem at all.

Now I tried to use the apa.reg.table function and it gives me the following error: Error: $ operator is invalid for atomic vectors

The code I used to call the function is this: bracing_negem3 <- lm(tas3_negem ~ estimation_pers + tas1_negem, data = data_set) apa.reg.table(bracing_negem3, "Table_BracingNegEm3.docx", 2)

When I use is.atomic(bracing_negem3) it tells me that it isn't atomic. So I checked using is.recursive(bracing_negem3) and it is indeed recursive.

I'm using the CRAN version. All my packages are updated and I also tried the developer version, but I keep getting the same error.