Skip to content

Commit

Permalink
Add ability to get session
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanzomorrodi committed Nov 13, 2024
1 parent d508d0e commit e140d6f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export(r_to_sas)
export(sas_connect)
export(sas_disconnect)
export(sas_download)
export(sas_get_session)
export(sas_list)
export(sas_read_csv)
export(sas_remove)
Expand Down
11 changes: 11 additions & 0 deletions R/session.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#' Get current SAS session
#'
#' Gets current SAS session so that you can use functions not yet implemented.
#' Can also be useful for testing.
#'
#' @return Current SAS session.
#'
#' @export
sas_get_session <- function() {
.pkgenv$session
}
15 changes: 15 additions & 0 deletions man/sas_get_session.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e140d6f

Please sign in to comment.