Package installation

76 views
Skip to first unread message

Alice Atikessé

unread,
Feb 16, 2025, 3:50:22 PM2/16/25
to dartR

Hello,

I'm diving back into my old scripts that manipulate a Genlight dataset. Apologies in advance for this very basic question—I haven’t run them in almost two years.

I installed the following new R packages:

install.packages("dartR.base") 
install.packages("dartR.data") 
install.packages("dartRverse") 
dartRverse_install("all")

Then, I loaded the libraries:

library(dartRverse) 
library(dartR.data)

However, I’m unable to run very basic dartR functions that I used before. R keeps giving me the same error message:

could not find function "gl.filter.callrate"

I have read Bernd's announcement here:
https://groups.google.com/g/dartr/c/XOKSIUMA9k0/m/4Q9XIAo5AAAJ

Am I missing something?

Thank you so much in advance,

Alice


Jose Luis Mijangos

unread,
Feb 16, 2025, 5:29:37 PM2/16/25
to dartR
Hi Alice,

Could you please follow the solutions described in the link below:

https://groups.google.com/g/dartr/c/Bc4aT7GmHjs/m/ZYBQ_ekaEgAJ

Cheers,
Luis 

Bernd.Gruber

unread,
Feb 16, 2025, 5:59:12 PM2/16/25
to da...@googlegroups.com

Hi Alice,

 

Weird you cannot find the function. It seems dartR.base has not installed correctly. Can you check in Rstudio under the package tab that you can check dartR.base manually.

 

When you ran the code you posted do you see any error message (e.g. dartR.base failed to install because of a missing dependency?

 

Cheers, Bernd

--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dartr/b6330254-94c2-4387-a691-63da3fc9a9d3n%40googlegroups.com.

Alice Atikessé

unread,
Feb 22, 2025, 12:13:11 PM2/22/25
to dartR
Hi, thank you so much for your quick answer. 
I followed  both of your instructions and it is fixed. I also updated R since I was running an old version (4.1.2), and it seems to work now. 

Reply all
Reply to author
Forward
0 new messages