Skip to content

Resolve jobRunScript in RStudio API lookups - #333

Open
M-Colley wants to merge 1 commit into
rstudio:mainfrom
M-Colley:fix/job-script-lookup-313
Open

M-Colley wants to merge 1 commit into
rstudio:mainfrom
M-Colley:fix/job-script-lookup-313

Conversation

@M-Colley

Copy link
Copy Markdown

Fixes #313.

RStudio registers the native script job function as runScriptJob. Map the public name jobRunScript to the same function when checking availability or looking up the implementation. If the IDE lacks the native function, hasFun("jobRunScript") still returns false.

The regression failed on current main and passed with the rebased commit using a mocked IDE registry. The source test suite and R CMD check --no-manual passed on Windows with R 4.6.1. The document integration test skipped outside the IDE. OpenAI Codex assisted with implementation and independent review.

This branch has not been deployed

No deployments
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.

hasFun cannot find jobRunScript besause is called differently in tools:rstudio

1 participant