issue with loading methylKit package

368 views
Skip to first unread message

Aktan Alpsoy

unread,
Feb 26, 2025, 5:36:37 AMFeb 26
to methylkit_discussion
Hi,

I have been using methylKit since last week. I have had no issue with package loading and executing methyKit functions so far. Yesterday, when I tried to load the package via library("methylKit") for a different session, it prompted an error in the console as : 

> library("methylKit")
Error: package or namespace load failed for ‘methylKit’:
 object ‘key<-’ is not exported by 'namespace:data.table'

I tried reinstalling methylKit, data.table, R, Rstudio but none of them helped. I tried installing methylKit into a machine that never had it installed; when I called the package it prompted the same error. Please find the minimal input and output for the error and my sessionInfo in the attached text file.

Kind regards,
Aktan


sessionInfo.txt

Aktan Alpsoy

unread,
Feb 26, 2025, 11:07:56 AMFeb 26
to methylkit_discussion
Hi again,

It seems that update to data.table version 1.17 is the problem. When I keep it 1.16.4 it loads OK. 

Kind regards,

Alexander Blume

unread,
Feb 26, 2025, 11:29:16 AMFeb 26
to methylkit_...@googlegroups.com

Hi Aktan,

Thanks for reporting this! I have  seen a similar issue in the Bioconductor build system, but haven’t found time to fix this.
Currently your proposed fix is the best way to solve the issue.

Best,
Alex


--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/methylkit_discussion/9438594d-7935-4369-b7e4-407b226e689fn%40googlegroups.com.

Josephine

unread,
Feb 27, 2025, 4:52:45 PMFeb 27
to methylkit_discussion
How do you make sure it loads using 1.16.4. I am running into issues

Aktan Alpsoy

unread,
Feb 27, 2025, 5:47:38 PMFeb 27
to methylkit_...@googlegroups.com
With 1.17 loaded, I cannot load methylKit (library("methylKit") prompts errror). No error with data.table 1.16.4 (or even earlier versions, I guess).
Some other packages may also be using data.table as an auxiliary package and when prompted, update to data.table needs to be avoided. I'd check packageVersion("data.table") from time to time.

You received this message because you are subscribed to a topic in the Google Groups "methylkit_discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/methylkit_discussion/7cX28UgQ0js/unsubscribe.
To unsubscribe from this group and all its topics, send an email to methylkit_discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/methylkit_discussion/00d31098-795d-4fd0-9132-c50678e13480n%40googlegroups.com.

Alexander Blume

unread,
Feb 28, 2025, 3:33:41 AMFeb 28
to methylkit_...@googlegroups.com

I pushed a fix to the github repository (commit 5c30347630bc064d7aefc918923f723671f35253).
The bioc repository will follow soon.

Best,
Alex


Reply all
Reply to author
Forward
Message has been deleted
0 new messages