ropensci / RSelenium

An R client for Selenium Remote WebDriver
https://docs.ropensci.org/RSelenium
343 stars 81 forks source link

Issues recovering my Firefox User Profile with getFirefoxProfile() #251

Closed fpmassam closed 2 years ago

fpmassam commented 3 years ago

I try to execute the command getFirefoxProfile() I receive the following error:

Error in loadNamespace(x) : there is no package called ‘Rcompression’

Rcompression is an old and no-longer maintained package and it is impossible to install, even from github.

My session info:

`R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

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

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

other attached packages:
[1] RSelenium_1.7.7

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        compiler_4.1.0    remotes_2.4.0     prettyunits_1.1.1
 [5] bitops_1.0-7      tools_4.1.0       testthat_3.0.4    pkgbuild_1.2.0   
 [9] pkgload_1.2.1     lifecycle_1.0.0   jsonlite_1.7.2    memoise_2.0.0    
[13] rlang_0.4.11      rstudioapi_0.13   cli_3.0.1         curl_4.3.2       
[17] yaml_2.2.1        binman_0.1.2      fastmap_1.1.0     withr_2.4.2      
[21] httr_1.4.2        xml2_1.3.2        desc_1.3.0        fs_1.5.0         
[25] askpass_1.1       caTools_1.18.2    rappdirs_0.3.3    devtools_2.4.2   
[29] rprojroot_2.0.2   glue_1.4.2        R6_2.5.0          processx_3.5.2   
[33] XML_3.99-0.6      sessioninfo_1.1.1 purrr_0.3.4       callr_3.7.0      
[37] semver_0.2.0      magrittr_2.0.1    usethis_2.0.1     ps_1.6.0         
[41] ellipsis_0.3.2    assertthat_0.2.1  openssl_1.4.4     cachem_1.0.5     
[45] wdman_0.2.5       crayon_1.4.1    `

Thanks for your help!

msgoussi commented 2 years ago

i read about it, try to pass useBase = TRUE