How to install the N-CPM package?
Run Rstudio as an administrator
You must have the "devtool" package. If not, you can install it with the code below: install.packages("devtools")
Run the code below: devtools::install_github("jpark-tamu/ncpm_v1.0")
If Rstudio generates an error below,
Error: package or namespace load failed for 'ncpm' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace 'package name' 0.x.xx is already loaded, but >= 0.x.xx is required
Then, you need to remove the package and install a latest version with the code below:
remove.packages("package name") install.packages("package name")
Once you successfully run devtools::install_github("jpark-tamu/ncpm_v1.0"), then, the N-CPM package will be installed.
Finally, you can run N-CPM with: library(ncpm) NCPMGUI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.