Skip to content

Commit

Permalink
fix(fuzzyhelp): broken addin
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed Mar 28, 2024
1 parent a237c82 commit 9859cfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions R/fuzzyhelp.R
Original file line number Diff line number Diff line change
Expand Up @@ -441,3 +441,9 @@ fuzzyhelp <- function(

return(.env$fuzzyhelp)
}

fuzzyhelp_addin <- function() {
script <- tempfile()
writeLines("fuzzyhelp(background = FALSE)", script)
rstudioapi::jobRunScript(script, name = "fuzzyhelp")
}
2 changes: 1 addition & 1 deletion inst/rstudio/addins.dcf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Name: Fuzzy Search on R Help
Description: Search and view help files with fuzzy queries.
Binding: fuzzyhelp
Binding: fuzzyhelp_addin
Interactive: true

0 comments on commit 9859cfc

Please sign in to comment.