Skip to content

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

@EllaKaye

Description

@EllaKaye

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions