Skip to content

ojs_define should not round numeric#13963

Merged
cderv merged 6 commits intomainfrom
ojs-r-number
Jan 27, 2026
Merged

ojs_define should not round numeric#13963
cderv merged 6 commits intomainfrom
ojs-r-number

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented Jan 27, 2026

This fixes #13958

Like this the case for jupyter and julia engine, use max precision for ojs_define number.

cderv added 4 commits January 27, 2026 11:57
- Add a new verifyOjsDefine() helper with callback
- Add a smoke test to check that ojs_define is working properly with regards to numbers
- Add this test for all engines that support ojs_define
like it is the case for jupyter and julia engine
@posit-snyk-bot
Copy link
Copy Markdown
Collaborator

posit-snyk-bot commented Jan 27, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cderv added 2 commits January 27, 2026 14:41
…test environment.

Julia engine will look up for this Project.toml in all parent directories starting from the document directory, so we can share one environment for all tests.
@cderv cderv merged commit 7a505ec into main Jan 27, 2026
51 checks passed
@cderv cderv deleted the ojs-r-number branch January 27, 2026 14:35
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.

ojs_define rounds numbers to four decimal places

2 participants