Skip to content

Fix malformed assignment in parFlags2 and add input validation - #56

Merged
vertesy merged 2 commits into
devfrom
codex/fix-malformed-code-in-stringendo.r
Aug 31, 2026
Merged

vertesy merged 2 commits into
devfrom
codex/fix-malformed-code-in-stringendo.r

Conversation

@vertesy

@vertesy vertesy commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Fix a parse error in parFlags2() caused by a missing assignment that prevented the package file from parsing.

Description

  • Restore the missing namez <- as.character(as.list(match.call())[-(1:2)]) assignment in parFlags2() and add a compact stopifnot() validation for prefix, pasteflg, coll.char, and coll.char.intra.

Testing

  • Ran git diff --check, parsed R/Stringendo.R with Rscript -e 'parse(file="R/Stringendo.R")', and sourced plus exercised parFlags2() example; all checks passed (styler was not run because it is not installed).

Codex Task

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e9335201c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread R/Stringendo.R Outdated
Comment thread R/Stringendo.R Outdated
Refactor name assignment for 'val' using match.call.
This should address Codex's comment.
@vertesy
vertesy merged commit 3481056 into dev Aug 31, 2026
@vertesy
vertesy deleted the codex/fix-malformed-code-in-stringendo.r branch August 31, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant