R CMD CHECK 1E 2W
metamaden opened this issue · 2 comments
metamaden commented
Get Status: 1 ERROR, 2 WARNINGs
Currently using the following shellscript:
#!/usr/bin/env bash
ghpath='/Users/maden/Documents/GitHub/'
libname='recountmethylation'
libpath=$ghpath$libname
# read version from DESCRIPTION
sed '2q;d' $libpath'/DESCRIPTION'
vers=$(sed '2q;d' $libpath'/DESCRIPTION')
vf=${vers:9}
tarpath=$libpath'_0.1.1.tar.gz'
# Do R commands
R CMD BUILD $libpath
R CMD CHECK $tarpath
metamaden commented
1 warning left after latest commit.
Updated shellscript:
#!/usr/bin/env bash
ghpath='/Users/maden/Documents/GitHub/'
libname='recountmethylation'
libpath=$ghpath$libname
# read version from DESCRIPTION
sed '2q;d' $libpath'/DESCRIPTION'
vers=$(sed '2q;d' $libpath'/DESCRIPTION')
vf=${vers:9}
tarpath=$libpath'_'$vf'.tar.gz'
# Do R commands
cd Documents/GitHub
R CMD INSTALL $libpath
R CMD BUILD $libpath
R CMD CHECK $tarpath
metamaden commented
Returns with Status: OK
. Closing this issue