Installing and using styledTables in R
As we have done before, we will need to install the necessary packages before we can use them. In this section, we are going to install the styledTables package. Because styledTables is not on CRAN, we cannot install it using the typical method of using the install.packages()function, so we will need to install this package from GitHub. This will require us to also install the devtools package, which has the functionality to do this very sort of thing.
Here is the full code you’ll need to install the package:
install.packages("devtools")
# Install development version from GitHub
devtools::install_github(
'R-package/styledTables',
build_vignettes = TRUE
) After running the preceding code, we can call the library into the current session in the typical fashion by issuing library(styledtables) in the console. Now that we have loaded the library in, we can go ahead and create our first script, which will style a...