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

Return REALSXP when the type can exceed R's integer range #242

Merged

Conversation

yutannihilation
Copy link
Contributor

Fix #240

@@ -225,12 +225,13 @@ fn test_to_robj() {
assert_eq!(Robj::from(true), Robj::from([Bool::from(true)]));
//assert_eq!(Robj::from(1_u8), Robj::from(1));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, why is this test commented out?

@yutannihilation yutannihilation merged commit ad4ea5a into extendr:master Jul 24, 2021
@yutannihilation yutannihilation deleted the fix/issue-240-integer-overflow branch July 24, 2021 08:17
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

Successfully merging this pull request may close these issues.

Return type i64, u64, and u32 should be converted to REALSXP
2 participants