R/get_swirl_name.R

Defines functions get_swirl_name

Documented in get_swirl_name

#' Get the swirl name for the current user
#'
#' @keywords swirl
#' @export

get_swirl_name<-function(){
    rstudioname<-system("whoami", intern=TRUE)
    swirlname<-gsub(".", "", rstudioname, fixed=TRUE)
    swirlname
}
lehmansociology/lehmansociology documentation built on May 21, 2022, 9:06 p.m.