R/final_user.R

Defines functions final_user

Documented in final_user

#' This is a helper function for the final exam
#'
#'This function will tell if there are login issues
#' @export
final_user <- function() {
  truth <- Sys.getenv('RSTUDIO_USER_IDENTITY_DISPLAY') == Sys.getenv('R_FINAL_USER')
  test <- paste('User',Sys.getenv('RSTUDIO_USER_IDENTITY_DISPLAY'),'Login Match:',as.character(truth))
  return(test)
}
ECO230/eco230r documentation built on May 12, 2020, 2:10 a.m.