# This is not empty
Sys.getenv("R_LIBS_USER")[1] "/Users/ivelasq/Library/R/x86_64/4.3/library"May 10, 2022
From the documentation, nzchar() is a fast way to find out if elements of a character vector are non-empty strings. It returns TRUE for non-empty strings and FALSE for empty strings.
TIL: nzchar(). Super useful when working with environment variables in R.
— Isabella Velásquez (@ivelasq3) May 11, 2022
also, #asciicast is amazing! install the GIF converter with remotes::install_github('r-lib/asciicast', ref = remotes::github_pull(24)) #rstats h/t @GaborCsardi pic.twitter.com/pCZQLCNaDl