datasnakes / renv

Creating virtual environments for R.
MIT License
17 stars 0 forks source link

Create adequate logging. #45

Closed grabear closed 5 years ago

sdhutchins commented 5 years ago

Currently, I've added a -v option to the renv cli for verbose output of the cli.

$ renv --clear True -v
DEBUG | renv.utils | line 63: /home/ums/r2295/beRi_envs has been deleted.
INFO | renv.core | line 159: System R(version):  /usr(usr)
DEBUG | renv.utils | line 71: /home/ums/r2295/beRi_envs/lib/R has been created.
DEBUG | renv.utils | line 71: /home/ums/r2295/beRi_envs/lib/R/library has been created.
INFO | renv.core | line 212: Environment R:  /home/ums/r2295/beRi_envs/lib/R
DEBUG | renv.core | line 285: Config Dictionary:  {'CRANEXTRA_MIRROR': 'https://mirrors.nics.utk.edu/cran/',
 'CRAN_MIRROR': 'https://cran.rstudio.com/',
 'REPRODUCIBLE_WORKFLOW_PKG_LIST': 'list(tidyverse="Tidyverse")',
 'R_ABS_HOME': '/usr/lib/R',
 'R_ENV_HOME': '/home/ums/r2295/beRi_envs/lib/R',
 'R_INCLUDE_DIR': '/home/ums/r2295/beRi_envs/lib/R/include',
 'R_LIBS_USER': '/home/ums/r2295/beRi_envs/lib/R/library',
 'R_VERSION': 'usr',
 'STANDARD_PKG_LIST': 'list(BiocInstaller="Bioconductor", devtools="Devtools")'}
INFO | renv.core | line 127: Environment created at /home/ums/r2295/beRi_envs