Skip to content

element of class package_version causes error #28

@vjcitn

Description

@vjcitn
> library(alabaster.base)
1/9 packages newly attached/loaded, see sessionInfo() for details.
> x = list(a=1)
> saveObject(x, "/tmp/fgh")  # all good
> y = list(a=packageVersion("alabaster.base"))
> saveObject(y, "/tmp/ghi")
Error in value[[3L]](cond) : failed to stage list element 'a'
  - failed to stage list element 1
  - failed to stage list element 1
  - failed to stage list element 1
...
R version 4.4.2 (2024-10-31)
Platform: aarch64-apple-darwin20
Running under: macOS Sequoia 15.2

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: America/New_York
tzcode source: internal

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

other attached packages:
[1] alabaster.base_1.6.1 rmarkdown_2.29      

loaded via a namespace (and not attached):
 [1] digest_0.6.37           fastmap_1.2.0           xfun_0.50              
 [4] knitr_1.49              rhdf5filters_1.18.0     BiocGenerics_0.52.0    
 [7] htmltools_0.5.8.1       stats4_4.4.2            Rhdf5lib_1.28.0        
[10] cli_3.6.3               rhdf5_2.50.2            compiler_4.4.2         
[13] tools_4.4.2             evaluate_1.0.3          alabaster.schemas_1.6.0
[16] startup_0.23.0          Rcpp_1.0.14             jsonlite_1.8.9         
[19] S4Vectors_0.44.0        rlang_1.1.5  

Noted with alabaster.sfe @lambdamoses

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