Skip to content

FileCache R6 class finalize() method should be private #149

Closed

Description

@shikokuchuo

Describe the problem

The following deprecation message appears when testing:

R6Class FileCache: finalize() method is public, but it should be private as of R6 2.4.0. This code will continue to work, but in a future version of R6, finalize() will be required to be private.

Session Info

Details

> sessionInfo()
R version 4.4.3 (2025-02-28)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.2 LTS

Matrix products: default
BLAS/LAPACK: /opt/intel/oneapi/mkl/2025.0/lib/libmkl_rt.so.2; LAPACK version 3.11.0

locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

time zone: Europe/London
tzcode source: system (glibc)

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

other attached packages:
[1] htmltools_0.5.8.1 sass_0.4.9.9000 testthat_3.2.3

loaded via a namespace (and not attached):
[1] miniUI_0.1.1.1 crayon_1.5.3 compiler_4.4.3 brio_1.1.5 promises_1.3.2
[6] Rcpp_1.0.14 callr_3.7.6 later_1.4.1.9000 fastmap_1.2.0 mime_0.13
[11] R6_2.6.1 curl_6.2.2 diffobj_0.3.5 htmlwidgets_1.6.4 tibble_3.2.1
[16] desc_1.4.3 profvis_0.4.0 rprojroot_2.0.4 shiny_1.10.0.9000 pillar_1.10.1
[21] rlang_1.1.5 cachem_1.1.0 httpuv_1.6.15 fs_1.6.5 pkgload_1.4.0.9000
[26] memoise_2.0.1 cli_3.6.4 withr_3.0.2 magrittr_2.0.3 ps_1.9.0
[31] digest_0.6.37 processx_3.8.6 rstudioapi_0.17.1 xtable_1.8-4 rappdirs_0.3.3
[36] remotes_2.5.0.9000 devtools_2.4.5 lifecycle_1.0.4 waldo_0.6.1 vctrs_0.6.5
[41] evaluate_1.0.3 glue_1.8.0 urlchecker_1.0.1 sessioninfo_1.2.3 pkgbuild_1.4.7
[46] purrr_1.0.4.9000 pkgconfig_2.0.3 tools_4.4.3 usethis_3.1.0 ellipsis_0.3.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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