Skip to content

Commit

Permalink
Add notes to nvimcom.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvesaq committed Feb 9, 2024
1 parent 9083594 commit beb2c0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/nvimcom/R/nvimcom.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ NvimcomEnv$pkgdescr <- list()
if (.Platform$OS.type == "windows") {
info <- get_running_info()
} else {
# FIXME: On Unix, we calling utils::packageDescription("nvimcom")
# twice, here and in send_nvimcom_info().
info <- get_running_info()
}

Expand Down Expand Up @@ -97,6 +99,8 @@ get_running_info <- function() {
return(c(pd$Version, info))
}

# On Unix, this function is called when R is ready to execute top-level
# commands. This feature is not implementable on Windows.
send_nvimcom_info <- function(Rpid) {
info <- get_running_info()
winID <- Sys.getenv("WINDOWID")
Expand Down

0 comments on commit beb2c0b

Please sign in to comment.