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

Consistent default for strict argument #16

Open
jennybc opened this issue Apr 24, 2016 · 0 comments
Open

Consistent default for strict argument #16

jennybc opened this issue Apr 24, 2016 · 0 comments

Comments

@jennybc
Copy link
Member

jennybc commented Apr 24, 2016

In the reboot I use the strict argument in several functions that parse or generate string representations of cell references. It only affects A1 formatted references.

When strict = FALSE, A1 is interpreted as the cell in the first row and first column. I.e. it is interpreted as an absolute reference, though strictly speaking you should really have said $A$1. Likewise, strict = FALSE means that the A1 formatted string generated for the upper left cell would be A1 instead of $A$1.

Right now I have inconsistent defaults for strict. For user-facing stuff (re: cell_limits objects), it's FALSE, whereas functions more likely to be used in programming or another package (re: ra_ref and cell_addr objects) have a default of TRUE. Is this just confusing?

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