urlshorteneR icon indicating copy to clipboard operation
urlshorteneR copied to clipboard

stopped working: 'curl_modify_url' is not an exported object from 'namespace:curl'

Open r0bis opened this issue 4 months ago • 6 comments

Thanks for the very useful package. I started using it again after a year or so. I have a problem - program stops and throws an error:

'curl_modify_url' is not an exported object from 'namespace:curl'

I tested with urlshorteneR::vgd_LinksShorten("https://google.com") and other services too.

r0bis avatar Sep 04 '25 14:09 r0bis

Hi, thanks for using it as well as reporting the issue. ETA for the fix is this upcoming weekend

dmpe avatar Sep 04 '25 19:09 dmpe

Hi, I checked again @r0bis and it works on my end. What is your dev environment (mac/linux/R version) + version of my package (i hope you are using the latest one)

dmpe avatar Sep 05 '25 22:09 dmpe

Hi, thanks for looking into it, I apologze for not posting the obvious:

> sessionInfo()
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 26100)

Matrix products: default


locale:
[1] LC_COLLATE=English_United Kingdom.utf8  LC_CTYPE=English_United Kingdom.utf8    LC_MONETARY=English_United Kingdom.utf8
[4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.utf8    

time zone: Europe/London
tzcode source: internal

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

other attached packages:
[1] urlshorteneR_2.0.0

loaded via a namespace (and not attached):
 [1] gtable_0.3.6          jsonlite_2.0.0        dplyr_1.1.4           compiler_4.3.1        tidyselect_1.2.1     
 [6] stringr_1.5.1         assertthat_0.2.1      scales_1.4.0          yaml_2.3.10           fastmap_1.2.0        
[11] ggplot2_3.5.2         R6_2.6.1              generics_0.1.4        curl_6.2.2            httr2_1.2.1          
[16] knitr_1.50            tibble_3.2.1          lubridate_1.9.4       pillar_1.11.0         RColorBrewer_1.1-3   
[21] rlang_1.1.5           stringi_1.8.7         xfun_0.52             timechange_0.3.0      cli_3.6.4            
[26] magrittr_2.0.3        psychlithandout_0.1.0 digest_0.6.37         grid_4.3.1            rstudioapi_0.17.1    
[31] rappdirs_0.3.3        cowplot_1.2.0         lifecycle_1.0.4       vctrs_0.6.5           evaluate_1.0.5       
[36] glue_1.8.0            farver_2.1.2          rmarkdown_2.29        tools_4.3.1           pkgconfig_2.0.3      
[41] htmltools_0.5.8.1 

r0bis avatar Sep 08 '25 15:09 r0bis

can you update curl to the latest release version ?

dmpe avatar Sep 08 '25 18:09 dmpe

I will try to fix by declaring curl as necessary dep - though will need to test it first. which will take some time depending if your curl upgrade will fix it.

dmpe avatar Sep 08 '25 18:09 dmpe

Thanks, when trying to install from github I got a very clear error about my R version: ERROR: this R is version 4.3.1, package 'urlshorteneR' requires R >= 4.4

and the main reason for R being a bit out of date is that it can only be installed by IT, I guess I will need to speak with them to upgrade my R and Rstudio installation. UrlshorteneR is working fine on my home linux installation, which is up to date.

r0bis avatar Sep 09 '25 11:09 r0bis