Speedglm dependency issue?
2
0
Entering edit mode
@0397899e
Last seen 7 months ago
United States

Hello! Long-time nullranges user and a big fan. :) I recently tried installing the package on a new machine and ran into an error regarding a dependency, speedglm.

When installing, it reports an error message about speedglm: Warning: dependency ‘speedglm’ is not available However, it then continues and appears to install successfully otherwise.

Trying to load the library with library(nullranges) returns the following error:

Error: package or namespace load failed for ‘nullranges’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘speedglm’

I have not been able to install speedglm separately using install.packages("speedglm"), apparently because it has been removed from CRAN as of 2023-04-01, as shown on its CRAN page.

Is there a workaround available to still use nullranges? Not sure if this is a real bug or I'm just missing something obvious/approaching it wrong.

Thanks for your time and help!

-Katie

R version 4.2.1 (2022-06-23)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Ventura 13.3.1
nullranges • 1.4k views
ADD COMMENT
1
Entering edit mode
ATpoint ★ 4.0k
@atpoint-13662
Last seen 1 day ago
Germany

You can manually install any CRAN package (also dropped ones) from GitHub archive, for example devtools::install_github("cran/speedglm").

ADD COMMENT
1
Entering edit mode

Or for simplicity

library(BiocManager)
install("cran/speedglm")

So you don't have to remember which installer works with which repo.

ADD REPLY
0
Entering edit mode

Thank you both for this solution! This has done the trick and I'll keep it in mind for future troubleshooting.

ADD REPLY
1
Entering edit mode
@mikelove
Last seen 32 minutes ago
United States

Sorry for the issue with speedglm dependency, I reached out to the developer last week and they have already corrected the issue, they anticipated being back on CRAN ASAP.

ADD COMMENT
1
Entering edit mode

I just emailed them again today to get an update.

ADD REPLY
0
Entering edit mode

Thank you for looking into this Mike, and no apologies necessary! In the meantime installing through the GitHub archive as ATpoint and James mentioned has worked perfectly and nullranges is up and running on my machine!

ADD REPLY

Login before adding your answer.

Traffic: 526 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6