Skip to content

install_github() not working for version 2.4.5 #2616

@szuniga07

Description

@szuniga07

Dear devtools team,

I recently updated to the July 2025 version and I haven't been able to successfully use install_github(). I am using my work computer. I built a package with devtools, wanted to install it at work while the package is under review with Cran.

Here is the code I ran and the error:

devtools::install_github("szuniga07/ham")
Downloading GitHub repo szuniga07/ham@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/szuniga07/ham/tarball/HEAD'

install_local() works fine so I can install it that way.

Here is my session info

sessionInfo()
R version 4.4.1 (2024-06-14 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8

time zone: America/Los_Angeles
tzcode source: internal

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

other attached packages:
[1] devtools_2.4.5 usethis_3.1.0 ham_1.0.0

loaded via a namespace (and not attached):
[1] vctrs_0.6.5 knitr_1.48 cli_3.6.3 xfun_0.47
[5] rlang_1.1.4 highr_0.11 purrr_1.0.2 pkgload_1.4.0
[9] promises_1.3.0 shiny_1.9.1 xtable_1.8-4 glue_1.7.0
[13] htmltools_0.5.8.1 httpuv_1.6.15 pkgbuild_1.4.4 evaluate_1.0.0
[17] ellipsis_0.3.2 fastmap_1.2.0 lifecycle_1.0.4 memoise_2.0.1
[21] compiler_4.4.1 miniUI_0.1.1.1 fs_1.6.4 sessioninfo_1.2.3
[25] htmlwidgets_1.6.4 Rcpp_1.0.13 rstudioapi_0.16.0 urlchecker_1.0.1
[29] later_1.3.2 digest_0.6.37 R6_2.5.1 curl_6.4.0
[33] magrittr_2.0.3 tools_4.4.1 mime_0.12 profvis_0.4.0
[37] cachem_1.1.0 remotes_2.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions