diff --git a/README.md b/README.md index 8535433..a9ae622 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,15 @@ cd CVE # Go into the repository R CMD build CVE # Build package tarbal R CMD INSTALL CVE_0.2.tar.gz # Install package ``` +### Alternative Installing Source from within R +Using the `devtools` the package can also be directly installed from within `R` +```R +library(devtools) # Load the dectools +setwd('/CVE') # Go into package root +(path <- build(vignettes = FALSE)) # Create source package +install.packages(path, repos = NULL, type = "source") # Install source package +library(CVE) # Test +``` ### Windows / macOS Installing from source (for any package which contains compiled code, in our case `C`) on Windows and MacOS requires additional tools.