[SPARK-8537] [SPARKR] Add a validation rule about the curly braces in SparkR to `.lintr`
[SPARK-8537] [SPARKR] Add a validation rule about the curly braces in SparkR to `.lintr`

[[SPARK-8537] Add a validation rule about the curly braces in SparkR to `.lintr` - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-8537)

Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com>

Closes #6940 from yu-iskw/SPARK-8537 and squashes the following commits:

7eec1a0 [Yu ISHIKAWA] [SPARK-8537][SparkR] Add a validation rule about the curly braces in SparkR to `.lintr`

michalsenkyr/spark,chuckchen/spark,lvdongr/spark,wangmiao1981/spark,publicRoman/spark,esi-mineset/spark,icexelloss/spark,minixalpha/spark,publicRoman/spark,someorz/spark,publicRoman/spark,joseph-torres/spark,WeichenXu123/spark,janewangfb/spark,icexelloss/spark,markhamstra/spark,byakuinss/spark,spark-test/spark,zero323/spark,xflin/spark,shaneknapp/spark,WindCanDie/spark,apache-spark-on-k8s/spark,saturday-shi/spark,tengpeng/spark,metamx/spark,loneknightpy/spark,brad-kaiser/spark,spark-test/spark,chuckchen/spark,aokolnychyi/spark,nlalevee/spark,metamx/spark,akopich/spark,panfengfeng/spark,HyukjinKwon/spark,dhruve/spark,kissmetrics/spark,stanzhai/spark,szhem/spark,jiangxb1987/spark,jlopezmalla/spark,dhruve/spark,cin/spark,BryanCutler/spark,setjet/spark,metamx/spark,nlalevee/spark,minixalpha/spark,rikima/spark,loneknightpy/spark,ConeyLiu/spark,xuanyuanking/spark,vinodkc/spark,apache/spark,panfengfeng/spark,byakuinss/spark,tejasapatil/spark,wangmiao1981/spark,eyalfa/spark,hhbyyh/spark,cloud-fan/spark,apache-spark-on-k8s/spark,bravo-zhang/spark,aosagie/spark,rekhajoshm/spark,dongjoon-hyun/spark,publicRoman/spark,patrick-nicholson/spark,markhamstra/spark,taroplus/spark,akopich/spark,caneGuy/spark,byakuinss/spark,mzl9039/spark,kevinyu98/spark,adrian-ionescu/apache-spark,sachintyagi22/spark,SnappyDataInc/spark,zero323/spark,michalsenkyr/spark,liyichao/spark,szhem/spark,publicRoman/spark,WindCanDie/spark,wangmiao1981/spark,dongjoon-hyun/spark,tengpeng/spark,kimoonkim/spark,BryanCutler/spark,debugger87/spark,actuaryzhang/spark,mzl9039/spark,liyichao/spark,icexelloss/spark,lxsmnv/spark,saturday-shi/spark,szhem/spark,big-pegasus/spark,MLnick/spark,tengpeng/spark,patrick-nicholson/spark,pronix/spark,sahilTakiar/spark,shuangshuangwang/spark,aray/spark,holdenk/spark,zzcclp/spark,adrian-ionescu/apache-spark,sachintyagi22/spark,stanzhai/spark,JoshRosen/spark,srowen/spark,nilsgrabbert/spark,xuanyuanking/spark,liutang123/spark,gioenn/xSpark,narahari92/spark,rezasafi/spark,ioana-delaney/spark,WeichenXu123/spark,guoxiaolongzte/spark,janewangfb/spark,gioenn/xSpark,highfei2011/spark,huang1900/spark,kissmetrics/spark,bravo-zhang/spark,bOOm-X/spark,zhouyejoe/spark,LantaoJin/spark,rikima/spark,hhbyyh/spark,darionyaphet/spark,zuotingbing/spark,goldmedal/spark,HyukjinKwon/spark,big-pegasus/spark,gengliangwang/spark,BryanCutler/spark,JoshRosen/spark,rezasafi/spark,kevinyu98/spark,eyalfa/spark,map222/spark,tejasapatil/spark,kiszk/spark,jlopezmalla/spark,liutang123/spark,xuanyuanking/spark,tejasapatil/spark,sachintyagi22/spark,sureshthalamati/spark,gengliangwang/spark,techaddict/spark,cin/spark,debugger87/spark,dongjoon-hyun/spark,apache/spark,aokolnychyi/spark,shuangshuangwang/spark,cin/spark,shaneknapp/spark,kiszk/spark,ahnqirage/spark,byakuinss/spark,minixalpha/spark,maropu/spark,cloud-fan/spark,wangmiao1981/spark,saturday-shi/spark,jkbradley/spark,MLnick/spark,tejasapatil/spark,janewangfb/spark,janewangfb/spark,JoshRosen/spark,aray/spark,SnappyDataInc/spark,wzhfy/spark,lxsmnv/spark,rikima/spark,ericvandenbergfb/spark,witgo/spark,mdespriee/spark,metamx/spark,brad-kaiser/spark,shuangshuangwang/spark,facaiy/spark,gioenn/xSpark,janewangfb/spark,apache/spark,Panos-Bletsos/spark-cost-model-optimizer,rekhajoshm/spark,dongjoon-hyun/spark,holdenk/spark,pronix/spark,rednaxelafx/apache-spark,narahari92/spark,HyukjinKwon/spark,esi-mineset/spark,liyichao/spark,panfengfeng/spark,wzhfy/spark,darionyaphet/spark,ueshin/apache-spark,jkbradley/spark,metamx/spark,ajaysaini725/spark,szhem/spark,ajaysaini725/spark,guoxiaolongzte/spark,metamx/spark,mzl9039/spark,chuckchen/spark,jianran/spark,rezasafi/spark,ibm-research-ireland/sparkoscope,apache-spark-on-k8s/spark,alunarbeach/spark,hhbyyh/spark,SHASHANKB/spark,zhouyejoe/spark,akopich/spark,mahak/spark,WindCanDie/spark,panfengfeng/spark,skonto/spark,someorz/spark,xflin/spark,taroplus/spark,kimoonkim/spark,ddna1021/spark,maropu/spark,1haodian/spark,icexelloss/spark,sahilTakiar/spark,nchammas/spark,sahilTakiar/spark,andrewor14/spark,icexelloss/spark,saltstar/spark,haowu80s/spark,map222/spark,ptkool/spark,zero323/spark,ajaysaini725/spark,hhbyyh/spark,sureshthalamati/spark,milliman/spark,wangmiao1981/spark,vinodkc/spark,1haodian/spark,ericvandenbergfb/spark,yanboliang/spark,facaiy/spark,hvanhovell/spark,dongjoon-hyun/spark,dbtsai/spark,zuotingbing/spark,skonto/spark,andrewor14/spark,shubhamchopra/spark,debugger87/spark,panfengfeng/spark,michalsenkyr/spark,joseph-torres/spark,kissmetrics/spark,JerryLead/spark,xflin/spark,saturday-shi/spark,xflin/spark,jianran/spark,highfei2011/spark,jiangxb1987/spark,zero323/spark,zuotingbing/spark,bOOm-X/spark,techaddict/spark,vinodkc/spark,WindCanDie/spark,ptkool/spark,esi-mineset/spark,liyichao/spark,nchammas/spark,sachintyagi22/spark,mdespriee/spark,LantaoJin/spark,michalsenkyr/spark,gioenn/xSpark,andrewor14/spark,xflin/spark,LantaoJin/spark,szhem/spark,setjet/spark,lvdongr/spark,andrewor14/spark,darionyaphet/spark,lxsmnv/spark,Aegeaner/spark,jianran/spark,jrshust/spark,kiszk/spark,zuotingbing/spark,tejasapatil/spark,dongjoon-hyun/spark,SHASHANKB/spark,aokolnychyi/spark,pgandhi999/spark,witgo/spark,pronix/spark,saltstar/spark,ueshin/apache-spark,matthewfranglen/spark,Panos-Bletsos/spark-cost-model-optimizer,saturday-shi/spark,JerryLead/spark,vinodkc/spark,nchammas/spark,akopich/spark,mike0sv/spark,dbtsai/spark,someorz/spark,pgandhi999/spark,minixalpha/spark,nlalevee/spark,gengliangwang/spark,saltstar/spark,ericvandenbergfb/spark,ueshin/apache-spark,spark-test/spark,saturday-shi/spark,mahak/spark,esi-mineset/spark,srowen/spark,zhouyejoe/spark,rekhajoshm/spark,UndeadBaneGitHub/spark,poffuomo/spark,guoxiaolongzte/spark,xuanyuanking/spark,loneknightpy/spark,nilsgrabbert/spark,sahilTakiar/spark,cin/spark,cloud-fan/spark,actuaryzhang/spark,ahnqirage/spark,bOOm-X/spark,rikima/spark,vinodkc/spark,ddna1021/spark,ron8hu/spark,someorz/spark,saltstar/spark,haowu80s/spark,ibm-research-ireland/sparkoscope,dbtsai/spark,MLnick/spark,spark-test/spark,MLnick/spark,spark-test/spark,highfei2011/spark,zero323/spark,sachintyagi22/spark,zzcclp/spark,gengliangwang/spark,taroplus/spark,bravo-zhang/spark,poffuomo/spark,loneknightpy/spark,chuckchen/spark,hvanhovell/spark,big-pegasus/spark,ahnqirage/spark,tejasapatil/spark,loneknightpy/spark,holdenk/spark,apache-spark-on-k8s/spark,nilsgrabbert/spark,JoshRosen/spark,apache-spark-on-k8s/spark,pronix/spark,ericvandenbergfb/spark,bdrillard/spark,bravo-zhang/spark,HyukjinKwon/spark,tengpeng/spark,ron8hu/spark,kiszk/spark,Aegeaner/spark,jrshust/spark,alunarbeach/spark,shubhamchopra/spark,caneGuy/spark,wzhfy/spark,map222/spark,lvdongr/spark,rezasafi/spark,maropu/spark,saltstar/spark,esi-mineset/spark,janewangfb/spark,maropu/spark,narahari92/spark,wzhfy/spark,jlopezmalla/spark,andrewor14/spark,nchammas/spark,ibm-research-ireland/sparkoscope,bOOm-X/spark,BryanCutler/spark,poffuomo/spark,witgo/spark,liutang123/spark,spark-test/spark,aokolnychyi/spark,jkbradley/spark,techaddict/spark,rekhajoshm/spark,nlalevee/spark,ptkool/spark,sureshthalamati/spark,zhouyejoe/spark,haowu80s/spark,huang1900/spark,shubhamchopra/spark,mzl9039/spark,aokolnychyi/spark,jiangxb1987/spark,srowen/spark,hhbyyh/spark,patrick-nicholson/spark,aosagie/spark,jiangxb1987/spark,vinodkc/spark,chuckchen/spark,rezasafi/spark,bdrillard/spark,narahari92/spark,poffuomo/spark,ueshin/apache-spark,nilsgrabbert/spark,holdenk/spark,srowen/spark,ioana-delaney/spark,shuangshuangwang/spark,nlalevee/spark,mzl9039/spark,ddna1021/spark,sachintyagi22/spark,aosagie/spark,nchammas/spark,mzl9039/spark,ahnqirage/spark,MLnick/spark,big-pegasus/spark,rekhajoshm/spark,ron8hu/spark,patrick-nicholson/spark,Panos-Bletsos/spark-cost-model-optimizer,guoxiaolongzte/spark,JerryLead/spark,srowen/spark,actuaryzhang/spark,SHASHANKB/spark,liyichao/spark,aosagie/spark,ConeyLiu/spark,cloud-fan/spark,icexelloss/spark,lxsmnv/spark,sahilTakiar/spark,ahnqirage/spark,goldmedal/spark,zhouyejoe/spark,1haodian/spark,JoshRosen/spark,mike0sv/spark,SnappyDataInc/spark,alunarbeach/spark,panfengfeng/spark,Aegeaner/spark,SnappyDataInc/spark,goldmedal/spark,zzcclp/spark,darionyaphet/spark,SHASHANKB/spark,alunarbeach/spark,poffuomo/spark,jiangxb1987/spark,techaddict/spark,zzcclp/spark,markhamstra/spark,kimoonkim/spark,mdespriee/spark,setjet/spark,wzhfy/spark,goldmedal/spark,zzcclp/spark,publicRoman/spark,adrian-ionescu/apache-spark,ibm-research-ireland/sparkoscope,ueshin/apache-spark,cin/spark,ron8hu/spark,skonto/spark,mahak/spark,joseph-torres/spark,poffuomo/spark,ddna1021/spark,caneGuy/spark,LantaoJin/spark,jiangxb1987/spark,rikima/spark,rekhajoshm/spark,rezasafi/spark,metamx/spark,xuanyuanking/spark,milliman/spark,jrshust/spark,loneknightpy/spark,ptkool/spark,caneGuy/spark,BryanCutler/spark,mahak/spark,eyalfa/spark,sureshthalamati/spark,ioana-delaney/spark,guoxiaolongzte/spark,kimoonkim/spark,ibm-research-ireland/sparkoscope,jrshust/spark,Panos-Bletsos/spark-cost-model-optimizer,janewangfb/spark,skonto/spark,darionyaphet/spark,shuangshuangwang/spark,joseph-torres/spark,ueshin/apache-spark,jlopezmalla/spark,shaneknapp/spark,highfei2011/spark,WeichenXu123/spark,bOOm-X/spark,ericvandenbergfb/spark,pronix/spark,gengliangwang/spark,ddna1021/spark,guoxiaolongzte/spark,yanboliang/spark,sachintyagi22/spark,rednaxelafx/apache-spark,eyalfa/spark,shaneknapp/spark,MLnick/spark,bdrillard/spark,sahilTakiar/spark,mzl9039/spark,caneGuy/spark,rekhajoshm/spark,jianran/spark,actuaryzhang/spark,spark-test/spark,adrian-ionescu/apache-spark,rikima/spark,mike0sv/spark,liutang123/spark,ahnqirage/spark,pgandhi999/spark,hvanhovell/spark,brad-kaiser/spark,jianran/spark,patrick-nicholson/spark,vinodkc/spark,milliman/spark,shaneknapp/spark,map222/spark,wzhfy/spark,milliman/spark,xuanyuanking/spark,akopich/spark,poffuomo/spark,lvdongr/spark,facaiy/spark,markhamstra/spark,andrewor14/spark,setjet/spark,kevinyu98/spark,minixalpha/spark,milliman/spark,liutang123/spark,ConeyLiu/spark,byakuinss/spark,JoshRosen/spark,highfei2011/spark,WindCanDie/spark,bdrillard/spark,bOOm-X/spark,adrian-ionescu/apache-spark,darionyaphet/spark,kissmetrics/spark,wangmiao1981/spark,kiszk/spark,gengliangwang/spark,stanzhai/spark,maropu/spark,techaddict/spark,nilsgrabbert/spark,alunarbeach/spark,wangyum/spark,SnappyDataInc/spark,WeichenXu123/spark,sureshthalamati/spark,cin/spark,stanzhai/spark,goldmedal/spark,huang1900/spark,huang1900/spark,mdespriee/spark,facaiy/spark,yanboliang/spark,loneknightpy/spark,wangyum/spark,jkbradley/spark,narahari92/spark,mike0sv/spark,bravo-zhang/spark,joseph-torres/spark,milliman/spark,setjet/spark,aokolnychyi/spark,mike0sv/spark,panfengfeng/spark,darionyaphet/spark,zuotingbing/spark,mdespriee/spark,yanboliang/spark,haowu80s/spark,ajaysaini725/spark,apache-spark-on-k8s/spark,liyichao/spark,kiszk/spark,markhamstra/spark,WindCanDie/spark,liyichao/spark,JoshRosen/spark,SHASHANKB/spark,JerryLead/spark,Aegeaner/spark,debugger87/spark,ibm-research-ireland/sparkoscope,bravo-zhang/spark,shubhamchopra/spark,apache/spark,hvanhovell/spark,kimoonkim/spark,stanzhai/spark,publicRoman/spark,mahak/spark,holdenk/spark,ajaysaini725/spark,dhruve/spark,nilsgrabbert/spark,nlalevee/spark,facaiy/spark,liutang123/spark,nlalevee/spark,witgo/spark,SnappyDataInc/spark,UndeadBaneGitHub/spark,alunarbeach/spark,jkbradley/spark,jlopezmalla/spark,JerryLead/spark,bdrillard/spark,yanboliang/spark,wzhfy/spark,brad-kaiser/spark,wangyum/spark,aray/spark,ConeyLiu/spark,techaddict/spark,hhbyyh/spark,ioana-delaney/spark,dbtsai/spark,mdespriee/spark,apache/spark,someorz/spark,kevinyu98/spark,someorz/spark,joseph-torres/spark,srowen/spark,caneGuy/spark,ioana-delaney/spark,techaddict/spark,ddna1021/spark,aray/spark,WeichenXu123/spark,HyukjinKwon/spark,actuaryzhang/spark,Aegeaner/spark,dbtsai/spark,aray/spark,UndeadBaneGitHub/spark,rednaxelafx/apache-spark,jrshust/spark,stanzhai/spark,jkbradley/spark,skonto/spark,eyalfa/spark,dbtsai/spark,hhbyyh/spark,map222/spark,saltstar/spark,szhem/spark,1haodian/spark,facaiy/spark,HyukjinKwon/spark,wangyum/spark,huang1900/spark,SnappyDataInc/spark,sahilTakiar/spark,byakuinss/spark,minixalpha/spark,aosagie/spark,huang1900/spark,ddna1021/spark,gengliangwang/spark,pronix/spark,shubhamchopra/spark,yanboliang/spark,maropu/spark,UndeadBaneGitHub/spark,MLnick/spark,eyalfa/spark,zhouyejoe/spark,dbtsai/spark,cin/spark,Aegeaner/spark,setjet/spark,mahak/spark,hvanhovell/spark,guoxiaolongzte/spark,ptkool/spark,brad-kaiser/spark,jrshust/spark,joseph-torres/spark,goldmedal/spark,nchammas/spark,aosagie/spark,lxsmnv/spark,narahari92/spark,shuangshuangwang/spark,xflin/spark,mike0sv/spark,mdespriee/spark,map222/spark,zero323/spark,skonto/spark,pgandhi999/spark,lvdongr/spark,goldmedal/spark,saltstar/spark,minixalpha/spark,eyalfa/spark,ericvandenbergfb/spark,michalsenkyr/spark,andrewor14/spark,ibm-research-ireland/sparkoscope,ptkool/spark,gioenn/xSpark,apache-spark-on-k8s/spark,LantaoJin/spark,dhruve/spark,yanboliang/spark,debugger87/spark,UndeadBaneGitHub/spark,HyukjinKwon/spark,WeichenXu123/spark,kimoonkim/spark,highfei2011/spark,adrian-ionescu/apache-spark,kiszk/spark,aokolnychyi/spark,big-pegasus/spark,tengpeng/spark,sureshthalamati/spark,debugger87/spark,witgo/spark,ron8hu/spark,milliman/spark,rikima/spark,gioenn/xSpark,taroplus/spark,haowu80s/spark,zero323/spark,1haodian/spark,pgandhi999/spark,debugger87/spark,tengpeng/spark,kevinyu98/spark,1haodian/spark,haowu80s/spark,holdenk/spark,alunarbeach/spark,caneGuy/spark,lvdongr/spark,Aegeaner/spark,bdrillard/spark,hvanhovell/spark,sureshthalamati/spark,jlopezmalla/spark,facaiy/spark,BryanCutler/spark,shaneknapp/spark,kevinyu98/spark,tengpeng/spark,liutang123/spark,akopich/spark,witgo/spark,rednaxelafx/apache-spark,taroplus/spark,tejasapatil/spark,rezasafi/spark,esi-mineset/spark,ConeyLiu/spark,brad-kaiser/spark,ron8hu/spark,JerryLead/spark,apache/spark,adrian-ionescu/apache-spark,kevinyu98/spark,markhamstra/spark,markhamstra/spark,1haodian/spark,kimoonkim/spark,pgandhi999/spark,wangmiao1981/spark,ioana-delaney/spark,holdenk/spark,saturday-shi/spark,shuangshuangwang/spark,actuaryzhang/spark,lxsmnv/spark,WeichenXu123/spark,nilsgrabbert/spark,kissmetrics/spark,jiangxb1987/spark,rednaxelafx/apache-spark,michalsenkyr/spark,bdrillard/spark,Panos-Bletsos/spark-cost-model-optimizer,akopich/spark,wangyum/spark,patrick-nicholson/spark,michalsenkyr/spark,someorz/spark,big-pegasus/spark,highfei2011/spark,chuckchen/spark,apache/spark,skonto/spark,actuaryzhang/spark,WindCanDie/spark,dongjoon-hyun/spark,wangyum/spark,gioenn/xSpark,brad-kaiser/spark,zuotingbing/spark,szhem/spark,UndeadBaneGitHub/spark,jlopezmalla/spark,LantaoJin/spark,jianran/spark,bravo-zhang/spark,mahak/spark,cloud-fan/spark,dhruve/spark,dhruve/spark,ajaysaini725/spark,ptkool/spark,aosagie/spark,byakuinss/spark,esi-mineset/spark,stanzhai/spark,aray/spark,zuotingbing/spark,taroplus/spark,srowen/spark,cloud-fan/spark,jkbradley/spark,jianran/spark,shubhamchopra/spark,jrshust/spark,taroplus/spark,Panos-Bletsos/spark-cost-model-optimizer,lvdongr/spark,maropu/spark,setjet/spark,rednaxelafx/apache-spark,ConeyLiu/spark,JerryLead/spark,cloud-fan/spark,kissmetrics/spark,ConeyLiu/spark,BryanCutler/spark,patrick-nicholson/spark,rednaxelafx/apache-spark,xuanyuanking/spark,ron8hu/spark,SHASHANKB/spark,map222/spark,zzcclp/spark,zhouyejoe/spark,wangyum/spark,nchammas/spark,witgo/spark,huang1900/spark,xflin/spark,mike0sv/spark,shubhamchopra/spark,ioana-delaney/spark,hvanhovell/spark,chuckchen/spark,big-pegasus/spark,icexelloss/spark,ahnqirage/spark,pgandhi999/spark,ueshin/apache-spark,aray/spark,SHASHANKB/spark,LantaoJin/spark,kissmetrics/spark,ajaysaini725/spark,Panos-Bletsos/spark-cost-model-optimizer,bOOm-X/spark,ericvandenbergfb/spark,lxsmnv/spark,zzcclp/spark,shaneknapp/spark,UndeadBaneGitHub/spark,narahari92/spark,dhruve/spark