
# 1 ChingChuan-Chen milr multiple-instance logistic regressi. Gh_search_packages() returns the list of R package repositories on GitHub that the titles contains a given keyword.įor example, if you want to search packages that are relevant to lasso, run the following. Githubinstall() suggests the GitHub repository from package names, and asks whether you want to execute the installation.įurthermore, you may succeed in installing packages from a faint memory because our package automatically correct its spelling by fuzzy string search. The githubinstall package provides a way to install packages on GitHub by only the package names just like install.packages(). For instance, ggfortify is a great package on GitHub, but who created it? What is the username? The answer is sinhrks. However, they often decide username incautiously. Developers consider the package names so that users can understand the functionalities intuitively. The trouble is that the usernames of GitHub are often hard to remember. It means that when you want to install a package on GitHub you must remember its repository name correctly. install.packages() takes package names, while install_github() needs repository names. There is a difference between install.packages() and install_github() in the required argument. Install_github("twitter/AnomalyDetection") You can install such packages easily using devtools. provides AnomalyDetection package on GitHub but it will not be available on CRAN. Moreover, there are some developers that they have no intention to submit to CRAN. Therefore, developers can distribute R packages that is developing on GitHub. The devtools package provides install_github() that enables installing packages from GitHub.


For example, you can install dplyr package as follows: install.packages("dplyr")

You can install the packages that are available on CRAN using install.package(). When developers publish R packages, the CRAN is commonly used. The devtools package not only facilitates the process to develop R packages but also provides an another way to distribute R packages. A part of the cause of it is the devtools package that makes it easy to develop R packages. A growing number of R packages are created by various people in the world.
