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

[misc] attemt to reduce the number of variables in cc #1253

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

JanMarvin
Copy link
Owner

This PR should create cc with c_cm, c_ph, and c_vm only if they are required by wb_load(). We do not modify these fields, apart from c_cm in cm formulas.

For whatever kind of reason the shared formulas test is failing localy. Returns "1" when we expect "". At the moment I have no idea why. We modify this cell in our R code and it works if I run it in an interactive session. Still this might indicate an issue somewhere else.

unfortunately I have no idea why it is failing and this worries me a bit. In !interactive() sessions the assigned "" becomes "1" for some reason. Unless explicitly resized to a matching length. Maybe moving the cc creating Rcpp part from Rcpp::wrap() into it's own custom function, had a more hidden impact.
Merge branch 'trim_cc_variables' of github.com:JanMarvin/openxlsx2 into trim_cc_variables

# Conflicts:
#	R/write.R
@JanMarvin JanMarvin merged commit bca718e into main Jan 29, 2025
9 checks passed
@JanMarvin JanMarvin deleted the trim_cc_variables branch January 29, 2025 10:01
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.

1 participant