You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2024/10/09 15:51:00 UTC
[I] r: Serialization by jsonlite may not behave identically everywhere [arrow-nanoarrow]
paleolimbot opened a new issue, #656:
URL: https://github.com/apache/arrow-nanoarrow/issues/656
As discovered by @kou when verifying 0.6.0. It seems like the digit request to jsonlite doesn't behave identically everywhere although I wasn't able to reproduce locally.
```
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 1494 ]
== Skipped tests ===============================================================
* On CRAN (7)
== Failed tests ================================================================
-- Failure ('test-extension-vctrs.R:115'): serialize_ptype() can roundtrip R objects --
unserialize_ptype(jsonlite::serializeJSON(obj, digits = 16)) (`actual`) not identical to `obj` (`expected`).
`actual`: 0.000000000000000 1.000000000000000 3.141592653589790 NA
`expected`: 0.000000000000000 1.000000000000000 3.141592653589793 NA
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 1494 ]
Error: Test failures
Execution halted
* DONE
Status: 1 ERROR, 1 WARNING
```
Attempt to reproduce:
```
# docker run --rm -it debian:sid
# instructions from https://github.com/apache/arrow-nanoarrow/blob/main/dev/release/README.md#debianubuntu
git clone https://github.com/apache/arrow-nanoarrow.git arrow-nanoarrow
cd arrow-nanoarrow/dev/release
./verify-release-candidate.sh 0.6.0 0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] r: Serialization by jsonlite may not behave identically everywhere [arrow-nanoarrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #656:
URL: https://github.com/apache/arrow-nanoarrow/issues/656#issuecomment-2404209758
This caused by jsonlite version.
This is happen when we use jsonlite 1.8.4 but this isn't happen with 1.8.8.
So this is not a problem. Sorry!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] r: Serialization by jsonlite may not behave identically everywhere [arrow-nanoarrow]
Posted by "eitsupi (via GitHub)" <gi...@apache.org>.
eitsupi commented on issue #656:
URL: https://github.com/apache/arrow-nanoarrow/issues/656#issuecomment-2405033641
Considering #580, I feel that it is worthwhile to add a version specification as like `jsonline (>= 1.8.9)`, and incidentally, this problem will be solved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] r: Serialization by jsonlite may not behave identically everywhere [arrow-nanoarrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #656: r: Serialization by jsonlite may not behave identically everywhere
URL: https://github.com/apache/arrow-nanoarrow/issues/656
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] r: Serialization by jsonlite may not behave identically everywhere [arrow-nanoarrow]
Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #656:
URL: https://github.com/apache/arrow-nanoarrow/issues/656#issuecomment-2405380351
I also think that generally we don't upgrade dependency packages (or check that the version constraints line up with our expectations) before verification. All the "easy" ways to do that require another dependency like pak or desc and those have both caused problems before. Probably we can use an R script in `tools/` to do this to wire up the requisite base R calls to have more success with R verification.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org