Rgtsvm icon indicating copy to clipboard operation
Rgtsvm copied to clipboard

Installation error: unknown macro '\gamma'

Open NathanSkene opened this issue 4 years ago • 1 comments

When installing the package I get the following warnings right at the start:

> devtools::install_github("NathanSkene/Rgtsvm/Rgtsvm", configure.args="--with-cuda-home=/usr/local/cuda-10.1 --with-boost-home=/home/nskene/R/x86_64-pc-linux-gnu-library/3.6/BH/" )
Downloading GitHub repo NathanSkene/Rgtsvm@master
✔  checking for file ‘/tmp/RtmpeHgXUe/remotesa7b97b696c58/NathanSkene-Rgtsvm-d433558/Rgtsvm/DESCRIPTION’ ...
─  preparing ‘Rgtsvm’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
   Warning: /tmp/RtmpunFQLk/Rbuildb6267ceb9fbd/Rgtsvm/man/svm.Rd:118: unknown macro '\gamma'
   Warning: /tmp/RtmpunFQLk/Rbuildb6267ceb9fbd/Rgtsvm/man/svm.Rd:118: unknown macro '\zeta'
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘Rgtsvm_0.55.tar.gz’

It seems to be doing well, then as it gets to the end it fails with:

installing to /home/nskene/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-Rgtsvm/00new/Rgtsvm/libs
** R
** byte-compile and prepare package for lazy loading
Creating a generic function for ‘rowSums’ from package ‘base’ in package ‘Rgtsvm’
Creating a generic function for ‘colSums’ from package ‘base’ in package ‘Rgtsvm’
** help
Error : (converted from warning) /tmp/RtmpYbI3bx/R.INSTALLb6374deda939/Rgtsvm/man/svm.Rd:118: unknown macro '\gamma'
ERROR: installing Rd objects failed for package ‘Rgtsvm’
* removing ‘/home/nskene/R/x86_64-pc-linux-gnu-library/3.6/Rgtsvm’
Error: Failed to install 'Rgtsvm' from GitHub:

It's related to the use of "\gamma" within the manuals. Trying to figure out a solution.

NathanSkene avatar Aug 23 '19 21:08 NathanSkene

Thank you for your feedback. Rd documents have been changed.

wzhy2000 avatar Aug 24 '19 02:08 wzhy2000