correct check for spark_can_install
correct check for spark_can_install

kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,rstudio/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr