Skip to content

Test and document that new_data.length_out_lgl is capped at 2 - #114

Open
joethorley wants to merge 1 commit into
mainfrom
length-out-lgl-42
Open

joethorley wants to merge 1 commit into
mainfrom
length-out-lgl-42

Conversation

@joethorley

Copy link
Copy Markdown
Member

Closes #42

Answers the question in the issue: a value of new_data.length_out_lgl (or .length_out) greater than 2, including Inf, has no effect because a logical sequence is at most c(FALSE, TRUE). With .obs_only = TRUE the observed values are returned, again capped at 2.

  • Adds tests pinning this behaviour for the argument, the option and via xnew_data().
  • Notes the cap in the README options list.

No code changes were needed.

🤖 Generated with Claude Code

Closes #42

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.

What happens if new_data.length_out_lgl greater than 2?

1 participant