Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages when used with upcoming version of R6 #143

Open
wch opened this issue Feb 11, 2025 · 1 comment
Open

Messages when used with upcoming version of R6 #143

wch opened this issue Feb 11, 2025 · 1 comment

Comments

@wch
Copy link

wch commented Feb 11, 2025

I'm in the process of releasing a new version of R6, and it results in warnings with ows4R.
They look like this:

  Superclass ISOAbstractObject has cloneable=FALSE, but subclass ISOCodelist has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for ISOCodelist.
  Superclass ISOAbstractObject has cloneable=FALSE, but subclass ISOCTCodelistValue has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for ISOCTCodelistValue.
...

See https://win-builder.r-project.org/incoming_pretest/R6_2.6.0_20250211_001904/reverseDependencies/summary.txt

To fix it, you can either set cloneable=TRUE for ISOAbstractObject, or cloneable=FALSE for ISOCTCodelistValue.

You can install the development version of R6 with:

devtools::install_github('r-lib/R6', build_vignettes = FALSE)

This is unfortunately holding up the release of R6 on CRAN, so if you could release an updated version soon, I would appreciate it.

@wch wch changed the title Warnings when used with upcoming version of R6 Messages when used with upcoming version of R6 Feb 11, 2025
@wch
Copy link
Author

wch commented Feb 12, 2025

Update: CRAN has decided let R6 through, so this issue is no longer holding up the R6 release. But that does mean that users who have the current version of ows4R and the new version of R6 will see these messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant