Skip to content

error in loadding 'httpuv' library #403

@onion5376

Description

@onion5376

Recently, I tried to load 'httpuv' package to use devtools (using install.packages("httpuv")), but it failed. Once installed, I try to load it using library(httpuv) and the following error pops up:

  > library('httpuv')
  Error: package or namespace load failed for ‘httpuv’ in inDL(x, as.logical(local), as.logical(now), ...):
   unable to load shared object 'd:/Program Files/R/R-4.3.3/library/httpuv/libs/x64/httpuv.dll':
    LoadLibrary failure:  The specified module could not be found.

In fact, I browsed that location the httpuv.dll is there. I did not know how to solve it.

My session info:

R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936   
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C                                                   
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936    

time zone: Asia/Shanghai
tzcode source: internal

attached base packages:
character(0)

other attached packages:
[1] httpuv_1.6.15

loaded via a namespace (and not attached):
 [1] cli_3.6.3         cpp11_0.5.0       rlang_1.1.4       promises_1.3.2    htmltools_0.5.8.1
 [6] methods_4.3.3     datasets_4.3.3    ellipsis_0.3.2    fastmap_1.2.0     lifecycle_1.0.4  
[11] utils_4.3.3       memoise_2.0.1     compiler_4.3.3    fs_1.6.5          Rcpp_1.0.13-1    
[16] rstudioapi_0.17.1 base_4.3.3        stats_4.3.3       graphics_4.3.3    later_1.4.1      
[21] digest_0.6.37     R6_2.5.1          curl_6.0.1        magrittr_2.0.3    tools_4.3.3      
[26] grDevices_4.3.3   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