R/get_swirl_name.R

#' 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
}
elinw/lehmansociology documentation built on May 16, 2019, 3 a.m.