Skip to content

hasFun("modifyRange") returns FALSE #317

@howardbaik

Description

@howardbaik

rstudioapi::hasFun("modifyRange") returns FALSE for some reason and I'm not sure why. It looks like modifyRange() is an exported function from the rstudioapi package. I looked at the help file for hasFun() and it implies that modifyRange() does not exist in the "rstudio package namespace".

This question stems from encountering an error in an addin from the golem package. I tried to insert ns() using the addin and got this message: Your version of RStudio does not support modifyRange. This message is ultimately caused by hasFun <- rstudioapi::hasFun(fun) returning FALSE.

I'm using rstudioapi version 0.17.1 and RStudio version 2024.12.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions