Typically, to install a package from a CRAN repository, the following R command is used:
install.packages("package_name")This command defaults to installing the latest version of the specified package.