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

Running chattr_app(as_job = TRUE) in Positron generates as error #111

Open
EllaKaye opened this issue Jun 29, 2024 · 1 comment
Open

Running chattr_app(as_job = TRUE) in Positron generates as error #111

EllaKaye opened this issue Jun 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@EllaKaye
Copy link

Hi. I sometimes find it useful to set as_job = TRUE when calling chattr_app(). That works great in RStudio but generates an error in Positron. Seems this is because the function uses the rstudioapi package:

Error:
! Function runScriptJob not found in RStudio
Hide Traceback
    ▆
 1. └─chattr::chattr_app(as_job = TRUE)
 2.   └─rstudioapi::jobRunScript(path = run_file)
 3.     └─rstudioapi::callFun(...)

I know that it's very early days for Positron, but are there plans to update chattr so that all the functionality is available in Positron as well, or do the differences between RStudio and Positron make that tricky?

@edgararuiz edgararuiz added the enhancement New feature or request label Jul 29, 2024
@edgararuiz
Copy link
Collaborator

Hi yes, this functionality is not yet available in Positron, so I'd have to return a better error or abort message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants