R.utils icon indicating copy to clipboard operation
R.utils copied to clipboard

Error after loading packages in a specific order: 'verbose' is not an exported object from 'namespace:R.utils

Open remlapmot opened this issue 1 year ago • 0 comments

I wondered if you saw this recent issue on the conflicted repo https://github.com/r-lib/conflicted/issues/105. The issue was closed but the error still occurs (using latest versions from CRAN).

(Admittedly this is very specific) If conflicted is loaded then R.utils then httr; the loading of httr fails; with the error message suggesting an issue in R.utils.

A reprex is below.

I just wondered if you have any insight into this? And do you think a fix is needed in R.utils or in one of the other two packages?

sessionInfo()
#> R version 4.4.2 (2024-10-31)
#> Platform: aarch64-apple-darwin20
#> Running under: macOS Sonoma 14.7.1
#> 
#> Matrix products: default
#> BLAS:   /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.dylib 
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0
#> 
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#> 
#> time zone: Europe/London
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] digest_0.6.37     fastmap_1.2.0     xfun_0.49         glue_1.8.0       
#>  [5] knitr_1.48        htmltools_0.5.8.1 rmarkdown_2.29    lifecycle_1.0.4  
#>  [9] cli_3.6.3         reprex_2.1.1      withr_3.0.2       compiler_4.4.2   
#> [13] rstudioapi_0.17.1 tools_4.4.2       evaluate_1.0.1    yaml_2.3.10      
#> [17] rlang_1.1.4       fs_1.6.5
packageVersion('conflicted')
#> [1] '1.2.0'
packageVersion('R.utils')
#> [1] '2.12.3'
packageVersion('httr')
#> [1] '1.4.7'
library(conflicted)
library(R.utils)
#> Loading required package: R.oo
#> Loading required package: R.methodsS3
#> R.methodsS3 v1.8.2 (2022-06-13 22:00:14 UTC) successfully loaded. See ?R.methodsS3 for help.
#> R.oo v1.27.0 (2024-11-01 18:00:02 UTC) successfully loaded. See ?R.oo for help.
#> 
#> Attaching package: 'R.oo'
#> The following object is masked from 'package:R.methodsS3':
#> 
#>     throw
#> The following objects are masked from 'package:methods':
#> 
#>     getClasses, getMethods
#> The following objects are masked from 'package:base':
#> 
#>     attach, detach, load, save
#> R.utils v2.12.3 (2023-11-18 01:00:02 UTC) successfully loaded. See ?R.utils for help.
library(httr)
#> Error: 'verbose' is not an exported object from 'namespace:R.utils'

Created on 2024-11-04 with reprex v2.1.1

remlapmot avatar Nov 04 '24 15:11 remlapmot