statistics.scm 223 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
  3. ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
  4. ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
  5. ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
  6. ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
  7. ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
  8. ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
  9. ;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
  10. ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
  11. ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  12. ;;; Copyright © 2017 Alex Kost <alezost@gmail.com>
  13. ;;; Copyright © 2018 Alex Branham <alex.branham@gmail.com>
  14. ;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
  15. ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
  16. ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
  17. ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
  18. ;;;
  19. ;;; This file is part of GNU Guix.
  20. ;;;
  21. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  22. ;;; under the terms of the GNU General Public License as published by
  23. ;;; the Free Software Foundation; either version 3 of the License, or (at
  24. ;;; your option) any later version.
  25. ;;;
  26. ;;; GNU Guix is distributed in the hope that it will be useful, but
  27. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  28. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  29. ;;; GNU General Public License for more details.
  30. ;;;
  31. ;;; You should have received a copy of the GNU General Public License
  32. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  33. (define-module (gnu packages statistics)
  34. #:use-module ((guix licenses) #:prefix license:)
  35. #:use-module (guix packages)
  36. #:use-module (guix download)
  37. #:use-module (guix hg-download)
  38. #:use-module (guix git-download)
  39. #:use-module (guix utils)
  40. #:use-module (guix build-system ant)
  41. #:use-module (guix build-system emacs)
  42. #:use-module (guix build-system gnu)
  43. #:use-module (guix build-system r)
  44. #:use-module (guix build-system python)
  45. #:use-module (guix build-system trivial)
  46. #:use-module (gnu packages)
  47. #:use-module (gnu packages algebra)
  48. #:use-module (gnu packages autotools)
  49. #:use-module (gnu packages bash)
  50. #:use-module (gnu packages check)
  51. #:use-module (gnu packages compression)
  52. #:use-module (gnu packages cran)
  53. #:use-module (gnu packages curl)
  54. #:use-module (gnu packages emacs)
  55. #:use-module (gnu packages emacs-xyz)
  56. #:use-module (gnu packages fontutils)
  57. #:use-module (gnu packages gcc)
  58. #:use-module (gnu packages gtk)
  59. #:use-module (gnu packages gettext)
  60. #:use-module (gnu packages glib)
  61. #:use-module (gnu packages haskell-xyz)
  62. #:use-module (gnu packages icu4c)
  63. #:use-module (gnu packages image)
  64. #:use-module (gnu packages java)
  65. #:use-module (gnu packages libffi)
  66. #:use-module (gnu packages machine-learning)
  67. #:use-module (gnu packages maths)
  68. #:use-module (gnu packages multiprecision)
  69. #:use-module (gnu packages pcre)
  70. #:use-module (gnu packages perl)
  71. #:use-module (gnu packages pkg-config)
  72. #:use-module (gnu packages python)
  73. #:use-module (gnu packages python-science)
  74. #:use-module (gnu packages python-xyz)
  75. #:use-module (gnu packages readline)
  76. #:use-module (gnu packages sphinx)
  77. #:use-module (gnu packages ssh)
  78. #:use-module (gnu packages tcl)
  79. #:use-module (gnu packages tex)
  80. #:use-module (gnu packages texinfo)
  81. #:use-module (gnu packages time)
  82. #:use-module (gnu packages tls)
  83. #:use-module (gnu packages base)
  84. #:use-module (gnu packages version-control)
  85. #:use-module (gnu packages web)
  86. #:use-module (gnu packages xml)
  87. #:use-module (gnu packages xorg)
  88. #:use-module (srfi srfi-1))
  89. (define-public pspp
  90. (package
  91. (name "pspp")
  92. (version "1.4.1")
  93. (source
  94. (origin
  95. (method url-fetch)
  96. (uri (string-append "mirror://gnu/pspp/pspp-"
  97. version ".tar.gz"))
  98. (sha256
  99. (base32
  100. "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan"))))
  101. (build-system gnu-build-system)
  102. (inputs
  103. `(("cairo" ,cairo)
  104. ("gettext" ,gettext-minimal)
  105. ("gsl" ,gsl)
  106. ("libxml2" ,libxml2)
  107. ("pango" ,pango)
  108. ("readline" ,readline)
  109. ("gtk" ,gtk+)
  110. ("gtksourceview" ,gtksourceview-3)
  111. ("spread-sheet-widget" ,spread-sheet-widget)
  112. ("zlib" ,zlib)))
  113. (native-inputs
  114. `(("autoconf" ,autoconf) ;for tests
  115. ("glib" ,glib "bin") ;for glib-genmarshal
  116. ("perl" ,perl)
  117. ("pkg-config" ,pkg-config)
  118. ("python" ,python-2) ;for tests
  119. ("texinfo" ,texinfo)))
  120. (home-page "https://www.gnu.org/software/pspp/")
  121. (synopsis "Statistical analysis")
  122. (description
  123. "GNU PSPP is a statistical analysis program. It can perform
  124. descriptive statistics, T-tests, linear regression and non-parametric tests.
  125. It features both a graphical interface as well as command-line input. PSPP
  126. is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
  127. can be imported from spreadsheets, text files and database sources and it can
  128. be output in text, PostScript, PDF or HTML.")
  129. (license license:gpl3+)))
  130. (define-public jags
  131. (package
  132. (name "jags")
  133. (version "4.3.0")
  134. (source (origin
  135. (method url-fetch)
  136. (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
  137. (version-major version) ".x/Source/"
  138. "JAGS-" version ".tar.gz"))
  139. (sha256
  140. (base32
  141. "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
  142. (build-system gnu-build-system)
  143. (home-page "http://mcmc-jags.sourceforge.net/")
  144. (native-inputs
  145. `(("gfortran" ,gfortran)
  146. ("lapack" ,lapack)))
  147. (synopsis "Gibbs sampler")
  148. (description "JAGS is Just Another Gibbs Sampler. It is a program for
  149. analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
  150. simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
  151. @enumerate
  152. @item To have a cross-platform engine for the BUGS language;
  153. @item To be extensible, allowing users to write their own functions,
  154. distributions and samplers;
  155. @item To be a platform for experimentation with ideas in Bayesian modelling.
  156. @end enumerate\n")
  157. (license license:gpl2)))
  158. (define-public libxls
  159. (package
  160. (name "libxls")
  161. (version "1.6.2")
  162. (source
  163. (origin
  164. (method url-fetch)
  165. (uri (string-append "https://github.com/libxls/libxls/releases/download/"
  166. "v" version "/libxls-" version ".tar.gz"))
  167. (sha256
  168. (base32 "0wg3ymr43aa1j3scyl9x83b2xgg7wilzpil0dj91a8dzji6w7b2x"))))
  169. (build-system gnu-build-system)
  170. (home-page "https://github.com/libxls/libxls")
  171. (synopsis "Read binary (.xls) Excel spreadsheet files")
  172. (description
  173. "libxls is a C library to read .xls spreadsheet files in the binary OLE
  174. BIFF8 format as created by Excel 97 and later versions. It cannot write them.
  175. This package also provides @command{xls2csv} to export Excel files to CSV.")
  176. (license license:bsd-2)))
  177. ;; Update this package together with the set of recommended packages: r-boot,
  178. ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
  179. ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
  180. (define r-with-tests
  181. (package
  182. (name "r-with-tests")
  183. (version "4.1.1")
  184. (source (origin
  185. (method url-fetch)
  186. (uri (string-append "mirror://cran/src/base/R-"
  187. (version-major version) "/R-"
  188. version ".tar.gz"))
  189. (sha256
  190. (base32
  191. "0r6kpnxjbvb7gdfg4m1z8zc6xd225vw81wrnf05ps9ajawk06pji"))))
  192. (build-system gnu-build-system)
  193. (arguments
  194. `(#:disallowed-references (,tzdata-for-tests)
  195. #:make-flags
  196. (list (string-append "LDFLAGS=-Wl,-rpath="
  197. (assoc-ref %outputs "out")
  198. "/lib/R/lib")
  199. ;; This affects the embedded timestamp of only the core packages.
  200. "PKG_BUILT_STAMP=1970-01-01")
  201. #:phases
  202. (modify-phases %standard-phases
  203. (add-before 'configure 'do-not-compress-serialized-files
  204. (lambda* (#:key inputs #:allow-other-keys)
  205. ;; This ensures that Guix can detect embedded store references;
  206. ;; see bug #28157 for details.
  207. (substitute* "src/library/base/makebasedb.R"
  208. (("compress = TRUE") "compress = FALSE"))
  209. #t))
  210. (add-before 'configure 'patch-coreutils-paths
  211. (lambda* (#:key inputs #:allow-other-keys)
  212. (let ((uname-bin (search-input-file inputs "/bin/uname"))
  213. (rm-bin (search-input-file inputs "/bin/rm")))
  214. (substitute* "src/scripts/R.sh.in"
  215. (("uname") uname-bin))
  216. (substitute* "src/unix/sys-std.c"
  217. (("rm -Rf ") (string-append rm-bin " -Rf "))))
  218. #t))
  219. (add-after 'unpack 'build-reproducibly
  220. (lambda _
  221. ;; The documentation contains time stamps to demonstrate
  222. ;; documentation generation in different phases.
  223. (substitute* "src/library/tools/man/Rd2HTML.Rd"
  224. (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
  225. "(removed for reproducibility)"))
  226. ;; Remove timestamp from tracing environment. This fixes
  227. ;; reproducibility of "methods.rd{b,x}".
  228. (substitute* "src/library/methods/R/trace.R"
  229. (("dateCreated = Sys.time\\(\\)")
  230. "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
  231. ;; Ensure that gzipped files are reproducible.
  232. (substitute* '("src/library/grDevices/Makefile.in"
  233. "doc/manual/Makefile.in")
  234. (("R_GZIPCMD\\)" line)
  235. (string-append line " -n")))
  236. ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
  237. ;; queries the mtime of a given file and records it in an object.
  238. ;; This is acceptable at runtime to detect stale source files,
  239. ;; but it destroys reproducibility at build time.
  240. ;; Similarly, the "srcfilecopy" procedure records the current
  241. ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
  242. (substitute* "src/library/base/R/srcfile.R"
  243. (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
  244. (string-append "timestamp <- \
  245. as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
  246. as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
  247. } else { " time "}, origin=\"1970-01-01\")\n")))
  248. ;; This library is installed using "install_package_description",
  249. ;; so we need to pass the "builtStamp" argument.
  250. (substitute* "src/library/tools/Makefile.in"
  251. (("(install_package_description\\(.*\"')\\)\"" line prefix)
  252. (string-append prefix ", builtStamp='1970-01-01')\"")))
  253. (substitute* "src/library/Recommended/Makefile.in"
  254. (("INSTALL_OPTS =" m)
  255. (string-append m " --built-timestamp=1970-01-01" m)))
  256. ;; R bundles an older version of help2man, which does not respect
  257. ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
  258. ;; because that breaks a test.
  259. (with-fluids ((%default-port-encoding "ISO-8859-1"))
  260. (substitute* "tools/help2man.pl"
  261. (("my \\$date = strftime \"%B %Y\", localtime" line)
  262. (string-append line " 1"))))
  263. ;; The "References" section of this file when converted to
  264. ;; package.rds is sometimes stored with a newline, sometimes with
  265. ;; a space. We avoid this problem by removing the line break
  266. ;; that is suspected to be the culprit.
  267. (substitute* "src/library/methods/DESCRIPTION.in"
  268. (("\\(2008\\)\n") "(2008) ")
  269. ((" ``Software") "``Software"))
  270. #t))
  271. (add-before 'build 'set-locales
  272. (lambda _
  273. (setlocale LC_ALL "C")
  274. (setenv "LC_ALL" "C")
  275. #t))
  276. (add-before 'configure 'set-default-pager
  277. ;; Set default pager to "cat", because otherwise it is "false",
  278. ;; making "help()" print nothing at all.
  279. (lambda _ (setenv "PAGER" "cat") #t))
  280. (add-before 'check 'set-timezone
  281. ;; Some tests require the timezone to be set. However, the
  282. ;; timezone may not just be "UTC", or else a brittle regression
  283. ;; test in reg-tests-1d will fail.
  284. (lambda* (#:key inputs #:allow-other-keys)
  285. (setenv "TZ" "UTC+1")
  286. (setenv "TZDIR"
  287. (search-input-directory inputs
  288. "share/zoneinfo"))))
  289. (add-after 'build 'make-info
  290. (lambda _ (invoke "make" "info")))
  291. (add-after 'build 'install-info
  292. (lambda _ (invoke "make" "install-info"))))
  293. #:configure-flags
  294. `(;; We build the recommended packages here, because they are needed in
  295. ;; order to run the test suite. We disable them in the r-minimal
  296. ;; package.
  297. "--with-cairo"
  298. "--with-blas=-lopenblas"
  299. "--with-libpng"
  300. "--with-jpeglib"
  301. "--with-libtiff"
  302. "--with-ICU"
  303. "--with-tcltk"
  304. ,(string-append "--with-tcl-config="
  305. (assoc-ref %build-inputs "tcl")
  306. "/lib/tclConfig.sh")
  307. ,(string-append "--with-tk-config="
  308. (assoc-ref %build-inputs "tk")
  309. "/lib/tkConfig.sh")
  310. "--enable-R-shlib"
  311. "--enable-BLAS-shlib"
  312. "--with-system-tre")))
  313. ;; R has some support for Java. When the JDK is available at configure
  314. ;; time environment variables pointing to the JDK will be recorded under
  315. ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
  316. ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
  317. ;; the recorded environment variables in $R_HOME/etc. Refer to
  318. ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
  319. ;; for additional information.
  320. ;; As the JDK is a rather large input with only very limited effects on R,
  321. ;; we decided to drop it.
  322. (native-inputs
  323. `(("bzip2" ,bzip2)
  324. ("perl" ,perl)
  325. ("pkg-config" ,pkg-config)
  326. ("texinfo" ,texinfo) ; for building HTML manuals
  327. ("texlive" ,(texlive-updmap.cfg (list texlive-ae
  328. texlive-inconsolata
  329. texlive-fonts-ec
  330. texlive-grfext
  331. texlive-amsfonts
  332. texlive-latex-base
  333. texlive-latex-fancyvrb
  334. texlive-latex-graphics
  335. texlive-hyperref
  336. texlive-oberdiek
  337. texlive-latex-tools
  338. texlive-latex-upquote
  339. texlive-url
  340. texlive-latex-xkeyval)))
  341. ("tzdata" ,tzdata-for-tests)
  342. ("xz" ,xz)))
  343. (inputs
  344. `(;; We need not only cairo here, but pango to ensure that tests for the
  345. ;; "cairo" bitmapType plotting backend succeed.
  346. ("pango" ,pango)
  347. ("coreutils" ,coreutils)
  348. ("curl" ,curl)
  349. ("openblas" ,openblas)
  350. ("gfortran" ,gfortran)
  351. ("icu4c" ,icu4c)
  352. ("libjpeg" ,libjpeg-turbo)
  353. ("libpng" ,libpng)
  354. ("libtiff" ,libtiff)
  355. ("libxt" ,libxt)
  356. ("pcre2" ,pcre2)
  357. ("readline" ,readline)
  358. ;; This avoids a reference to the ungraftable static bash. R uses the
  359. ;; detected shell for the "system" procedure.
  360. ("bash" ,bash-minimal)
  361. ("tcl" ,tcl)
  362. ("tk" ,tk)
  363. ("which" ,which)
  364. ("zlib" ,zlib)))
  365. (native-search-paths
  366. (list (search-path-specification
  367. (variable "R_LIBS_SITE")
  368. (files (list "site-library/")))))
  369. (home-page "https://www.r-project.org/")
  370. (synopsis "Environment for statistical computing and graphics")
  371. (description
  372. "R is a language and environment for statistical computing and graphics.
  373. It provides a variety of statistical techniques, such as linear and nonlinear
  374. modeling, classical statistical tests, time-series analysis, classification
  375. and clustering. It also provides robust support for producing
  376. publication-quality data plots. A large amount of 3rd-party packages are
  377. available, greatly increasing its breadth and scope.")
  378. (license license:gpl3+)))
  379. (define-public r-minimal
  380. (package (inherit r-with-tests)
  381. (name "r-minimal")
  382. (arguments
  383. `(#:tests? #f
  384. ,@(substitute-keyword-arguments (package-arguments r-with-tests)
  385. ((#:configure-flags flags)
  386. ;; Do not build the recommended packages. The build system creates
  387. ;; random temporary directories and embeds their names in some
  388. ;; package files. We build these packages with the r-build-system
  389. ;; instead.
  390. `(cons "--without-recommended-packages" ,flags)))))))
  391. (define-public rmath-standalone
  392. (package (inherit r-minimal)
  393. (name "rmath-standalone")
  394. (arguments
  395. '(#:phases
  396. (modify-phases %standard-phases
  397. (add-after 'configure 'chdir
  398. (lambda _ (chdir "src/nmath/standalone/") #t)))))
  399. (synopsis "Standalone R math library")
  400. (description
  401. "This package provides the R math library as an independent package.")))
  402. (define-public r-boot
  403. (package
  404. (name "r-boot")
  405. (version "1.3-28")
  406. (source
  407. (origin
  408. (method url-fetch)
  409. (uri (cran-uri "boot" version))
  410. (sha256
  411. (base32
  412. "0cjafhqv1c1mrjjcasqr767vs96wjcc6am9r1icryr8l4zymhwcz"))))
  413. (build-system r-build-system)
  414. (home-page "https://cran.r-project.org/web/packages/boot")
  415. (synopsis "Bootstrap functions for R")
  416. (description
  417. "This package provides functions and datasets for bootstrapping from the
  418. book \"Bootstrap Methods and Their Application\" by A.C. Davison and
  419. D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
  420. ;; Unlimited distribution
  421. (license (license:non-copyleft "file://R/bootfuns.q"))))
  422. (define-public r-mass
  423. (package
  424. (name "r-mass")
  425. (version "7.3-54")
  426. (source
  427. (origin
  428. (method url-fetch)
  429. (uri (cran-uri "MASS" version))
  430. (sha256
  431. (base32
  432. "08g8ashbcas3ac98kxvchbwc8da9dq9anpngb4arnw62npawq05q"))))
  433. (properties `((upstream-name . "MASS")))
  434. (build-system r-build-system)
  435. (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
  436. (synopsis "Support functions and datasets for Venables and Ripley's MASS")
  437. (description
  438. "This package provides functions and datasets for the book \"Modern
  439. Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
  440. ;; Either version may be picked.
  441. (license (list license:gpl2 license:gpl3))))
  442. (define-public r-class
  443. (package
  444. (name "r-class")
  445. (version "7.3-19")
  446. (source
  447. (origin
  448. (method url-fetch)
  449. (uri (cran-uri "class" version))
  450. (sha256
  451. (base32
  452. "0dxyxk59fs90713qisanlvk4p0d3l8n8n7zdd4d5c290naaaw83q"))))
  453. (build-system r-build-system)
  454. (propagated-inputs
  455. `(("r-mass" ,r-mass)))
  456. (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
  457. (synopsis "R functions for classification")
  458. (description
  459. "This package provides various functions for classification, including
  460. k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
  461. ;; Either of the two versions can be picked.
  462. (license (list license:gpl2 license:gpl3))))
  463. (define-public r-cluster
  464. (package
  465. (name "r-cluster")
  466. (version "2.1.2")
  467. (source
  468. (origin
  469. (method url-fetch)
  470. (uri (cran-uri "cluster" version))
  471. (sha256
  472. (base32
  473. "168l653ygkg21fwrqrf7lsqi5p6jzhgmcvhrwv7lznkdzdhag2jw"))))
  474. (build-system r-build-system)
  475. (native-inputs
  476. `(("gfortran" ,gfortran)))
  477. (home-page "https://cran.r-project.org/web/packages/cluster")
  478. (synopsis "Methods for cluster analysis")
  479. (description
  480. "This package provides methods for cluster analysis. It is a much
  481. extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
  482. Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
  483. (license license:gpl2+)))
  484. (define-public r-codetools
  485. (package
  486. (name "r-codetools")
  487. (version "0.2-18")
  488. (source
  489. (origin
  490. (method url-fetch)
  491. (uri (cran-uri "codetools" version))
  492. (sha256
  493. (base32
  494. "0a2c115glq8jxixwfigrpvjabhxchn9r4mc40y41dg9dg6wsd7hs"))))
  495. (build-system r-build-system)
  496. (home-page "https://cran.r-project.org/web/packages/codetools")
  497. (synopsis "Code analysis tools for R")
  498. (description "This package provides code analysis tools for R to check R
  499. code for possible problems.")
  500. ;; Any version of the GPL.
  501. (license (list license:gpl2+ license:gpl3+))))
  502. (define-public r-foreign
  503. (package
  504. (name "r-foreign")
  505. (version "0.8-81")
  506. (source
  507. (origin
  508. (method url-fetch)
  509. (uri (cran-uri "foreign" version))
  510. (sha256
  511. (base32
  512. "0b4rca1bl8xxna05057hchbwfmgjgx0n140szabpc0raizqzks0s"))))
  513. (build-system r-build-system)
  514. (home-page "https://cran.r-project.org/web/packages/foreign")
  515. (synopsis "Read data stored by other statistics software")
  516. (description
  517. "This package provides functions for reading and writing data stored by
  518. some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
  519. for reading and writing some dBase files.")
  520. (license license:gpl2+)))
  521. (define-public r-kernsmooth
  522. (package
  523. (name "r-kernsmooth")
  524. (version "2.23-20")
  525. (source
  526. (origin
  527. (method url-fetch)
  528. (uri (cran-uri "KernSmooth" version))
  529. (sha256
  530. (base32
  531. "0fgclmzk3ksjsh3j47jqzm3jhqrwn12rkp7f84yr6wr43q2pbsr0"))))
  532. (properties `((upstream-name . "KernSmooth")))
  533. (build-system r-build-system)
  534. (native-inputs
  535. `(("gfortran" ,gfortran)))
  536. (home-page "https://cran.r-project.org/web/packages/KernSmooth")
  537. (synopsis "Functions for kernel smoothing")
  538. (description
  539. "This package provides functions for kernel smoothing (and density
  540. estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
  541. \"Kernel Smoothing\".")
  542. ;; Unlimited use and distribution
  543. (license (license:non-copyleft "file://LICENCE.note"))))
  544. (define-public r-lattice
  545. (package
  546. (name "r-lattice")
  547. (version "0.20-44")
  548. (source (origin
  549. (method url-fetch)
  550. (uri (cran-uri "lattice" version))
  551. (sha256
  552. (base32
  553. "16yvdklwgjfclayh15axknjwzygx8i7y8zl5mlw8m85dqzihifap"))))
  554. (build-system r-build-system)
  555. (home-page "http://lattice.r-forge.r-project.org/")
  556. (synopsis "High-level data visualization system")
  557. (description
  558. "The lattice package provides a powerful and elegant high-level data
  559. visualization system inspired by Trellis graphics, with an emphasis on
  560. multivariate data. Lattice is sufficient for typical graphics needs, and is
  561. also flexible enough to handle most nonstandard requirements.")
  562. (license license:gpl2+)))
  563. (define-public r-matrix
  564. (package
  565. (name "r-matrix")
  566. (version "1.3-4")
  567. (source
  568. (origin
  569. (method url-fetch)
  570. (uri (cran-uri "Matrix" version))
  571. (sha256
  572. (base32
  573. "0fbcbysp3vaivmp1yasmp8mdsldhr826vfs4vyxrjpjl8jfifhmb"))))
  574. (properties `((upstream-name . "Matrix")))
  575. (build-system r-build-system)
  576. (propagated-inputs
  577. `(("r-lattice" ,r-lattice)))
  578. (home-page "http://Matrix.R-forge.R-project.org/")
  579. (synopsis "Sparse and dense matrix classes and methods")
  580. (description
  581. "This package provides classes and methods for dense and sparse matrices
  582. and operations on them using LAPACK and SuiteSparse.")
  583. (license license:gpl2+)))
  584. (define-public r-nlme
  585. (package
  586. (name "r-nlme")
  587. (version "3.1-152")
  588. (source
  589. (origin
  590. (method url-fetch)
  591. (uri (cran-uri "nlme" version))
  592. (sha256
  593. (base32 "0pji9vvmjqyk8b7lhxsixnagsrz2hmnwy6ilc2gg5ji1y6qx2rav"))))
  594. (build-system r-build-system)
  595. (propagated-inputs
  596. `(("r-lattice" ,r-lattice)))
  597. (native-inputs
  598. `(("gfortran" ,gfortran)))
  599. (home-page "https://cran.r-project.org/web/packages/nlme")
  600. (synopsis "Linear and nonlinear mixed effects models")
  601. (description
  602. "This package provides tools to fit and compare Gaussian linear and
  603. nonlinear mixed-effects models.")
  604. (license license:gpl2+)))
  605. (define-public r-mgcv
  606. (package
  607. (name "r-mgcv")
  608. (version "1.8-36")
  609. (source
  610. (origin
  611. (method url-fetch)
  612. (uri (cran-uri "mgcv" version))
  613. (sha256
  614. (base32 "002n4572sxslz9zfqvs5ys59m8q8wkcc5ks2m0yqs4p7l88xzca2"))))
  615. (build-system r-build-system)
  616. (propagated-inputs
  617. `(("r-matrix" ,r-matrix)
  618. ("r-nlme" ,r-nlme)))
  619. (home-page "https://cran.r-project.org/web/packages/mgcv")
  620. (synopsis "Mixed generalised additive model computation")
  621. (description
  622. "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
  623. parameter estimation by GCV, REML or UBRE/AIC. The library includes a
  624. @code{gam()} function, a wide variety of smoothers, JAGS support and
  625. distributions beyond the exponential family.")
  626. (license license:gpl2+)))
  627. (define-public r-nnet
  628. (package
  629. (name "r-nnet")
  630. (version "7.3-16")
  631. (source
  632. (origin
  633. (method url-fetch)
  634. (uri (cran-uri "nnet" version))
  635. (sha256
  636. (base32
  637. "0smmyx4vhlz99vy4w238y913gq74845v0l1p0g1kgydsp9lijlcr"))))
  638. (build-system r-build-system)
  639. (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
  640. (synopsis "Feed-forward neural networks and multinomial log-linear models")
  641. (description
  642. "This package provides functions for feed-forward neural networks with a
  643. single hidden layer, and for multinomial log-linear models.")
  644. (license (list license:gpl2+ license:gpl3+))))
  645. (define-public r-rpart
  646. (package
  647. (name "r-rpart")
  648. (version "4.1-15")
  649. (source
  650. (origin
  651. (method url-fetch)
  652. (uri (cran-uri "rpart" version))
  653. (sha256
  654. (base32
  655. "0p5frya963ppn476p5dxs2mnarsalksr6gw9zzmjsn8ikq7bx3ib"))))
  656. (build-system r-build-system)
  657. (home-page "https://cran.r-project.org/web/packages/rpart")
  658. (synopsis "Recursive partitioning and regression trees")
  659. (description
  660. "This package provides recursive partitioning functions for
  661. classification, regression and survival trees.")
  662. (license (list license:gpl2+ license:gpl3+))))
  663. (define-public r-spatial
  664. (package
  665. (name "r-spatial")
  666. (version "7.3-14")
  667. (source
  668. (origin
  669. (method url-fetch)
  670. (uri (cran-uri "spatial" version))
  671. (sha256
  672. (base32
  673. "0dlafq744mahxpb13llmsrg54fzww8ld1nbxmr7m851gff11kk2j"))))
  674. (build-system r-build-system)
  675. (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
  676. (synopsis "Functions for kriging and point pattern analysis")
  677. (description
  678. "This package provides functions for kriging and point pattern
  679. analysis.")
  680. ;; Either version may be picked.
  681. (license (list license:gpl2 license:gpl3))))
  682. (define-public r-survival
  683. (package
  684. (name "r-survival")
  685. (version "3.2-12")
  686. (source
  687. (origin
  688. (method url-fetch)
  689. (uri (cran-uri "survival" version))
  690. (sha256
  691. (base32
  692. "1152zpd961bzwnabkhf6q9jgb72bj68023dsn2dcdmxqdi72mps5"))))
  693. (build-system r-build-system)
  694. (propagated-inputs
  695. `(("r-matrix" ,r-matrix)))
  696. (home-page "https://github.com/therneau/survival")
  697. (synopsis "Survival analysis")
  698. (description
  699. "This package contains the core survival analysis routines, including
  700. definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
  701. curves, Cox models, and parametric accelerated failure time models.")
  702. (license license:lgpl2.0+)))
  703. (define-public r
  704. (package (inherit r-minimal)
  705. (name "r")
  706. (source #f)
  707. (build-system trivial-build-system)
  708. (arguments '(#:builder (begin (mkdir %output) #t)))
  709. (propagated-inputs
  710. `(("r-minimal" ,r-minimal)
  711. ("r-boot" ,r-boot)
  712. ("r-class" ,r-class)
  713. ("r-cluster" ,r-cluster)
  714. ("r-codetools" ,r-codetools)
  715. ("r-foreign" ,r-foreign)
  716. ("r-kernsmooth" ,r-kernsmooth)
  717. ("r-lattice" ,r-lattice)
  718. ("r-mass" ,r-mass)
  719. ("r-matrix" ,r-matrix)
  720. ("r-mgcv" ,r-mgcv)
  721. ("r-nlme" ,r-nlme)
  722. ("r-nnet" ,r-nnet)
  723. ("r-rpart" ,r-rpart)
  724. ("r-spatial" ,r-spatial)
  725. ("r-survival" ,r-survival)))))
  726. (define-public r-bit
  727. (package
  728. (name "r-bit")
  729. (version "4.0.4")
  730. (source
  731. (origin
  732. (method url-fetch)
  733. (uri (cran-uri "bit" version))
  734. (sha256
  735. (base32
  736. "0s7isadibxp2wr62r5cpbyh9z31sczzfz4j3rm7gxgjfpqgq8174"))))
  737. (build-system r-build-system)
  738. (native-inputs
  739. `(("r-knitr" ,r-knitr)))
  740. (home-page "http://ff.r-forge.r-project.org")
  741. (synopsis "Class for vectors of 1-bit booleans")
  742. (description
  743. "This package provides bitmapped vectors of booleans (no @code{NA}s),
  744. coercion from and to logicals, integers and integer subscripts, fast boolean
  745. operators and fast summary statistics. With @code{bit} class vectors of true
  746. binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
  747. (license license:gpl2)))
  748. (define-public r-bit64
  749. (package
  750. (name "r-bit64")
  751. (version "4.0.5")
  752. (source
  753. (origin
  754. (method url-fetch)
  755. (uri (cran-uri "bit64" version))
  756. (sha256
  757. (base32
  758. "0y0m7q1rwam1g88cjx7zyi07mj5dipxd9jkl90f294syx8k6ipr5"))))
  759. (build-system r-build-system)
  760. (propagated-inputs
  761. `(("r-bit" ,r-bit)))
  762. (home-page "http://ff.r-forge.r-project.org/")
  763. (synopsis "S3 class for vectors of 64 bit integers")
  764. (description
  765. "The bit64 package provides serializable S3 atomic 64 bit (signed)
  766. integers that can be used in vectors, matrices, arrays and @code{data.frames}.
  767. Methods are available for coercion from and to logicals, integers, doubles,
  768. characters and factors as well as many elementwise and summary functions.
  769. Many fast algorithmic operations such as @code{match} and @code{order} support
  770. interactive data exploration and manipulation and optionally leverage
  771. caching.")
  772. (license license:gpl2)))
  773. (define-public r-dichromat
  774. (package
  775. (name "r-dichromat")
  776. (version "2.0-0")
  777. (source
  778. (origin
  779. (method url-fetch)
  780. (uri (cran-uri "dichromat" version))
  781. (sha256
  782. (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
  783. (build-system r-build-system)
  784. (home-page "https://cran.r-project.org/web/packages/dichromat")
  785. (synopsis "Color schemes for dichromats")
  786. (description
  787. "Dichromat collapses red-green or green-blue distinctions to simulate the
  788. effects of different types of color-blindness.")
  789. (license license:gpl2+)))
  790. (define-public r-digest
  791. (package
  792. (name "r-digest")
  793. (version "0.6.27")
  794. (source
  795. (origin
  796. (method url-fetch)
  797. (uri (cran-uri "digest" version))
  798. (sha256
  799. (base32 "0gr503pinailfglpfbzxprqw7w1jla8jr9nl856a4zch498zg1gl"))))
  800. (build-system r-build-system)
  801. ;; Vignettes require r-knitr, which requires r-digest, so we have to
  802. ;; disable them and the tests.
  803. (arguments
  804. `(#:tests? #f
  805. #:configure-flags (list "--no-build-vignettes")))
  806. (home-page "http://dirk.eddelbuettel.com/code/digest.html")
  807. (synopsis "Create cryptographic hash digests of R objects")
  808. (description
  809. "This package contains an implementation of a function @code{digest()} for
  810. the creation of hash digests of arbitrary R objects (using the md5, sha-1,
  811. sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
  812. of R language objects, as well as a function @code{hmac()} to create hash-based
  813. message authentication code.
  814. Please note that this package is not meant to be deployed for cryptographic
  815. purposes for which more comprehensive (and widely tested) libraries such as
  816. OpenSSL should be used.")
  817. (license license:gpl2+)))
  818. (define-public r-estimability
  819. (package
  820. (name "r-estimability")
  821. (version "1.3")
  822. (source (origin
  823. (method url-fetch)
  824. (uri (cran-uri "estimability" version))
  825. (sha256
  826. (base32
  827. "0cifdaa71spkcxl4db4z884jrya865sg3dhcv4isd8fnzg2pjcd3"))))
  828. (build-system r-build-system)
  829. (home-page "https://cran.r-project.org/web/packages/estimability")
  830. (synopsis "Tools for assessing estimability of linear predictions")
  831. (description "Provides tools for determining estimability of linear
  832. functions of regression coefficients, and @code{epredict} methods that handle
  833. non-estimable cases correctly.")
  834. (license license:gpl2+)))
  835. (define-public r-labeling
  836. (package
  837. (name "r-labeling")
  838. (version "0.4.2")
  839. (source
  840. (origin
  841. (method url-fetch)
  842. (uri (cran-uri "labeling" version))
  843. (sha256
  844. (base32 "0rfikd9gy70b8qz87q9axcwv8nmn9mbxfdwypxi0sghpfs9df8p0"))))
  845. (build-system r-build-system)
  846. (home-page "https://cran.r-project.org/web/packages/labeling")
  847. (synopsis "Axis labeling algorithms")
  848. (description "The labeling package provides a range of axis labeling
  849. algorithms.")
  850. (license license:expat)))
  851. (define-public r-magrittr
  852. (package
  853. (name "r-magrittr")
  854. (version "2.0.1")
  855. (source
  856. (origin
  857. (method url-fetch)
  858. (uri (cran-uri "magrittr" version))
  859. (sha256
  860. (base32 "0pxd99fvg406whqsk9wh756rayrwh84xn3h44zmlpcy23kanbhkm"))))
  861. (build-system r-build-system)
  862. ;; knitr needs magrittr
  863. #;
  864. (native-inputs
  865. `(("r-knitr" ,r-knitr)))
  866. (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
  867. (synopsis "A forward-pipe operator for R")
  868. (description
  869. "Magrittr provides a mechanism for chaining commands with a new
  870. forward-pipe operator, %>%. This operator will forward a value, or the result
  871. of an expression, into the next function call/expression. There is flexible
  872. support for the type of right-hand side expressions. For more information,
  873. see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
  874. (license license:expat)))
  875. (define-public r-munsell
  876. (package
  877. (name "r-munsell")
  878. (version "0.5.0")
  879. (source
  880. (origin
  881. (method url-fetch)
  882. (uri (cran-uri "munsell" version))
  883. (sha256
  884. (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
  885. (build-system r-build-system)
  886. (propagated-inputs
  887. `(("r-colorspace" ,r-colorspace)))
  888. (home-page "https://cran.r-project.org/web/packages/munsell")
  889. (synopsis "Munsell colour system")
  890. (description
  891. "The Munsell package contains Functions for exploring and using the
  892. Munsell colour system.")
  893. (license license:expat)))
  894. (define-public r-permute
  895. (package
  896. (name "r-permute")
  897. (version "0.9-5")
  898. (source
  899. (origin
  900. (method url-fetch)
  901. (uri (cran-uri "permute" version))
  902. (sha256
  903. (base32
  904. "0ra8p5mf2590azrkas8z2ry7mif77xqxd29n4zgyi5vll225726j"))))
  905. (build-system r-build-system)
  906. ;; Tests do not run correctly, but running them properly would entail a
  907. ;; circular dependency with vegan.
  908. (home-page "https://github.com/gavinsimpson/permute")
  909. (synopsis "Functions for Generating Restricted Permutations of Data")
  910. (description
  911. "This package provides a set of restricted permutation designs for freely
  912. exchangeable, line transects (time series), spatial grid designs and permutation
  913. of blocks (groups of samples). @code{permute} also allows split-plot designs,
  914. in which the whole-plots or split-plots or both can be freely exchangeable.")
  915. (license license:gpl2+)))
  916. (define-public r-plyr
  917. (package
  918. (name "r-plyr")
  919. (version "1.8.6")
  920. (source
  921. (origin
  922. (method url-fetch)
  923. (uri (cran-uri "plyr" version))
  924. (sha256
  925. (base32 "11sjjdn146w95s1vsfmmgdls082cbnm1slv98xvyjhsl2mpx4mga"))))
  926. (build-system r-build-system)
  927. (propagated-inputs `(("r-rcpp" ,r-rcpp)))
  928. (home-page "http://had.co.nz/plyr")
  929. (synopsis "Tools for Splitting, Applying and Combining Data")
  930. (description
  931. "Plyr is a set of tools that solves a common set of problems: you need to
  932. break a big problem down into manageable pieces, operate on each piece and
  933. then put all the pieces back together. For example, you might want to fit a
  934. model to each spatial location or time point in your study, summarise data by
  935. panels or collapse high-dimensional arrays to simpler summary statistics.")
  936. (license license:expat)))
  937. (define-public r-proto
  938. (package
  939. (name "r-proto")
  940. (version "1.0.0")
  941. (source
  942. (origin
  943. (method url-fetch)
  944. (uri (cran-uri "proto" version))
  945. (sha256
  946. (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
  947. (build-system r-build-system)
  948. (home-page "https://github.com/hadley/proto")
  949. (synopsis "Prototype object-based programming")
  950. (description
  951. "Proto is an object oriented system using object-based, also called
  952. prototype-based, rather than class-based object oriented ideas.")
  953. (license license:gpl2+)))
  954. (define-public r-rcolorbrewer
  955. (package
  956. (name "r-rcolorbrewer")
  957. (version "1.1-2")
  958. (source
  959. (origin
  960. (method url-fetch)
  961. (uri (cran-uri "RColorBrewer" version))
  962. (sha256
  963. (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
  964. (build-system r-build-system)
  965. (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
  966. (synopsis "ColorBrewer palettes")
  967. (description
  968. "This package provides color schemes for maps (and other graphics)
  969. designed by Cynthia Brewer as described at http://colorbrewer2.org")
  970. ;; Includes code licensed under bsd-4
  971. (license license:asl2.0)))
  972. (define-public r-sendmailr
  973. (package
  974. (name "r-sendmailr")
  975. (version "1.2-1")
  976. (source
  977. (origin
  978. (method url-fetch)
  979. (uri (cran-uri "sendmailR" version))
  980. (sha256
  981. (base32
  982. "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
  983. (properties `((upstream-name . "sendmailR")))
  984. (build-system r-build-system)
  985. (propagated-inputs
  986. `(("r-base64enc" ,r-base64enc)))
  987. (home-page
  988. "https://cran.r-project.org/web/packages/sendmailR")
  989. (synopsis "Send email using R")
  990. (description
  991. "This package contains a simple SMTP client which provides a portable
  992. solution for sending email, including attachments, from within R.")
  993. (license license:gpl2+)))
  994. (define-public r-stringi
  995. (package
  996. (name "r-stringi")
  997. (version "1.7.3")
  998. (source
  999. (origin
  1000. (method url-fetch)
  1001. (uri (cran-uri "stringi" version))
  1002. (sha256
  1003. (base32
  1004. "0mhz7dkjdm8ap2zav1pmivhr8s0l6p2f6piij2hy08nwszqk51nr"))))
  1005. (build-system r-build-system)
  1006. (inputs `(("icu4c" ,icu4c)))
  1007. (native-inputs `(("pkg-config" ,pkg-config)))
  1008. (home-page "http://stringi.rexamine.com/")
  1009. (synopsis "Character string processing facilities")
  1010. (description
  1011. "This package allows for fast, correct, consistent, portable, as well as
  1012. convenient character string/text processing in every locale and any native
  1013. encoding. Owing to the use of the ICU library, the package provides R users
  1014. with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
  1015. programmers. Among available features there are: pattern searching
  1016. (e.g. via regular expressions), random string generation, string collation,
  1017. transliteration, concatenation, date-time formatting and parsing, etc.")
  1018. (license license:bsd-3)))
  1019. (define-public r-stringr
  1020. (package
  1021. (name "r-stringr")
  1022. (version "1.4.0")
  1023. (source
  1024. (origin
  1025. (method url-fetch)
  1026. (uri (cran-uri "stringr" version))
  1027. (sha256
  1028. (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
  1029. (build-system r-build-system)
  1030. (propagated-inputs
  1031. `(("r-glue" ,r-glue)
  1032. ("r-magrittr" ,r-magrittr)
  1033. ("r-stringi" ,r-stringi)))
  1034. (home-page "https://github.com/hadley/stringr")
  1035. (synopsis "Simple, consistent wrappers for common string operations")
  1036. (description
  1037. "Stringr is a consistent, simple and easy to use set of wrappers around
  1038. the fantastic @code{stringi} package. All function and argument names (and
  1039. positions) are consistent, all functions deal with \"NA\"'s and zero length
  1040. vectors in the same way, and the output from one function is easy to feed into
  1041. the input of another.")
  1042. (license license:gpl2+)))
  1043. (define-public r-reshape2
  1044. (package
  1045. (name "r-reshape2")
  1046. (version "1.4.4")
  1047. (source
  1048. (origin
  1049. (method url-fetch)
  1050. (uri (cran-uri "reshape2" version))
  1051. (sha256
  1052. (base32 "1n0jrajpvc8hjkh9z4g8bwq63qy5vy5cgl2pzjardyih4ngcz3fq"))))
  1053. (build-system r-build-system)
  1054. (propagated-inputs
  1055. `(("r-plyr" ,r-plyr)
  1056. ("r-rcpp" ,r-rcpp)
  1057. ("r-stringr" ,r-stringr)))
  1058. (home-page "https://github.com/hadley/reshape")
  1059. (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
  1060. (description
  1061. "Reshape2 is an R library to flexibly restructure and aggregate data
  1062. using just two functions: melt and dcast (or acast).")
  1063. (license license:expat)))
  1064. (define-public r-ggplot2
  1065. (package
  1066. (name "r-ggplot2")
  1067. (version "3.3.5")
  1068. (source
  1069. (origin
  1070. (method url-fetch)
  1071. (uri (cran-uri "ggplot2" version))
  1072. (sha256
  1073. (base32 "1si46bf9p09qzs208hqffwcb40305p361whmwhc1pwrsmx7jjxdh"))))
  1074. (build-system r-build-system)
  1075. (propagated-inputs
  1076. `(("r-digest" ,r-digest)
  1077. ("r-glue" ,r-glue)
  1078. ("r-gtable" ,r-gtable)
  1079. ("r-isoband" ,r-isoband)
  1080. ("r-mass" ,r-mass)
  1081. ("r-mgcv" ,r-mgcv)
  1082. ("r-tibble" ,r-tibble)
  1083. ("r-rlang" ,r-rlang)
  1084. ("r-scales" ,r-scales)
  1085. ("r-svglite" ,r-svglite) ; Needed for 'ggsave'
  1086. ("r-withr" ,r-withr)))
  1087. (native-inputs
  1088. `(("r-knitr" ,r-knitr)))
  1089. (home-page "https://ggplot2.tidyverse.org")
  1090. (synopsis "An implementation of the grammar of graphics")
  1091. (description
  1092. "Ggplot2 is an implementation of the grammar of graphics in R. It
  1093. combines the advantages of both base and lattice graphics: conditioning and
  1094. shared axes are handled automatically, and you can still build up a plot step
  1095. by step from multiple data sources. It also implements a sophisticated
  1096. multidimensional conditioning system and a consistent interface to map data to
  1097. aesthetic attributes.")
  1098. (license license:gpl2+)))
  1099. (define-public r-ggdendro
  1100. (package
  1101. (name "r-ggdendro")
  1102. (version "0.1.22")
  1103. (source (origin
  1104. (method url-fetch)
  1105. (uri (cran-uri "ggdendro" version))
  1106. (sha256
  1107. (base32
  1108. "0skbj487b6f6pj2iz4yq2b9gbgb39cv5dyzhdl3w7ay1k0s5z9ph"))))
  1109. (build-system r-build-system)
  1110. (propagated-inputs
  1111. `(("r-ggplot2" ,r-ggplot2)
  1112. ("r-mass" ,r-mass)))
  1113. (native-inputs
  1114. `(("r-knitr" ,r-knitr)))
  1115. (home-page "https://github.com/andrie/ggdendro")
  1116. (synopsis "Create Dendrograms and Tree Diagrams Using ggplot2")
  1117. (description "This is a set of tools for dendrograms and tree plots using
  1118. ggplot2. The ggplot2 philosophy is to clearly separate data from the
  1119. presentation. Unfortunately the plot method for dendrograms plots directly
  1120. to a plot device with out exposing the data. The ggdendro package resolves
  1121. this by making available functions that extract the dendrogram plot data.
  1122. The package provides implementations for tree, rpart, as well as diana and
  1123. agnes cluster diagrams.")
  1124. (license license:gpl2+)))
  1125. (define-public r-gdtools
  1126. (package
  1127. (name "r-gdtools")
  1128. (version "0.2.3")
  1129. (source
  1130. (origin
  1131. (method url-fetch)
  1132. (uri (cran-uri "gdtools" version))
  1133. (sha256
  1134. (base32
  1135. "1p3ip0qwpg8f63jfx0b8vbac6l20ddid8xvxzkfi6i858pybnawp"))))
  1136. (build-system r-build-system)
  1137. (native-inputs
  1138. `(("pkg-config" ,pkg-config)))
  1139. (inputs
  1140. `(("cairo" ,cairo)
  1141. ("freetype2" ,freetype)
  1142. ("zlib" ,zlib)))
  1143. (propagated-inputs
  1144. `(("r-rcpp" ,r-rcpp)
  1145. ("r-systemfonts" ,r-systemfonts)))
  1146. (home-page "https://cran.r-project.org/web/packages/gdtools")
  1147. (synopsis "Utilities for graphical rendering")
  1148. (description
  1149. "The @code{gdtools} package provides functionalities to get font metrics
  1150. and to generate base64 encoded string from raster matrix.")
  1151. (license license:gpl3)))
  1152. (define-public r-svglite
  1153. (package
  1154. (name "r-svglite")
  1155. (version "2.0.0")
  1156. (source
  1157. (origin
  1158. (method url-fetch)
  1159. (uri (cran-uri "svglite" version))
  1160. (sha256
  1161. (base32
  1162. "19ggknw5322yw7r1bzhw0bqggcrpn0qxddk7kblpqnra2zz2brkn"))))
  1163. (build-system r-build-system)
  1164. (inputs
  1165. `(("libpng" ,libpng)
  1166. ("zlib" ,zlib)))
  1167. (propagated-inputs
  1168. `(("r-cpp11" ,r-cpp11)
  1169. ("r-systemfonts" ,r-systemfonts)))
  1170. (native-inputs
  1171. `(("r-knitr" ,r-knitr)))
  1172. (home-page "https://github.com/hadley/svglite")
  1173. (synopsis "SVG graphics device")
  1174. (description
  1175. "@code{svglite} is a graphics device that produces clean
  1176. @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
  1177. hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
  1178. considerably faster, produces smaller files, and leaves text as is.")
  1179. (license license:gpl2+)))
  1180. (define-public r-assertthat
  1181. (package
  1182. (name "r-assertthat")
  1183. (version "0.2.1")
  1184. (source (origin
  1185. (method url-fetch)
  1186. (uri (cran-uri "assertthat" version))
  1187. (sha256
  1188. (base32
  1189. "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
  1190. (build-system r-build-system)
  1191. (home-page "https://github.com/hadley/assertthat")
  1192. (synopsis "Easy pre and post assertions")
  1193. (description
  1194. "Assertthat is an extension to stopifnot() that makes it easy to declare
  1195. the pre and post conditions that your code should satisfy, while also
  1196. producing friendly error messages so that your users know what they've done
  1197. wrong.")
  1198. (license license:gpl3+)))
  1199. (define-public r-lazyeval
  1200. (package
  1201. (name "r-lazyeval")
  1202. (version "0.2.2")
  1203. (source (origin
  1204. (method url-fetch)
  1205. (uri (cran-uri "lazyeval" version))
  1206. (sha256
  1207. (base32
  1208. "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
  1209. (build-system r-build-system)
  1210. (home-page "https://github.com/hadley/lazyeval")
  1211. (synopsis "Lazy (non-standard) evaluation in R")
  1212. (description
  1213. "This package provides the tools necessary to do non-standard
  1214. evaluation (NSE) in R.")
  1215. (license license:gpl3+)))
  1216. (define-public r-dbi
  1217. (package
  1218. (name "r-dbi")
  1219. (version "1.1.1")
  1220. (source (origin
  1221. (method url-fetch)
  1222. (uri (cran-uri "DBI" version))
  1223. (sha256
  1224. (base32
  1225. "0i0kfyg43nryyka2bjlgz4x75w965224qp36wz1hl7a2lswb6ajp"))))
  1226. (build-system r-build-system)
  1227. (native-inputs
  1228. `(("r-knitr" ,r-knitr)))
  1229. (home-page "https://github.com/rstats-db/DBI")
  1230. (synopsis "R database interface")
  1231. (description
  1232. "The DBI package provides a database interface (DBI) definition for
  1233. communication between R and relational database management systems. All
  1234. classes in this package are virtual and need to be extended by the various
  1235. R/DBMS implementations.")
  1236. (license license:lgpl2.0+)))
  1237. (define-public r-bh
  1238. (package
  1239. (name "r-bh")
  1240. (version "1.75.0-0")
  1241. (source (origin
  1242. (method url-fetch)
  1243. (uri (cran-uri "BH" version))
  1244. (sha256
  1245. (base32
  1246. "0nkgvl5qjs2a7jv0ncsrl4fqaw2pdaj7a1pncdv6kp874sci0k5f"))))
  1247. (build-system r-build-system)
  1248. (home-page "https://github.com/eddelbuettel/bh")
  1249. (synopsis "R package providing subset of Boost headers")
  1250. (description
  1251. "This package aims to provide the most useful subset of Boost libraries
  1252. for template use among CRAN packages.")
  1253. (license license:boost1.0)))
  1254. (define-public r-evaluate
  1255. (package
  1256. (name "r-evaluate")
  1257. (version "0.14")
  1258. (source (origin
  1259. (method url-fetch)
  1260. (uri (cran-uri "evaluate" version))
  1261. (sha256
  1262. (base32
  1263. "0a2y7j534gbgixkwj9r1z76l2vssw4g1hznzbpclc076wkdqpj58"))))
  1264. (build-system r-build-system)
  1265. (home-page "https://github.com/hadley/evaluate")
  1266. (synopsis "Parsing and evaluation tools for R")
  1267. (description
  1268. "This package provides tools that allow you to recreate the parsing,
  1269. evaluation and display of R code, with enough information that you can
  1270. accurately recreate what happens at the command line. The tools can easily be
  1271. adapted for other output formats, such as HTML or LaTeX.")
  1272. (license license:gpl3+)))
  1273. (define-public r-formatr
  1274. (package
  1275. (name "r-formatr")
  1276. (version "1.11")
  1277. (source (origin
  1278. (method url-fetch)
  1279. (uri (cran-uri "formatR" version))
  1280. (sha256
  1281. (base32
  1282. "0353aj975mj0yjc91z76bbfy86y7d5cvlqqyfr93cdng14nnd0dx"))))
  1283. (build-system r-build-system)
  1284. (native-inputs
  1285. `(("r-knitr" ,r-knitr)))
  1286. (home-page "https://yihui.org/formatr/")
  1287. (synopsis "Format R code automatically")
  1288. (description
  1289. "This package provides a function to format R source code. Spaces and
  1290. indent will be added to the code automatically, and comments will be preserved
  1291. under certain conditions, so that R code will be more human-readable and tidy.
  1292. There is also a Shiny app as a user interface in this package.")
  1293. (license license:gpl3+)))
  1294. (define-public r-highr
  1295. (package
  1296. (name "r-highr")
  1297. (version "0.9")
  1298. (source (origin
  1299. (method url-fetch)
  1300. (uri (cran-uri "highr" version))
  1301. (sha256
  1302. (base32
  1303. "0kgdv2vf1lz3b5kbal9s83gg6812nw7fvrq0rkyr0v4k1lwi3zxy"))))
  1304. (build-system r-build-system)
  1305. (propagated-inputs
  1306. `(("r-xfun" ,r-xfun)))
  1307. ;; We cannot add knitr to the inputs, because highr depends on xfun, which
  1308. ;; is an input to knitr.
  1309. #;
  1310. (native-inputs
  1311. `(("r-knitr" ,r-knitr)))
  1312. (home-page "https://github.com/yihui/highr")
  1313. (synopsis "Syntax highlighting for R source code")
  1314. (description
  1315. "This package provides syntax highlighting for R source code. Currently
  1316. it supports LaTeX and HTML output. Source code of other languages is
  1317. supported via Andre Simon's highlight package.")
  1318. (license license:gpl3+)))
  1319. (define-public r-mime
  1320. (package
  1321. (name "r-mime")
  1322. (version "0.11")
  1323. (source (origin
  1324. (method url-fetch)
  1325. (uri (cran-uri "mime" version))
  1326. (sha256
  1327. (base32
  1328. "1h7fz0rqnp970r9q0d95qcxpxm9mb98rqhcdncx0w2qdkyj2fm11"))))
  1329. (build-system r-build-system)
  1330. (home-page "https://github.com/yihui/mime")
  1331. (synopsis "R package to map filenames to MIME types")
  1332. (description
  1333. "This package guesses the MIME type from a filename extension using the
  1334. data derived from /etc/mime.types in UNIX-type systems.")
  1335. (license license:gpl2)))
  1336. (define-public r-markdown
  1337. (package
  1338. (name "r-markdown")
  1339. (version "1.1")
  1340. (source (origin
  1341. (method url-fetch)
  1342. (uri (cran-uri "markdown" version))
  1343. (sha256
  1344. (base32
  1345. "06zwbrp14bri3470anadd7dvgmw06xf8df6v2pk64wx3f9sd934d"))))
  1346. (build-system r-build-system)
  1347. ;; Skip check phase because the tests require the r-knitr package to be
  1348. ;; installed. This prevents installation failures. Knitr normally
  1349. ;; shouldn't be available since r-markdown is a dependency of the r-knitr
  1350. ;; package.
  1351. (arguments `(#:tests? #f))
  1352. (propagated-inputs
  1353. `(("r-mime" ,r-mime)
  1354. ("r-xfun" ,r-xfun)))
  1355. (home-page "https://github.com/rstudio/markdown")
  1356. (synopsis "Markdown rendering for R")
  1357. (description
  1358. "This package provides R bindings to the Sundown Markdown rendering
  1359. library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
  1360. syntax that can be converted to XHTML or other formats.")
  1361. (license license:gpl2)))
  1362. (define-public r-yaml
  1363. (package
  1364. (name "r-yaml")
  1365. (version "2.2.1")
  1366. (source (origin
  1367. (method url-fetch)
  1368. (uri (cran-uri "yaml" version))
  1369. (sha256
  1370. (base32
  1371. "10r7g26x73am45niigm3k466030nymnr3v3fjljafzrr5aybf58i"))))
  1372. (build-system r-build-system)
  1373. (home-page "https://cran.r-project.org/web/packages/yaml/")
  1374. (synopsis "Methods to convert R data to YAML and back")
  1375. (description
  1376. "This package implements the libyaml YAML 1.1 parser and
  1377. emitter (http://pyyaml.org/wiki/LibYAML) for R.")
  1378. (license license:bsd-3)))
  1379. (define-public r-knitr
  1380. (package
  1381. (name "r-knitr")
  1382. (version "1.33")
  1383. (source (origin
  1384. (method url-fetch)
  1385. (uri (cran-uri "knitr" version))
  1386. (sha256
  1387. (base32
  1388. "0289dj7h4wppn4xc4ids7xlrfb46gzd1n9r2wpmfc3c818mk70rg"))))
  1389. (build-system r-build-system)
  1390. (propagated-inputs
  1391. `(("r-evaluate" ,r-evaluate)
  1392. ("r-highr" ,r-highr)
  1393. ("r-markdown" ,r-markdown)
  1394. ("r-stringr" ,r-stringr)
  1395. ("r-xfun" ,r-xfun)
  1396. ("r-yaml" ,r-yaml)))
  1397. (home-page "https://yihui.org/knitr/")
  1398. (synopsis "General-purpose package for dynamic report generation in R")
  1399. (description
  1400. "This package provides a general-purpose tool for dynamic report
  1401. generation in R using Literate Programming techniques.")
  1402. ;; The code is released under any version of the GPL. As it is used by
  1403. ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
  1404. ;; here.
  1405. (license license:gpl2+)))
  1406. (define-public r-knitrbootstrap
  1407. (package
  1408. (name "r-knitrbootstrap")
  1409. (version "1.0.2")
  1410. (source
  1411. (origin
  1412. (method url-fetch)
  1413. (uri (cran-uri "knitrBootstrap" version))
  1414. (sha256
  1415. (base32
  1416. "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
  1417. (properties `((upstream-name . "knitrBootstrap")))
  1418. (build-system r-build-system)
  1419. (propagated-inputs
  1420. `(("r-knitr" ,r-knitr)
  1421. ("r-rmarkdown" ,r-rmarkdown)
  1422. ("r-markdown" ,r-markdown)))
  1423. (home-page "https://github.com/jimhester/knitrBootstrap")
  1424. (synopsis "Knitr bootstrap framework")
  1425. (description
  1426. "This package provides a framework to create Bootstrap 3 HTML reports
  1427. from knitr Rmarkdown.")
  1428. (license license:expat)))
  1429. (define-public r-microbenchmark
  1430. (package
  1431. (name "r-microbenchmark")
  1432. (version "1.4-7")
  1433. (source (origin
  1434. (method url-fetch)
  1435. (uri (cran-uri "microbenchmark" version))
  1436. (sha256
  1437. (base32
  1438. "1xl4m4yl4h2zcjiz8wsa7f3sh55qg2xr3sgpvz18rlix6b3173r6"))))
  1439. (build-system r-build-system)
  1440. (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
  1441. (synopsis "Accurate timing functions for R")
  1442. (description
  1443. "This package provides infrastructure to accurately measure and compare
  1444. the execution time of R expressions.")
  1445. (license license:bsd-2)))
  1446. (define-public r-pryr
  1447. (package
  1448. (name "r-pryr")
  1449. (version "0.1.5")
  1450. (source (origin
  1451. (method url-fetch)
  1452. (uri (cran-uri "pryr" version))
  1453. (sha256
  1454. (base32
  1455. "02vp1y7zhv22id43j5c0gdcgn9171dyypqp8rqrlc3w5a7n565kv"))))
  1456. (build-system r-build-system)
  1457. (propagated-inputs
  1458. `(("r-codetools" ,r-codetools)
  1459. ("r-lobstr" ,r-lobstr)
  1460. ("r-rcpp" ,r-rcpp)
  1461. ("r-stringr" ,r-stringr)))
  1462. (home-page "https://github.com/hadley/pryr")
  1463. (synopsis "Tools for computing on the R language")
  1464. (description
  1465. "This package provides useful tools to pry back the covers of R and
  1466. understand the language at a deeper level.")
  1467. (license license:gpl2)))
  1468. (define-public r-memoise
  1469. (package
  1470. (name "r-memoise")
  1471. (version "2.0.0")
  1472. (source (origin
  1473. (method url-fetch)
  1474. (uri (cran-uri "memoise" version))
  1475. (sha256
  1476. (base32
  1477. "1bzcv7pmls3bx2w5ccv1pm20wycbfqba1v76k0fjgmjsm6hy76pz"))))
  1478. (build-system r-build-system)
  1479. (propagated-inputs
  1480. `(("r-cachem" ,r-cachem)
  1481. ("r-rlang" ,r-rlang)))
  1482. (home-page "https://github.com/hadley/memoise")
  1483. (synopsis "Memoise functions for R")
  1484. (description
  1485. "This R package caches the results of a function so that when
  1486. you call it again with the same arguments it returns the pre-computed value.")
  1487. (license license:expat)))
  1488. (define-public r-crayon
  1489. (package
  1490. (name "r-crayon")
  1491. (version "1.4.1")
  1492. (source (origin
  1493. (method url-fetch)
  1494. (uri (cran-uri "crayon" version))
  1495. (sha256
  1496. (base32
  1497. "1ir963s6zk9l32fw257y54p7898cd7z7yazkn9h6j2cdfhpf9dh8"))))
  1498. (build-system r-build-system)
  1499. (home-page "https://github.com/gaborcsardi/crayon")
  1500. (synopsis "Colored terminal output for R")
  1501. (description
  1502. "Colored terminal output on terminals that support ANSI color and
  1503. highlight codes. It also works in Emacs ESS. ANSI color support is
  1504. automatically detected. Colors and highlighting can be combined and nested.
  1505. New styles can also be created easily. This package was inspired by the
  1506. \"chalk\" JavaScript project.")
  1507. (license license:expat)))
  1508. (define-public r-praise
  1509. (package
  1510. (name "r-praise")
  1511. (version "1.0.0")
  1512. (source
  1513. (origin
  1514. (method url-fetch)
  1515. (uri (cran-uri "praise" version))
  1516. (sha256
  1517. (base32
  1518. "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
  1519. (build-system r-build-system)
  1520. (home-page "https://github.com/gaborcsardi/praise")
  1521. (synopsis "Functions to praise users")
  1522. (description
  1523. "This package provides template functions to assist in building friendly
  1524. R packages that praise their users.")
  1525. (license license:expat)))
  1526. (define-public r-testthat
  1527. (package
  1528. (name "r-testthat")
  1529. (version "3.0.4")
  1530. (source (origin
  1531. (method url-fetch)
  1532. (uri (cran-uri "testthat" version))
  1533. (sha256
  1534. (base32
  1535. "0iqizv2gpv9fg766qv8hbkmc6c5i9xcfrmq9k5m2550p28zff2w3"))))
  1536. (build-system r-build-system)
  1537. (propagated-inputs
  1538. `(("r-brio" ,r-brio)
  1539. ("r-callr" ,r-callr)
  1540. ("r-cli" ,r-cli)
  1541. ("r-crayon" ,r-crayon)
  1542. ("r-desc" ,r-desc)
  1543. ("r-digest" ,r-digest)
  1544. ("r-ellipsis" ,r-ellipsis)
  1545. ("r-evaluate" ,r-evaluate)
  1546. ("r-jsonlite" ,r-jsonlite)
  1547. ("r-lifecycle" ,r-lifecycle)
  1548. ("r-magrittr" ,r-magrittr)
  1549. ("r-pkgload" ,r-pkgload)
  1550. ("r-praise" ,r-praise)
  1551. ("r-processx" ,r-processx)
  1552. ("r-ps" ,r-ps)
  1553. ("r-r6" ,r-r6)
  1554. ("r-rlang" ,r-rlang)
  1555. ("r-waldo" ,r-waldo)
  1556. ("r-withr" ,r-withr)))
  1557. (native-inputs
  1558. `(("r-knitr" ,r-knitr)))
  1559. (home-page "https://github.com/hadley/testthat")
  1560. (synopsis "Unit testing for R")
  1561. (description
  1562. "This package provides a unit testing system for R designed to be fun,
  1563. flexible and easy to set up.")
  1564. (license license:expat)))
  1565. (define-public r-r6
  1566. (package
  1567. (name "r-r6")
  1568. (version "2.5.1")
  1569. (source (origin
  1570. (method url-fetch)
  1571. (uri (cran-uri "R6" version))
  1572. (sha256
  1573. (base32
  1574. "0j5z0b0myzjyyykk310xsa9n2mcm9bz8yqbq4xgz2yzdq8lvv4ld"))))
  1575. (build-system r-build-system)
  1576. (home-page "https://github.com/wch/R6/")
  1577. (synopsis "Classes with reference semantics in R")
  1578. (description
  1579. "The R6 package allows the creation of classes with reference semantics,
  1580. similar to R's built-in reference classes. Compared to reference classes, R6
  1581. classes are simpler and lighter-weight, and they are not built on S4 classes
  1582. so they do not require the methods package. These classes allow public and
  1583. private members, and they support inheritance, even when the classes are
  1584. defined in different packages.")
  1585. (license license:expat)))
  1586. (define-public r-rlang
  1587. (package
  1588. (name "r-rlang")
  1589. (version "0.4.11")
  1590. (source (origin
  1591. (method url-fetch)
  1592. (uri (cran-uri "rlang" version))
  1593. (sha256
  1594. (base32
  1595. "1pfm24jjkxzdb5qcbc05dcjxyk69zpfr5jv4xakqh1xh41mr43kl"))))
  1596. (build-system r-build-system)
  1597. (home-page "http://rlang.tidyverse.org")
  1598. (synopsis "Functions for base types, core R and Tidyverse features")
  1599. (description "This package provides a toolbox for working with base types,
  1600. core R features like the condition system, and core @code{Tidyverse} features
  1601. like tidy evaluation.")
  1602. (license license:gpl3)))
  1603. (define-public r-tibble
  1604. (package
  1605. (name "r-tibble")
  1606. (version "3.1.3")
  1607. (source
  1608. (origin
  1609. (method url-fetch)
  1610. (uri (cran-uri "tibble" version))
  1611. (sha256
  1612. (base32
  1613. "1gpy90hg0bd4an0wqj0xx16a6x37fhc94z1v63y46dpiz231xfks"))))
  1614. (build-system r-build-system)
  1615. (propagated-inputs
  1616. `(("r-ellipsis" ,r-ellipsis)
  1617. ("r-fansi" ,r-fansi)
  1618. ("r-lifecycle" ,r-lifecycle)
  1619. ("r-magrittr" ,r-magrittr)
  1620. ("r-pkgconfig" ,r-pkgconfig)
  1621. ("r-pillar" ,r-pillar)
  1622. ("r-rlang" ,r-rlang)
  1623. ("r-vctrs" ,r-vctrs)))
  1624. (native-inputs
  1625. `(("r-knitr" ,r-knitr)))
  1626. (home-page "https://github.com/hadley/tibble")
  1627. (synopsis "Simple data frames")
  1628. (description
  1629. "This package provides a @code{tbl_df} class that offers better checking
  1630. and printing capabilities than traditional data frames.")
  1631. (license license:expat)))
  1632. (define-public r-dplyr
  1633. (package
  1634. (name "r-dplyr")
  1635. (version "1.0.7")
  1636. (source (origin
  1637. (method url-fetch)
  1638. (uri (cran-uri "dplyr" version))
  1639. (sha256
  1640. (base32
  1641. "0g8jsxclj9cgm7a2lyazy78sj62rbzw812lsw3fdsbz0pknkmznj"))))
  1642. (build-system r-build-system)
  1643. (propagated-inputs
  1644. `(("r-ellipsis" ,r-ellipsis)
  1645. ("r-generics" ,r-generics)
  1646. ("r-glue" ,r-glue)
  1647. ("r-lifecycle" ,r-lifecycle)
  1648. ("r-magrittr" ,r-magrittr)
  1649. ("r-pillar" ,r-pillar)
  1650. ("r-r6" ,r-r6)
  1651. ("r-rlang" ,r-rlang)
  1652. ("r-tibble" ,r-tibble)
  1653. ("r-tidyselect" ,r-tidyselect)
  1654. ("r-vctrs" ,r-vctrs)))
  1655. (native-inputs
  1656. `(("r-knitr" ,r-knitr)))
  1657. (home-page "https://github.com/hadley/dplyr")
  1658. (synopsis "Tools for working with data frames in R")
  1659. (description
  1660. "dplyr is the next iteration of plyr. It is focussed on tools for
  1661. working with data frames. It has three main goals: 1) identify the most
  1662. important data manipulation tools needed for data analysis and make them easy
  1663. to use in R; 2) provide fast performance for in-memory data by writing key
  1664. pieces of code in C++; 3) use the same code interface to work with data no
  1665. matter where it is stored, whether in a data frame, a data table or
  1666. database.")
  1667. (license license:expat)))
  1668. (define-public r-dbplyr
  1669. (package
  1670. (name "r-dbplyr")
  1671. (version "2.1.1")
  1672. (source
  1673. (origin
  1674. (method url-fetch)
  1675. (uri (cran-uri "dbplyr" version))
  1676. (sha256
  1677. (base32
  1678. "025wqpmxdhzblb0pf58m3qh5h6bf5x8qvkf47vyl1cjsp13wz95b"))))
  1679. (build-system r-build-system)
  1680. (propagated-inputs
  1681. `(("r-assertthat" ,r-assertthat)
  1682. ("r-blob" ,r-blob)
  1683. ("r-dbi" ,r-dbi)
  1684. ("r-dplyr" ,r-dplyr)
  1685. ("r-ellipsis" ,r-ellipsis)
  1686. ("r-glue" ,r-glue)
  1687. ("r-lifecycle" ,r-lifecycle)
  1688. ("r-magrittr" ,r-magrittr)
  1689. ("r-purrr" ,r-purrr)
  1690. ("r-r6" ,r-r6)
  1691. ("r-rlang" ,r-rlang)
  1692. ("r-tibble" ,r-tibble)
  1693. ("r-tidyselect" ,r-tidyselect)
  1694. ("r-vctrs" ,r-vctrs)
  1695. ("r-withr" ,r-withr)))
  1696. (native-inputs
  1697. `(("r-knitr" ,r-knitr)))
  1698. (home-page "https://github.com/tidyverse/dbplyr")
  1699. (synopsis "Dplyr back end for databases")
  1700. (description
  1701. "This package provides a dplyr back end for databases that allows you to
  1702. work with remote database tables as if they are in-memory data frames. Basic
  1703. features works with any database that has a @code{DBI} back end; more advanced
  1704. features require SQL translation to be provided by the package author.")
  1705. (license license:expat)))
  1706. (define-public r-acepack
  1707. (package
  1708. (name "r-acepack")
  1709. (version "1.4.1")
  1710. (source
  1711. (origin
  1712. (method url-fetch)
  1713. (uri (cran-uri "acepack" version))
  1714. (sha256
  1715. (base32
  1716. "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
  1717. (build-system r-build-system)
  1718. (inputs
  1719. `(("gfortran" ,gfortran)))
  1720. (home-page "https://cran.r-project.org/web/packages/acepack")
  1721. (synopsis "Functions for regression transformations")
  1722. (description
  1723. "This package provides ACE and AVAS methods for choosing regression
  1724. transformations.")
  1725. (license license:expat)))
  1726. (define-public r-formula
  1727. (package
  1728. (name "r-formula")
  1729. (version "1.2-4")
  1730. (source
  1731. (origin
  1732. (method url-fetch)
  1733. (uri (cran-uri "Formula" version))
  1734. (sha256
  1735. (base32
  1736. "1bsw282i5m8rlirbhz7hqvf25zbxschk7yrp152whbzdnmry6w6b"))))
  1737. (properties `((upstream-name . "Formula")))
  1738. (build-system r-build-system)
  1739. (home-page "https://cran.r-project.org/web/packages/Formula")
  1740. (synopsis "Extended model formulas")
  1741. (description
  1742. "This package provides a new class @code{Formula}, which extends the base
  1743. class @code{formula}. It supports extended formulas with multiple parts of
  1744. regressors on the right-hand side and/or multiple responses on the left-hand
  1745. side.")
  1746. (license (list license:gpl2+ license:gpl3+))))
  1747. (define-public r-locfit
  1748. (package
  1749. (name "r-locfit")
  1750. (version "1.5-9.4")
  1751. (source
  1752. (origin
  1753. (method url-fetch)
  1754. (uri (cran-uri "locfit" version))
  1755. (sha256
  1756. (base32
  1757. "1vcw16qww4v4547w0gfvhqg60l051bsdlxa6zfcgcj9xbxf6dlyr"))))
  1758. (build-system r-build-system)
  1759. (propagated-inputs
  1760. `(("r-lattice" ,r-lattice)))
  1761. (home-page "https://cran.r-project.org/web/packages/locfit")
  1762. (synopsis "Local regression, likelihood and density estimation")
  1763. (description
  1764. "This package provides functions used for local regression, likelihood
  1765. and density estimation.")
  1766. (license (list license:gpl2+ license:gpl3+))))
  1767. (define-public r-chron
  1768. (package
  1769. (name "r-chron")
  1770. (version "2.3-56")
  1771. (source (origin
  1772. (method url-fetch)
  1773. (uri (cran-uri "chron" version))
  1774. (sha256
  1775. (base32
  1776. "0p9zz96jfyf139924hdwkzhr8knkjvx6547ac53rknm3a6wwngl6"))))
  1777. (build-system r-build-system)
  1778. (home-page "https://cran.r-project.org/web/packages/chron")
  1779. (synopsis "Chronological R objects which can handle dates and times")
  1780. (description
  1781. "This package provides chronological R objects which can handle dates and
  1782. times.")
  1783. (license license:gpl2)))
  1784. (define-public r-data-table
  1785. (package
  1786. (name "r-data-table")
  1787. (version "1.14.0")
  1788. (source (origin
  1789. (method url-fetch)
  1790. (uri (cran-uri "data.table" version))
  1791. (sha256
  1792. (base32
  1793. "0kgbvap5v2spnkz3dwfm4jh4qcpvbzdn9s8bzfnhzabz9qjdxw8k"))))
  1794. (build-system r-build-system)
  1795. (inputs
  1796. `(("zlib" ,zlib)))
  1797. (native-inputs
  1798. `(("pkg-config" ,pkg-config)
  1799. ("r-knitr" ,r-knitr)))
  1800. (home-page "https://github.com/Rdatatable/data.table/wiki")
  1801. (synopsis "Enhanced version of data.frame R object")
  1802. (description
  1803. "The R package @code{data.table} is an extension of @code{data.frame}
  1804. providing functions for fast aggregation of large data (e.g. 100GB in RAM),
  1805. fast ordered joins, fast add/modify/delete of columns by group, column listing
  1806. and fast file reading.")
  1807. (license license:gpl3+)))
  1808. (define-public r-xtable
  1809. (package
  1810. (name "r-xtable")
  1811. (version "1.8-4")
  1812. (source
  1813. (origin
  1814. (method url-fetch)
  1815. (uri (cran-uri "xtable" version))
  1816. (sha256
  1817. (base32
  1818. "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
  1819. (build-system r-build-system)
  1820. (native-inputs
  1821. `(("r-knitr" ,r-knitr))) ; for vignettes
  1822. (home-page "http://xtable.r-forge.r-project.org/")
  1823. (synopsis "Export R tables to LaTeX or HTML")
  1824. (description
  1825. "This package provides tools to export R data as LaTeX and HTML tables.")
  1826. (license license:gpl2+)))
  1827. (define-public python-patsy
  1828. (package
  1829. (name "python-patsy")
  1830. (version "0.5.1")
  1831. (source (origin
  1832. (method url-fetch)
  1833. (uri (pypi-uri "patsy" version))
  1834. (sha256
  1835. (base32
  1836. "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
  1837. (build-system python-build-system)
  1838. (arguments
  1839. `(#:phases
  1840. (modify-phases %standard-phases
  1841. (replace 'check
  1842. (lambda _ (invoke "nosetests" "-v"))))))
  1843. (propagated-inputs
  1844. `(("python-numpy" ,python-numpy)
  1845. ("python-scipy" ,python-scipy)
  1846. ("python-six" ,python-six)))
  1847. (native-inputs
  1848. `(("python-nose" ,python-nose)))
  1849. (home-page "https://github.com/pydata/patsy")
  1850. (synopsis "Describe statistical models and build design matrices")
  1851. (description
  1852. "Patsy is a Python package for describing statistical models and for
  1853. building design matrices.")
  1854. ;; The majority of the code is distributed under BSD-2. The module
  1855. ;; patsy.compat contains code derived from the Python standard library,
  1856. ;; and is covered by the PSFL.
  1857. (license (list license:bsd-2 license:psfl))))
  1858. (define-public python2-patsy
  1859. (package-with-python2 python-patsy))
  1860. (define-public python-statsmodels
  1861. (package
  1862. (name "python-statsmodels")
  1863. (version "0.11.1")
  1864. (source
  1865. (origin
  1866. (method url-fetch)
  1867. (uri (pypi-uri "statsmodels" version))
  1868. (sha256
  1869. (base32
  1870. "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
  1871. (build-system python-build-system)
  1872. (arguments
  1873. `(;; The test suite is very large and rather brittle. Tests often fail
  1874. ;; because of minor changes in dependencies that upstream hasn't fixed
  1875. ;; in a new release.
  1876. #:tests? #f
  1877. #:phases
  1878. (modify-phases %standard-phases
  1879. (add-after 'unpack 'set-matplotlib-backend-to-agg
  1880. (lambda _
  1881. ;; Set the matplotlib backend to Agg to avoid problems using the
  1882. ;; GTK backend without a display.
  1883. (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
  1884. '("statsmodels/tsa/vector_ar/tests/test_var.py"
  1885. "statsmodels/duration/tests/test_survfunc.py"))
  1886. (("import matplotlib\\.pyplot as plt" line)
  1887. (string-append "import matplotlib;matplotlib.use('Agg');"
  1888. line)))
  1889. #t)))))
  1890. (propagated-inputs
  1891. `(("python-numpy" ,python-numpy)
  1892. ("python-scipy" ,python-scipy)
  1893. ("python-pandas" ,python-pandas)
  1894. ("python-patsy" ,python-patsy)
  1895. ("python-matplotlib" ,python-matplotlib)))
  1896. (native-inputs
  1897. `(("python-cython" ,python-cython)
  1898. ("python-nose" ,python-nose)
  1899. ("python-sphinx" ,python-sphinx)))
  1900. (home-page "http://statsmodels.sourceforge.net/")
  1901. (synopsis "Statistical modeling and econometrics in Python")
  1902. (description
  1903. "Statsmodels is a Python package that provides a complement to scipy for
  1904. statistical computations including descriptive statistics and estimation and
  1905. inference for statistical models.")
  1906. (license license:bsd-3)))
  1907. (define-public python2-statsmodels
  1908. (let ((stats (package-with-python2 python-statsmodels)))
  1909. (package/inherit stats
  1910. (propagated-inputs
  1911. `(("python2-pytz" ,python2-pytz)
  1912. ("python2-numpy" ,python2-numpy)
  1913. ("python2-scipy" ,python2-scipy)
  1914. ("python2-pandas" ,python2-pandas)
  1915. ("python2-patsy" ,python2-patsy)
  1916. ("python2-matplotlib" ,python2-matplotlib))))))
  1917. (define-public r-coda
  1918. (package
  1919. (name "r-coda")
  1920. (version "0.19-4")
  1921. (source (origin
  1922. (method url-fetch)
  1923. (uri (cran-uri "coda" version))
  1924. (sha256
  1925. (base32
  1926. "13z5dwfpnyyhpsbpg4xr9g5c1685jhqj90f4x4qkcykr6kykqba2"))))
  1927. (build-system r-build-system)
  1928. (propagated-inputs
  1929. `(("r-lattice" ,r-lattice)))
  1930. (home-page "https://cran.r-project.org/web/packages/coda")
  1931. (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
  1932. (description "This package provides functions for summarizing and plotting
  1933. the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
  1934. diagnostic tests of convergence to the equilibrium distribution of the Markov
  1935. chain.")
  1936. (license license:gpl2+)))
  1937. (define-public r-ade4
  1938. (package
  1939. (name "r-ade4")
  1940. (version "1.7-17")
  1941. (source
  1942. (origin
  1943. (method url-fetch)
  1944. (uri (cran-uri "ade4" version))
  1945. (sha256
  1946. (base32
  1947. "0s9x29xscgfdk1cdk1hanmkrrgj9vibf5gvwlbx21mhjnf0dzngf"))))
  1948. (build-system r-build-system)
  1949. (propagated-inputs
  1950. `(("r-mass" ,r-mass)
  1951. ("r-pixmap" ,r-pixmap)
  1952. ("r-sp" ,r-sp)))
  1953. (home-page "http://pbil.univ-lyon1.fr/ADE-4")
  1954. (synopsis "Multivariate data analysis and graphical display")
  1955. (description
  1956. "The ade4 package contains data analysis functions to analyze ecological
  1957. and environmental data in the framework of Euclidean exploratory methods.")
  1958. (license license:gpl2+)))
  1959. (define-public r-xml2
  1960. (package
  1961. (name "r-xml2")
  1962. (version "1.3.2")
  1963. (source
  1964. (origin
  1965. (method url-fetch)
  1966. (uri (cran-uri "xml2" version))
  1967. (sha256
  1968. (base32
  1969. "1kx400v62xkd5xal7rzz7jcarz94ac8g1sh4i2dqr78qwgkzj8nz"))))
  1970. (build-system r-build-system)
  1971. (inputs
  1972. `(("libxml2" ,libxml2)
  1973. ("zlib" ,zlib)))
  1974. (native-inputs
  1975. `(("pkg-config" ,pkg-config)
  1976. ("r-knitr" ,r-knitr)))
  1977. (home-page "https://github.com/hadley/xml2")
  1978. (synopsis "Parse XML with R")
  1979. (description
  1980. "This package provides a simple, consistent interface to working with XML
  1981. files in R. It is built on top of the libxml2 C library.")
  1982. (license license:gpl2+)))
  1983. (define-public r-multitaper
  1984. (package
  1985. (name "r-multitaper")
  1986. (version "1.0-15")
  1987. (source
  1988. (origin
  1989. (method url-fetch)
  1990. (uri (cran-uri "multitaper" version))
  1991. (sha256
  1992. (base32
  1993. "1gm3wr8xqpqiby7q1dr3zxim77v0bvvrqi0hlazf5g3gnkrp2zc3"))))
  1994. (build-system r-build-system)
  1995. (native-inputs
  1996. `(("gfortran" ,gfortran)))
  1997. (home-page "https://github.com/wesleyburr/multitaper/")
  1998. (synopsis "Multitaper spectral analysis tools")
  1999. (description
  2000. "This package implements multitaper spectral estimation
  2001. techniques using prolate spheroidal sequences (Slepians) and sine
  2002. tapers for time series analysis. It includes an adaptive weighted
  2003. multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
  2004. F-test, and complex demodulation. The Slepians sequences are
  2005. generated efficiently using a tridiagonal matrix solution, and
  2006. jackknifed confidence intervals are available for most estimates.")
  2007. (license license:gpl2+)))
  2008. (define-public r-rversions
  2009. (package
  2010. (name "r-rversions")
  2011. (version "2.1.1")
  2012. (source (origin
  2013. (method url-fetch)
  2014. (uri (cran-uri "rversions" version))
  2015. (sha256
  2016. (base32
  2017. "1cbwwbz8lqx2n33xr4q904whvld22s63rpyy1nn93395l7ssrakr"))))
  2018. (build-system r-build-system)
  2019. (propagated-inputs
  2020. `(("r-curl" ,r-curl)
  2021. ("r-xml2" ,r-xml2)))
  2022. (home-page "https://github.com/metacran/rversions")
  2023. (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
  2024. (description
  2025. "This package provides functions to query the main R repository to find
  2026. the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
  2027. previous R versions and their release dates.")
  2028. (license license:expat)))
  2029. (define-public r-whisker
  2030. (package
  2031. (name "r-whisker")
  2032. (version "0.4")
  2033. (source (origin
  2034. (method url-fetch)
  2035. (uri (cran-uri "whisker" version))
  2036. (sha256
  2037. (base32
  2038. "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
  2039. (build-system r-build-system)
  2040. (home-page "https://github.com/edwindj/whisker")
  2041. (synopsis "Logicless mustache templating for R")
  2042. (description
  2043. "This package provides logicless templating, with a syntax that is not
  2044. limited to R.")
  2045. (license license:gpl3+)))
  2046. (define-public r-backports
  2047. (package
  2048. (name "r-backports")
  2049. (version "1.2.1")
  2050. (source
  2051. (origin
  2052. (method url-fetch)
  2053. (uri (cran-uri "backports" version))
  2054. (sha256
  2055. (base32
  2056. "1mf2nz78l97lbxyagv55bcxrny51ds8g28h307cfa1g3ayylp0x2"))))
  2057. (build-system r-build-system)
  2058. (home-page "https://cran.r-project.org/web/packages/backports")
  2059. (synopsis "Reimplementations of functions introduced since R 3.0.0")
  2060. (description
  2061. "Provides implementations of functions which have been introduced in R
  2062. since version 3.0.0. The backports are conditionally exported which results
  2063. in R resolving the function names to the version shipped with R (if available)
  2064. and uses the implemented backports as fallback. This way package developers
  2065. can make use of the new functions without worrying about the minimum required
  2066. R version.")
  2067. (license license:gpl2+)))
  2068. (define-public r-checkmate
  2069. (package
  2070. (name "r-checkmate")
  2071. (version "2.0.0")
  2072. (source
  2073. (origin
  2074. (method url-fetch)
  2075. (uri (cran-uri "checkmate" version))
  2076. (sha256
  2077. (base32
  2078. "193gkifr9spp0x0rwnjq1spdhjkfkh4mv27iklskcj604075phhd"))))
  2079. (build-system r-build-system)
  2080. (propagated-inputs
  2081. `(("r-backports" ,r-backports)))
  2082. (home-page "https://github.com/mllg/checkmate")
  2083. (synopsis "Fast and versatile argument checks")
  2084. (description
  2085. "This package provides tests and assertions to perform frequent argument
  2086. checks. A substantial part of the package was written in C to minimize any
  2087. worries about execution time overhead.")
  2088. (license license:bsd-3)))
  2089. (define-public r-bbmisc
  2090. (package
  2091. (name "r-bbmisc")
  2092. (version "1.11")
  2093. (source
  2094. (origin
  2095. (method url-fetch)
  2096. (uri (cran-uri "BBmisc" version))
  2097. (sha256
  2098. (base32
  2099. "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
  2100. (properties `((upstream-name . "BBmisc")))
  2101. (build-system r-build-system)
  2102. (propagated-inputs
  2103. `(("r-checkmate" ,r-checkmate)))
  2104. (home-page "https://github.com/berndbischl/BBmisc")
  2105. (synopsis "Miscellaneous functions for R package development")
  2106. (description
  2107. "This package provides miscellaneous helper functions for the development
  2108. of R packages.")
  2109. (license license:bsd-3)))
  2110. (define-public r-fail
  2111. (package
  2112. (name "r-fail")
  2113. (version "1.3")
  2114. (source
  2115. (origin
  2116. (method url-fetch)
  2117. (uri (cran-uri "fail" version))
  2118. (sha256
  2119. (base32
  2120. "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
  2121. (build-system r-build-system)
  2122. (propagated-inputs
  2123. `(("r-bbmisc" ,r-bbmisc)
  2124. ("r-checkmate" ,r-checkmate)))
  2125. (home-page "https://github.com/mllg/fail")
  2126. (synopsis "File abstraction interface layer (FAIL)")
  2127. (description
  2128. "This package provides a more comfortable interface to work with R data
  2129. or source files in a key-value fashion.")
  2130. (license license:bsd-3)))
  2131. (define-public r-batchjobs
  2132. (package
  2133. (name "r-batchjobs")
  2134. (version "1.8")
  2135. (source
  2136. (origin
  2137. (method url-fetch)
  2138. (uri (cran-uri "BatchJobs" version))
  2139. (sha256
  2140. (base32
  2141. "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
  2142. (properties `((upstream-name . "BatchJobs")))
  2143. (build-system r-build-system)
  2144. (propagated-inputs
  2145. `(("r-backports" ,r-backports)
  2146. ("r-bbmisc" ,r-bbmisc)
  2147. ("r-brew" ,r-brew)
  2148. ("r-checkmate" ,r-checkmate)
  2149. ("r-data-table" ,r-data-table)
  2150. ("r-dbi" ,r-dbi)
  2151. ("r-digest" ,r-digest)
  2152. ("r-rsqlite" ,r-rsqlite)
  2153. ("r-sendmailr" ,r-sendmailr)
  2154. ("r-stringi" ,r-stringi)))
  2155. (home-page "https://github.com/tudo-r/BatchJobs")
  2156. (synopsis "Batch computing with R")
  2157. (description
  2158. "This package provides @code{Map}, @code{Reduce} and @code{Filter}
  2159. variants to generate jobs on batch computing systems like PBS/Torque, LSF,
  2160. SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
  2161. (license license:bsd-2)))
  2162. (define-public r-brew
  2163. (package
  2164. (name "r-brew")
  2165. (version "1.0-6")
  2166. (source (origin
  2167. (method url-fetch)
  2168. (uri (cran-uri "brew" version))
  2169. (sha256
  2170. (base32
  2171. "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
  2172. (build-system r-build-system)
  2173. (home-page "https://cran.r-project.org/web/packages/brew")
  2174. (synopsis "Templating framework for report generation")
  2175. (description
  2176. "The brew package implements a templating framework for mixing text and R
  2177. code for report generation. The template syntax is similar to PHP, Ruby's erb
  2178. module, Java Server Pages, and Python's psp module.")
  2179. (license license:gpl2+)))
  2180. (define-public r-desc
  2181. (package
  2182. (name "r-desc")
  2183. (version "1.3.0")
  2184. (source
  2185. (origin
  2186. (method url-fetch)
  2187. (uri (cran-uri "desc" version))
  2188. (sha256
  2189. (base32
  2190. "1sw4vya3l971gpccq4gnjywgbl73bgx8la18l0wy617qv94f905y"))))
  2191. (build-system r-build-system)
  2192. (propagated-inputs
  2193. `(("r-crayon" ,r-crayon)
  2194. ("r-r6" ,r-r6)
  2195. ("r-rprojroot" ,r-rprojroot)))
  2196. (home-page "https://github.com/r-pkgs/desc")
  2197. (synopsis "Manipulate DESCRIPTION Files")
  2198. (description
  2199. "This package provides tools to read, write, create, and manipulate
  2200. DESCRIPTION files. It is intended for packages that create or manipulate
  2201. other packages.")
  2202. (license license:expat)))
  2203. (define-public r-commonmark
  2204. (package
  2205. (name "r-commonmark")
  2206. (version "1.7")
  2207. (source
  2208. (origin
  2209. (method url-fetch)
  2210. (uri (cran-uri "commonmark" version))
  2211. (sha256
  2212. (base32
  2213. "024iz1qp2kv6iz6y69ir0jk3qhjps86rhkzlcmhqsxx97rx7cjni"))))
  2214. (build-system r-build-system)
  2215. (home-page "https://cran.r-project.org/web/packages/commonmark")
  2216. (synopsis "CommonMark and Github Markdown Rendering in R")
  2217. (description
  2218. "The CommonMark specification defines a rationalized version of markdown
  2219. syntax. This package uses the @code{cmark} reference implementation for
  2220. converting markdown text into various formats including HTML, LaTeX and groff
  2221. man. In addition, it exposes the markdown parse tree in XML format. The latest
  2222. version of this package also adds support for Github extensions including
  2223. tables, autolinks and strikethrough text.")
  2224. (license license:bsd-2)))
  2225. (define-public r-roxygen2
  2226. (package
  2227. (name "r-roxygen2")
  2228. (version "7.1.1")
  2229. (source (origin
  2230. (method url-fetch)
  2231. (uri (cran-uri "roxygen2" version))
  2232. (sha256
  2233. (base32
  2234. "0qc8akwfwmaqsjaza87f5fi0zk6sh3l6j3assbs6chvx0gnmvidx"))))
  2235. (build-system r-build-system)
  2236. (propagated-inputs
  2237. `(("r-brew" ,r-brew)
  2238. ("r-commonmark" ,r-commonmark)
  2239. ("r-desc" ,r-desc)
  2240. ("r-digest" ,r-digest)
  2241. ("r-knitr" ,r-knitr)
  2242. ("r-pkgload" ,r-pkgload)
  2243. ("r-purrr" ,r-purrr)
  2244. ("r-r6" ,r-r6)
  2245. ("r-rcpp" ,r-rcpp)
  2246. ("r-rlang" ,r-rlang)
  2247. ("r-stringi" ,r-stringi)
  2248. ("r-stringr" ,r-stringr)
  2249. ("r-xml2" ,r-xml2)))
  2250. (native-inputs
  2251. `(("r-knitr" ,r-knitr)))
  2252. (home-page "https://github.com/klutometis/roxygen")
  2253. (synopsis "In-source documentation system for R")
  2254. (description
  2255. "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
  2256. collation, and NAMESPACE files.")
  2257. (license license:gpl2+)))
  2258. (define-public r-openssl
  2259. (package
  2260. (name "r-openssl")
  2261. (version "1.4.4")
  2262. (source
  2263. (origin
  2264. (method url-fetch)
  2265. (uri (cran-uri "openssl" version))
  2266. (sha256
  2267. (base32
  2268. "0x68di44vrqvikr419mgh9wlvbhxs52zda9pb6spikx69m4v83wj"))))
  2269. (build-system r-build-system)
  2270. (inputs
  2271. `(("libressl" ,libressl)))
  2272. (native-inputs
  2273. `(("pkg-config" ,pkg-config)
  2274. ("r-knitr" ,r-knitr)))
  2275. (propagated-inputs
  2276. `(("r-askpass" ,r-askpass)))
  2277. (home-page "https://github.com/jeroenooms/openssl")
  2278. (synopsis "Toolkit for encryption, signatures and certificates")
  2279. (description
  2280. "This package provides R bindings to OpenSSL libssl and libcrypto, plus
  2281. custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
  2282. and P-521. Cryptographic signatures can either be created and verified
  2283. manually or via x509 certificates. AES block cipher is used in CBC mode for
  2284. symmetric encryption; RSA for asymmetric (public key) encryption. High-level
  2285. envelope functions combine RSA and AES for encrypting arbitrary sized data.
  2286. Other utilities include key generators, hash functions (md5, sha1, sha256,
  2287. etc), base64 encoder, a secure random number generator, and @code{bignum} math
  2288. methods for manually performing crypto calculations on large multibyte
  2289. integers.")
  2290. (license license:expat)))
  2291. (define-public r-httr
  2292. (package
  2293. (name "r-httr")
  2294. (version "1.4.2")
  2295. (source (origin
  2296. (method url-fetch)
  2297. (uri (cran-uri "httr" version))
  2298. (sha256
  2299. (base32
  2300. "1y8y1g1dkgv9jafrk1kj6pzxpw95c0rr9lplblfq2byrs1pfsas6"))))
  2301. (build-system r-build-system)
  2302. (propagated-inputs
  2303. `(("r-curl" ,r-curl)
  2304. ("r-jsonlite" ,r-jsonlite)
  2305. ("r-openssl" ,r-openssl)
  2306. ("r-mime" ,r-mime)
  2307. ("r-r6" ,r-r6)))
  2308. (native-inputs
  2309. `(("r-knitr" ,r-knitr)))
  2310. (home-page "https://github.com/hadley/httr")
  2311. (synopsis "Tools for working with URLs and HTTP")
  2312. (description
  2313. "The aim of httr is to provide a wrapper for RCurl customised to the
  2314. demands of modern web APIs. It provides useful tools for working with HTTP
  2315. organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
  2316. functions make it easy to control additional request components.")
  2317. (license license:expat)))
  2318. (define-public r-git2r
  2319. (package
  2320. (name "r-git2r")
  2321. (version "0.28.0")
  2322. (source (origin
  2323. (method url-fetch)
  2324. (uri (cran-uri "git2r" version))
  2325. (sha256
  2326. (base32
  2327. "1wjmbs9cmm16pm3g0rmqp7cxxyh95m5lgx4fx5bpgj6j466i8vff"))))
  2328. (build-system r-build-system)
  2329. (inputs
  2330. `(("libgit2" ,libgit2)
  2331. ("zlib" ,zlib)))
  2332. (native-inputs
  2333. `(("pkg-config" ,pkg-config)))
  2334. (home-page "https://github.com/ropensci/git2r")
  2335. (synopsis "Access Git repositories with R")
  2336. (description
  2337. "This package provides an R interface to the libgit2 library, which is a
  2338. pure C implementation of the Git core methods.")
  2339. ;; GPLv2 only with linking exception.
  2340. (license license:gpl2)))
  2341. (define-public r-rstudioapi
  2342. (package
  2343. (name "r-rstudioapi")
  2344. (version "0.13")
  2345. (source (origin
  2346. (method url-fetch)
  2347. (uri (cran-uri "rstudioapi" version))
  2348. (sha256
  2349. (base32
  2350. "12vdfzzjc6mv4h105l8cp108j3hjk0mqmg23m6mqr3jarfymphxa"))))
  2351. (build-system r-build-system)
  2352. (native-inputs
  2353. `(("r-knitr" ,r-knitr)))
  2354. (home-page "https://cran.r-project.org/web/packages/rstudioapi")
  2355. (synopsis "Safely access the RStudio API")
  2356. (description
  2357. "This package provides functions to access the RStudio API and provide
  2358. informative error messages when it's not available.")
  2359. (license license:expat)))
  2360. (define-public r-devtools
  2361. (package
  2362. (name "r-devtools")
  2363. (version "2.4.2")
  2364. (source (origin
  2365. (method url-fetch)
  2366. (uri (cran-uri "devtools" version))
  2367. (sha256
  2368. (base32
  2369. "01cg2ykg0av6z7bgl41njcxcii8vjj8ipch26xazp4yjai8abw3i"))))
  2370. (build-system r-build-system)
  2371. (propagated-inputs
  2372. `(("r-callr" ,r-callr)
  2373. ("r-cli" ,r-cli)
  2374. ("r-desc" ,r-desc)
  2375. ("r-ellipsis" ,r-ellipsis)
  2376. ("r-fs" ,r-fs)
  2377. ("r-httr" ,r-httr)
  2378. ("r-lifecycle" ,r-lifecycle)
  2379. ("r-memoise" ,r-memoise)
  2380. ("r-pkgbuild" ,r-pkgbuild)
  2381. ("r-pkgload" ,r-pkgload)
  2382. ("r-rcmdcheck" ,r-rcmdcheck)
  2383. ("r-remotes" ,r-remotes)
  2384. ("r-rlang" ,r-rlang)
  2385. ("r-roxygen2" ,r-roxygen2)
  2386. ("r-rstudioapi" ,r-rstudioapi)
  2387. ("r-rversions" ,r-rversions)
  2388. ("r-sessioninfo" ,r-sessioninfo)
  2389. ("r-testthat" ,r-testthat)
  2390. ("r-usethis" ,r-usethis)
  2391. ("r-withr" ,r-withr)))
  2392. (native-inputs
  2393. `(("r-knitr" ,r-knitr)))
  2394. (home-page "https://github.com/hadley/devtools")
  2395. (synopsis "Tools to make developing R packages easier")
  2396. (description "The devtools package is a collection of package development
  2397. tools to simplify the devolpment of R packages.")
  2398. (license license:gpl2+)))
  2399. (define-public r-withr
  2400. (package
  2401. (name "r-withr")
  2402. (version "2.4.2")
  2403. (source (origin
  2404. (method url-fetch)
  2405. (uri (cran-uri "withr" version))
  2406. (sha256
  2407. (base32
  2408. "1j5srffi748yxphwli56lkbh4cga0kmz38dyzganzkw0nx66mya8"))))
  2409. (build-system r-build-system)
  2410. (native-inputs
  2411. `(("r-knitr" ,r-knitr)))
  2412. (home-page "https://github.com/jimhester/withr")
  2413. (synopsis "Run code with temporarily modified global state")
  2414. (description
  2415. "This package provides a set of functions to run R code in an environment
  2416. in which global state has been temporarily modified. Many of these functions
  2417. were originally a part of the r-devtools package.")
  2418. (license license:gpl2+)))
  2419. (define-public r-hms
  2420. (package
  2421. (name "r-hms")
  2422. (version "1.1.0")
  2423. (source
  2424. (origin
  2425. (method url-fetch)
  2426. (uri (cran-uri "hms" version))
  2427. (sha256
  2428. (base32
  2429. "1kmlw5hs2c69qgkkipjxb6j05wdk6jiqrac3y4z9ds63c3r9lng8"))))
  2430. (build-system r-build-system)
  2431. (propagated-inputs
  2432. `(("r-ellipsis" ,r-ellipsis)
  2433. ("r-lifecycle" ,r-lifecycle)
  2434. ("r-pkgconfig" ,r-pkgconfig)
  2435. ("r-rlang" ,r-rlang)
  2436. ("r-vctrs" ,r-vctrs)))
  2437. (home-page "https://github.com/rstats-db/hms")
  2438. (synopsis "Pretty time of day")
  2439. (description
  2440. "This package implements an S3 class for storing and formatting
  2441. time-of-day values, based on the @code{difftime} class.")
  2442. (license license:gpl3+)))
  2443. (define-public r-readr
  2444. (package
  2445. (name "r-readr")
  2446. (version "2.0.1")
  2447. (source (origin
  2448. (method url-fetch)
  2449. (uri (cran-uri "readr" version))
  2450. (sha256
  2451. (base32
  2452. "0cj5k3ykkhixgdsqm1gnmpc0d8z04l3fhvm2dr5xp7cpmhgsrpfr"))))
  2453. (build-system r-build-system)
  2454. (propagated-inputs
  2455. `(("r-cli" ,r-cli)
  2456. ("r-clipr" ,r-clipr)
  2457. ("r-cpp11" ,r-cpp11)
  2458. ("r-crayon" ,r-crayon)
  2459. ("r-hms" ,r-hms)
  2460. ("r-lifecycle" ,r-lifecycle)
  2461. ("r-tibble" ,r-tibble)
  2462. ("r-r6" ,r-r6)
  2463. ("r-rlang" ,r-rlang)
  2464. ("r-tzdb" ,r-tzdb)
  2465. ("r-vroom" ,r-vroom)))
  2466. (native-inputs
  2467. `(("r-knitr" ,r-knitr)))
  2468. (home-page "https://github.com/hadley/readr")
  2469. (synopsis "Read tabular data")
  2470. (description
  2471. "This package provides functions to read flat or tabular text files from
  2472. disk (or a connection).")
  2473. (license license:gpl2+)))
  2474. (define-public r-plotrix
  2475. (package
  2476. (name "r-plotrix")
  2477. (version "3.8-1")
  2478. (source (origin
  2479. (method url-fetch)
  2480. (uri (cran-uri "plotrix" version))
  2481. (sha256
  2482. (base32
  2483. "0pxfaalwwmnpv19nff0cg6b871m6gjhhmx63fpxm7730z75qh663"))))
  2484. (build-system r-build-system)
  2485. (home-page "https://cran.r-project.org/web/packages/plotrix")
  2486. (synopsis "Various plotting functions")
  2487. (description
  2488. "This package provides lots of plotting, various labeling, axis and color
  2489. scaling functions for R.")
  2490. (license license:gpl2+)))
  2491. (define-public r-gridbase
  2492. (package
  2493. (name "r-gridbase")
  2494. (version "0.4-7")
  2495. (source (origin
  2496. (method url-fetch)
  2497. (uri (cran-uri "gridBase" version))
  2498. (sha256
  2499. (base32
  2500. "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
  2501. (build-system r-build-system)
  2502. (home-page "https://cran.r-project.org/web/packages/gridBase")
  2503. (synopsis "Integration of base and grid graphics")
  2504. (description
  2505. "This package provides an integration of base and grid graphics for R.")
  2506. (license license:gpl2+)))
  2507. (define-public r-latticeextra
  2508. (package
  2509. (name "r-latticeextra")
  2510. (version "0.6-29")
  2511. (source
  2512. (origin
  2513. (method url-fetch)
  2514. (uri (cran-uri "latticeExtra" version))
  2515. (sha256
  2516. (base32
  2517. "04fzwcqs594rk5qp98yilh3kdh3sw4xf8wld5rp94ggpaqfw7bbc"))))
  2518. (properties `((upstream-name . "latticeExtra")))
  2519. (build-system r-build-system)
  2520. (propagated-inputs
  2521. `(("r-jpeg" ,r-jpeg)
  2522. ("r-lattice" ,r-lattice)
  2523. ("r-png" ,r-png)
  2524. ("r-rcolorbrewer" ,r-rcolorbrewer)))
  2525. (home-page "http://latticeextra.r-forge.r-project.org/")
  2526. (synopsis "Extra graphical utilities based on lattice")
  2527. (description
  2528. "Building on the infrastructure provided by the lattice package, this
  2529. package provides several new high-level graphics functions and methods, as
  2530. well as additional utilities such as panel and axis annotation functions.")
  2531. (license license:gpl2+)))
  2532. (define-public r-rcpparmadillo
  2533. (package
  2534. (name "r-rcpparmadillo")
  2535. (version "0.10.6.0.0")
  2536. (source (origin
  2537. (method url-fetch)
  2538. (uri (cran-uri "RcppArmadillo" version))
  2539. (sha256
  2540. (base32
  2541. "1bcx8fk5l5mmwb6cw36ndvld9v3amkz6vyc19059dw0xp7mxx04v"))))
  2542. (properties `((upstream-name . "RcppArmadillo")))
  2543. (build-system r-build-system)
  2544. (propagated-inputs
  2545. `(("r-rcpp" ,r-rcpp)))
  2546. (home-page "https://github.com/RcppCore/RcppArmadillo")
  2547. (synopsis "Rcpp integration for the Armadillo linear algebra library")
  2548. (description
  2549. "Armadillo is a templated C++ linear algebra library that aims towards a
  2550. good balance between speed and ease of use. Integer, floating point and
  2551. complex numbers are supported, as well as a subset of trigonometric and
  2552. statistics functions. Various matrix decompositions are provided through
  2553. optional integration with LAPACK and ATLAS libraries. This package includes
  2554. the header files from the templated Armadillo library.")
  2555. ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
  2556. ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
  2557. ;; later, as is the rest of 'Rcpp'.
  2558. (license license:gpl2+)))
  2559. (define-public r-bitops
  2560. (package
  2561. (name "r-bitops")
  2562. (version "1.0-7")
  2563. (source (origin
  2564. (method url-fetch)
  2565. (uri (cran-uri "bitops" version))
  2566. (sha256
  2567. (base32
  2568. "1i0phmq5yynla5x0frqll1gbf5ww59p3sgz1s06a354zqf9grdg9"))))
  2569. (build-system r-build-system)
  2570. (home-page "https://cran.r-project.org/web/packages/bitops")
  2571. (synopsis "Bitwise operations")
  2572. (description
  2573. "This package provides functions for bitwise operations on integer
  2574. vectors.")
  2575. (license license:gpl2+)))
  2576. (define-public r-catools
  2577. (package
  2578. (name "r-catools")
  2579. (version "1.18.2")
  2580. (source (origin
  2581. (method url-fetch)
  2582. (uri (cran-uri "caTools" version))
  2583. (sha256
  2584. (base32
  2585. "14q2ry8gaszjl0m97qg62dxv5bpj6k02qwyi7q2lnxgcmwai3mkm"))))
  2586. (properties `((upstream-name . "caTools")))
  2587. (build-system r-build-system)
  2588. (propagated-inputs
  2589. `(("r-bitops" ,r-bitops)))
  2590. (home-page "https://cran.r-project.org/web/packages/caTools")
  2591. (synopsis "Various tools including functions for moving window statistics")
  2592. (description
  2593. "This package contains several basic utility functions including:
  2594. moving (rolling, running) window statistic functions, read/write for GIF and
  2595. ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
  2596. encoder/decoder, round-off-error-free sum and cumsum, etc.")
  2597. (license license:gpl3+)))
  2598. (define-public r-rprojroot
  2599. (package
  2600. (name "r-rprojroot")
  2601. (version "2.0.2")
  2602. (source
  2603. (origin
  2604. (method url-fetch)
  2605. (uri (cran-uri "rprojroot" version))
  2606. (sha256
  2607. (base32
  2608. "07wy07yhms8zln9qb0iwx69dq08h4lrdi8kavjcplfxcskq638az"))))
  2609. (build-system r-build-system)
  2610. (native-inputs
  2611. `(("r-knitr" ,r-knitr)))
  2612. (home-page "https://github.com/krlmlr/rprojroot")
  2613. (synopsis "Finding files in project subdirectories")
  2614. (description
  2615. "This package helps accessing files relative to a project root. It
  2616. provides helpers for robust, reliable and flexible paths to files below a
  2617. project root. The root of a project is defined as a directory that matches a
  2618. certain criterion, e.g., it contains a certain regular file.")
  2619. (license license:gpl3)))
  2620. (define-public r-rmarkdown
  2621. (package
  2622. (name "r-rmarkdown")
  2623. (version "2.10")
  2624. (source
  2625. (origin
  2626. (method url-fetch)
  2627. (uri (cran-uri "rmarkdown" version))
  2628. (sha256
  2629. (base32 "1p2cc9ysj906gkl4c6ac7s8njh32p2kcx1ib4gjj3jmfz915k9jk"))))
  2630. (properties `((upstream-name . "rmarkdown")))
  2631. (build-system r-build-system)
  2632. (propagated-inputs
  2633. `(("r-evaluate" ,r-evaluate)
  2634. ("r-htmltools" ,r-htmltools)
  2635. ("r-jsonlite" ,r-jsonlite)
  2636. ("r-knitr" ,r-knitr)
  2637. ("r-stringr" ,r-stringr)
  2638. ("r-tinytex" ,r-tinytex)
  2639. ("r-xfun" ,r-xfun)
  2640. ("r-yaml" ,r-yaml)
  2641. ("pandoc" ,pandoc)
  2642. ("pandoc-citeproc" ,pandoc-citeproc)))
  2643. (native-inputs
  2644. `(("r-knitr" ,r-knitr)))
  2645. (home-page "https://rmarkdown.rstudio.com")
  2646. (synopsis "Convert R Markdown documents into a variety of formats")
  2647. (description
  2648. "This package provides tools to convert R Markdown documents into a
  2649. variety of formats.")
  2650. (license license:gpl3+)))
  2651. (define-public r-gtable
  2652. (package
  2653. (name "r-gtable")
  2654. (version "0.3.0")
  2655. (source (origin
  2656. (method url-fetch)
  2657. (uri (cran-uri "gtable" version))
  2658. (sha256
  2659. (base32
  2660. "1lyncxf2dqdjgw1071cn9c8zwzkz6sldnd5cgmicf70bc726qf7x"))))
  2661. (properties `((upstream-name . "gtable")))
  2662. (build-system r-build-system)
  2663. (home-page "https://cran.r-project.org/web/packages/gtable")
  2664. (synopsis "R library to arrange grobs in tables")
  2665. (description
  2666. "Gtable is a collection of tools to make it easier to work with
  2667. \"tables\" of grobs.")
  2668. (license license:gpl2+)))
  2669. (define-public r-gridextra
  2670. (package
  2671. (name "r-gridextra")
  2672. (version "2.3")
  2673. (source (origin
  2674. (method url-fetch)
  2675. (uri (cran-uri "gridExtra" version))
  2676. (sha256
  2677. (base32
  2678. "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
  2679. (properties `((upstream-name . "gridExtra")))
  2680. (build-system r-build-system)
  2681. (propagated-inputs
  2682. `(("r-gtable" ,r-gtable)))
  2683. (native-inputs
  2684. `(("r-knitr" ,r-knitr))) ;for building vignettes
  2685. (home-page "https://github.com/baptiste/gridextra")
  2686. (synopsis "Miscellaneous functions for \"Grid\" graphics")
  2687. (description
  2688. "This package provides a number of user-level functions to work with
  2689. @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
  2690. and draw tables.")
  2691. (license license:gpl2+)))
  2692. (define-public r-pkgconfig
  2693. (package
  2694. (name "r-pkgconfig")
  2695. (version "2.0.3")
  2696. (source (origin
  2697. (method url-fetch)
  2698. (uri (cran-uri "pkgconfig" version))
  2699. (sha256
  2700. (base32
  2701. "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
  2702. (build-system r-build-system)
  2703. (home-page "https://github.com/gaborcsardi/pkgconfig")
  2704. (synopsis "Private configuration for R packages")
  2705. (description "This package provides the functionality to set configuration
  2706. options on a per-package basis. Options set by a given package only apply to
  2707. that package, other packages are unaffected.")
  2708. (license license:expat)))
  2709. (define-public r-blob
  2710. (package
  2711. (name "r-blob")
  2712. (version "1.2.2")
  2713. (source (origin
  2714. (method url-fetch)
  2715. (uri (cran-uri "blob" version))
  2716. (sha256
  2717. (base32
  2718. "1yn7f13icaix0apxp4drnciwdn8bx8xmbd129jd7ck4rcly0axj9"))))
  2719. (build-system r-build-system)
  2720. (propagated-inputs
  2721. `(("r-rlang" ,r-rlang)
  2722. ("r-vctrs" ,r-vctrs)))
  2723. (home-page "https://github.com/hadley/blob")
  2724. (synopsis "Simple S3 Class for representing vectors of binary data")
  2725. (description "Raw vectors in R are useful for storing a single binary
  2726. object. What if you want to put a vector of them in a data frame? The blob
  2727. package provides the blob object, a list of raw vectors, suitable for use as
  2728. a column in data frame.")
  2729. (license license:gpl3+)))
  2730. (define-public r-rsqlite
  2731. (package
  2732. (name "r-rsqlite")
  2733. (version "2.2.8")
  2734. (source (origin
  2735. (method url-fetch)
  2736. (uri (cran-uri "RSQLite" version))
  2737. (sha256
  2738. (base32
  2739. "1hscgi11px9hq0sx78c2lkfzq121rlvmhxmqf305xg6lgqdxr2hv"))))
  2740. (properties `((upstream-name . "RSQLite")))
  2741. (build-system r-build-system)
  2742. (propagated-inputs
  2743. `(("r-dbi" ,r-dbi)
  2744. ("r-memoise" ,r-memoise)
  2745. ("r-plogr" ,r-plogr)
  2746. ("r-rcpp" ,r-rcpp)
  2747. ("r-bit64" ,r-bit64)
  2748. ("r-blob" ,r-blob)
  2749. ("r-pkgconfig" ,r-pkgconfig)))
  2750. (native-inputs
  2751. `(("r-knitr" ,r-knitr)))
  2752. (home-page "https://github.com/rstats-db/RSQLite")
  2753. (synopsis "SQLite interface for R")
  2754. (description
  2755. "This package embeds the SQLite database engine in R and provides an
  2756. interface compliant with the DBI package. The source for the SQLite
  2757. engine (version 3.8.8.2) is included.")
  2758. (license license:lgpl2.0+)))
  2759. (define-public r-rcurl
  2760. (package
  2761. (name "r-rcurl")
  2762. (version "1.95-0.1.2")
  2763. (source (origin
  2764. (method url-fetch)
  2765. (uri (string-append "https://www.bioconductor.org/packages/"
  2766. "release/extra/src/"
  2767. "contrib/RCurl_" version ".tar.gz"))
  2768. (sha256
  2769. (base32
  2770. "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
  2771. (properties `((upstream-name . "RCurl")))
  2772. (build-system r-build-system)
  2773. (arguments
  2774. `(#:phases
  2775. (modify-phases %standard-phases
  2776. (add-after 'unpack 'respect-CURL_CA_BUNDLE
  2777. (lambda _
  2778. (substitute* "R/options.S"
  2779. (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
  2780. (string-append "\
  2781. certs = Sys.getenv(\"CURL_CA_BUNDLE\")
  2782. if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
  2783. " m)))
  2784. #t)))))
  2785. (inputs
  2786. `(("libcurl" ,curl)))
  2787. (propagated-inputs
  2788. `(("r-bitops" ,r-bitops)))
  2789. (home-page "http://www.omegahat.net/RCurl")
  2790. (synopsis "General network client interface for R")
  2791. (description
  2792. "The package allows one to compose general HTTP requests and provides
  2793. convenient functions to fetch URIs, GET and POST forms, etc. and process the
  2794. results returned by the Web server. This provides a great deal of control
  2795. over the HTTP/FTP/... connection and the form of the request while providing a
  2796. higher-level interface than is available just using R socket connections.
  2797. Additionally, the underlying implementation is robust and extensive,
  2798. supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
  2799. ldap, and also supports cookies, redirects, authentication, etc.")
  2800. (license license:bsd-3)))
  2801. (define-public r-xml
  2802. (package
  2803. (name "r-xml")
  2804. (version "3.99-0.7")
  2805. (source (origin
  2806. (method url-fetch)
  2807. (uri (cran-uri "XML" version))
  2808. (sha256
  2809. (base32
  2810. "024038g1mrzkv7b7fyrzpzpxlch3sifsnaa584g98y3c3g6jbrz0"))))
  2811. (properties
  2812. `((upstream-name . "XML")))
  2813. (build-system r-build-system)
  2814. (inputs
  2815. `(("libxml2" ,libxml2)
  2816. ("zlib" ,zlib)))
  2817. (native-inputs
  2818. `(("pkg-config" ,pkg-config)))
  2819. (home-page "http://www.omegahat.net/RSXML")
  2820. (synopsis "Tools for parsing and generating XML within R")
  2821. (description
  2822. "Many approaches for both reading and creating XML (and HTML)
  2823. documents (including DTDs), both local and accessible via HTTP or FTP. Also
  2824. offers access to an XPath \"interpreter\".")
  2825. (license license:bsd-2)))
  2826. (define-public r-xnomial
  2827. (package
  2828. (name "r-xnomial")
  2829. (version "1.0.4")
  2830. (source
  2831. (origin (method url-fetch)
  2832. (uri (cran-uri "XNomial" version))
  2833. (sha256
  2834. (base32
  2835. "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
  2836. (properties (quasiquote ((upstream-name . "XNomial"))))
  2837. (build-system r-build-system)
  2838. (home-page "https://cran.r-project.org/web/packages/XNomial")
  2839. (synopsis "Goodness-of-Fit test for multinomial data")
  2840. (description
  2841. "This package provides an exact Goodness-of-Fit test for
  2842. multinomial data with fixed probabilities. It can be used to
  2843. determine whether a set of counts fits a given expected ratio. To see
  2844. whether a set of observed counts fits an expectation, one can examine
  2845. all possible outcomes with @code{xmulti()} or a random sample of them
  2846. with @code{xmonte()} and find the probability of an observation
  2847. deviating from the expectation by at least as much as the observed.
  2848. As a measure of deviation from the expected, one can use the
  2849. log-likelihood ratio, the multinomial probability, or the classic
  2850. chi-square statistic. A histogram of the test statistic can also be
  2851. plotted and compared with the asymptotic curve.")
  2852. (license (list license:gpl2+ license:gpl3+))))
  2853. (define-public r-lambda-r
  2854. (package
  2855. (name "r-lambda-r")
  2856. (version "1.2.4")
  2857. (source (origin
  2858. (method url-fetch)
  2859. (uri (cran-uri "lambda.r" version))
  2860. (sha256
  2861. (base32
  2862. "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
  2863. (properties `((upstream-name . "lambda.r")))
  2864. (build-system r-build-system)
  2865. (propagated-inputs
  2866. `(("r-formatr" ,r-formatr)))
  2867. (home-page "https://cran.r-project.org/web/packages/lambda.r")
  2868. (synopsis "Functional programming extension for R")
  2869. (description
  2870. "This package provides a language extension to efficiently write
  2871. functional programs in R. Syntax extensions include multi-part function
  2872. definitions, pattern matching, guard statements, built-in (optional) type
  2873. safety.")
  2874. (license license:lgpl3+)))
  2875. (define-public r-futile-options
  2876. (package
  2877. (name "r-futile-options")
  2878. (version "1.0.1")
  2879. (source (origin
  2880. (method url-fetch)
  2881. (uri (cran-uri "futile.options" version))
  2882. (sha256
  2883. (base32
  2884. "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
  2885. (properties
  2886. `((upstream-name . "futile.options")))
  2887. (build-system r-build-system)
  2888. (home-page "https://cran.r-project.org/web/packages/futile.options")
  2889. (synopsis "Options management framework")
  2890. (description
  2891. "The futile.options subsystem provides an easy user-defined options
  2892. management system that is properly scoped. This means that options created
  2893. via @code{futile.options} are fully self-contained and will not collide with
  2894. options defined in other packages.")
  2895. (license license:lgpl3+)))
  2896. (define-public r-futile-logger
  2897. (package
  2898. (name "r-futile-logger")
  2899. (version "1.4.3")
  2900. (source (origin
  2901. (method url-fetch)
  2902. (uri (cran-uri "futile.logger" version))
  2903. (sha256
  2904. (base32
  2905. "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
  2906. (properties `((upstream-name . "futile.logger")))
  2907. (build-system r-build-system)
  2908. (propagated-inputs
  2909. `(("r-futile-options" ,r-futile-options)
  2910. ("r-lambda-r" ,r-lambda-r)))
  2911. (home-page "https://cran.r-project.org/web/packages/futile.logger")
  2912. (synopsis "Logging utility for R")
  2913. (description
  2914. "This package provides a simple yet powerful logging utility. Based
  2915. loosely on log4j, futile.logger takes advantage of R idioms to make logging a
  2916. convenient and easy to use replacement for @code{cat} and @code{print}
  2917. statements.")
  2918. (license license:lgpl3+)))
  2919. (define-public r-segmented
  2920. (package
  2921. (name "r-segmented")
  2922. (version "1.3-4")
  2923. (source
  2924. (origin
  2925. (method url-fetch)
  2926. (uri (cran-uri "segmented" version))
  2927. (sha256
  2928. (base32
  2929. "0bchqcy308kbywavgyg9kb4543rbkfn753q9c6d7l7aw7sxvyxl2"))))
  2930. (build-system r-build-system)
  2931. (home-page "https://cran.r-project.org/web/packages/segmented")
  2932. (synopsis "Regression models with breakpoints estimation")
  2933. (description
  2934. "Given a regression model, segmented updates the model by adding one or
  2935. more segmented (i.e., piecewise-linear) relationships. Several variables with
  2936. multiple breakpoints are allowed.")
  2937. (license (list license:gpl2+ license:gpl3+))))
  2938. (define-public r-snow
  2939. (package
  2940. (name "r-snow")
  2941. (version "0.4-3")
  2942. (source (origin
  2943. (method url-fetch)
  2944. (uri (cran-uri "snow" version))
  2945. (sha256
  2946. (base32
  2947. "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5"))))
  2948. (build-system r-build-system)
  2949. (home-page "https://cran.r-project.org/web/packages/snow")
  2950. (synopsis "Support for simple parallel computing in R")
  2951. (description
  2952. "The snow package provides support for simple parallel computing on a
  2953. network of workstations using R. A master R process calls @code{makeCluster}
  2954. to start a cluster of worker processes; the master process then uses functions
  2955. such as @code{clusterCall} and @code{clusterApply} to execute R code on the
  2956. worker processes and collect and return the results on the master.")
  2957. (license (list license:gpl2+ license:gpl3+))))
  2958. (define-public r-sparsem
  2959. (package
  2960. (name "r-sparsem")
  2961. (version "1.81")
  2962. (source (origin
  2963. (method url-fetch)
  2964. (uri (cran-uri "SparseM" version))
  2965. (sha256
  2966. (base32
  2967. "0csbqd9wm6r4162mday1iaigzf9wv2rp1zq8hnihys6f38w8z0xx"))))
  2968. (properties
  2969. `((upstream-name . "SparseM")))
  2970. (native-inputs
  2971. `(("gfortran" ,gfortran)))
  2972. (build-system r-build-system)
  2973. (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
  2974. (synopsis "Sparse linear algebra")
  2975. (description
  2976. "This package provides some basic linear algebra functionality for sparse
  2977. matrices. It includes Cholesky decomposition and backsolving as well as
  2978. standard R subsetting and Kronecker products.")
  2979. (license license:gpl2+)))
  2980. (define-public r-iterators
  2981. (package
  2982. (name "r-iterators")
  2983. (version "1.0.13")
  2984. (source
  2985. (origin
  2986. (method url-fetch)
  2987. (uri (cran-uri "iterators" version))
  2988. (sha256
  2989. (base32
  2990. "190i1y2493v5c9z8978rb3idlwsjymy67k1assa9znljqbj313kp"))))
  2991. (build-system r-build-system)
  2992. (home-page "https://cran.r-project.org/web/packages/iterators")
  2993. (synopsis "Iterator construct for R")
  2994. (description
  2995. "This package provides support for iterators, which allow a programmer to
  2996. traverse through all the elements of a vector, list, or other collection of
  2997. data.")
  2998. (license license:asl2.0)))
  2999. (define-public r-foreach
  3000. (package
  3001. (name "r-foreach")
  3002. (version "1.5.1")
  3003. (source
  3004. (origin
  3005. (method url-fetch)
  3006. (uri (cran-uri "foreach" version))
  3007. (sha256
  3008. (base32
  3009. "1qb83b1jvpmk8d6kfibkm5q2hiki0x5gipy758mwa62n56gdcnpv"))))
  3010. (build-system r-build-system)
  3011. (propagated-inputs
  3012. `(("r-codetools" ,r-codetools)
  3013. ("r-iterators" ,r-iterators)))
  3014. (native-inputs
  3015. `(("r-knitr" ,r-knitr)))
  3016. (home-page "https://cran.r-project.org/web/packages/foreach")
  3017. (synopsis "Foreach looping construct for R")
  3018. (description
  3019. "This package provides support for the @code{foreach} looping construct.
  3020. @code{foreach} is an idiom that allows for iterating over elements in a
  3021. collection, without the use of an explicit loop counter. This package in
  3022. particular is intended to be used for its return value, rather than for its
  3023. side effects. In that sense, it is similar to the standard @code{lapply}
  3024. function, but doesn't require the evaluation of a function. Using
  3025. @code{foreach} without side effects also facilitates executing the loop in
  3026. parallel.")
  3027. (license license:asl2.0)))
  3028. (define-public r-doparallel
  3029. (package
  3030. (name "r-doparallel")
  3031. (version "1.0.16")
  3032. (source
  3033. (origin
  3034. (method url-fetch)
  3035. (uri (cran-uri "doParallel" version))
  3036. (sha256
  3037. (base32
  3038. "1cjf0mxrxgls5pl7aj22fv9j488craib1wkc9np4f3gkckwjdfzi"))))
  3039. (properties `((upstream-name . "doParallel")))
  3040. (build-system r-build-system)
  3041. (propagated-inputs
  3042. `(("r-foreach" ,r-foreach)
  3043. ("r-iterators" ,r-iterators)))
  3044. (home-page "https://cran.r-project.org/web/packages/doParallel")
  3045. (synopsis "Foreach parallel adaptor for the 'parallel' package")
  3046. (description
  3047. "This package provides a parallel backend for the @code{%dopar%} function
  3048. using the parallel package.")
  3049. (license license:gpl2+)))
  3050. (define-public r-domc
  3051. (package
  3052. (name "r-domc")
  3053. (version "1.3.7")
  3054. (source
  3055. (origin
  3056. (method url-fetch)
  3057. (uri (cran-uri "doMC" version))
  3058. (sha256
  3059. (base32
  3060. "0kdmfhp5m1wisjbfyl9d040jrmjmhcgjb0vdi536g2i9vixb5yny"))))
  3061. (properties `((upstream-name . "doMC")))
  3062. (build-system r-build-system)
  3063. (propagated-inputs
  3064. `(("r-foreach" ,r-foreach)
  3065. ("r-iterators" ,r-iterators)))
  3066. (home-page "https://cran.r-project.org/web/packages/doMC")
  3067. (synopsis "Foreach parallel adaptor for the 'parallel' package")
  3068. (description
  3069. "This package provides a parallel backend for the @code{%dopar%} function
  3070. using the multicore functionality of the parallel package.")
  3071. (license license:gpl2+)))
  3072. (define-public r-dt
  3073. (package
  3074. (name "r-dt")
  3075. (version "0.18")
  3076. (source (origin
  3077. (method url-fetch)
  3078. (uri (cran-uri "DT" version))
  3079. (sha256
  3080. (base32
  3081. "1vxqmj01504k9639m2cig1s4qflz3dj54h9rgx5qa72fpkvkk411"))))
  3082. (properties
  3083. `((upstream-name . "DT")))
  3084. (build-system r-build-system)
  3085. (propagated-inputs
  3086. `(("r-crosstalk" ,r-crosstalk)
  3087. ("r-htmltools" ,r-htmltools)
  3088. ("r-htmlwidgets" ,r-htmlwidgets)
  3089. ("r-jsonlite" ,r-jsonlite)
  3090. ("r-magrittr" ,r-magrittr)
  3091. ("r-promises" ,r-promises)))
  3092. (native-inputs
  3093. `(("r-knitr" ,r-knitr)))
  3094. (home-page "https://rstudio.github.io/DT")
  3095. (synopsis "R wrapper of the DataTables JavaScript library")
  3096. (description
  3097. "This package allows for data objects in R to be rendered as HTML tables
  3098. using the JavaScript library @code{DataTables} (typically via R Markdown or
  3099. Shiny). The @code{DataTables} library has been included in this R package.")
  3100. ;; The DT package as a whole is distributed under GPLv3. The DT package
  3101. ;; inludes other software components under different licenses:
  3102. ;;
  3103. ;; * Expat: jQuery, jquery.highlight.js, DataTables
  3104. ;; * ASL2.0: selectize.js
  3105. ;; * WTFPL: noUiSlider
  3106. (license (list license:gpl3
  3107. license:expat
  3108. license:asl2.0
  3109. license:wtfpl2))))
  3110. (define-public r-base64enc
  3111. (package
  3112. (name "r-base64enc")
  3113. (version "0.1-3")
  3114. (source (origin
  3115. (method url-fetch)
  3116. (uri (cran-uri "base64enc" version))
  3117. (sha256
  3118. (base32
  3119. "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
  3120. (build-system r-build-system)
  3121. (home-page "https://www.rforge.net/base64enc")
  3122. (synopsis "Tools for Base64 encoding")
  3123. (description
  3124. "This package provides tools for handling Base64 encoding. It is more
  3125. flexible than the orphaned \"base64\" package.")
  3126. (license license:gpl2+)))
  3127. (define-public r-irlba
  3128. (package
  3129. (name "r-irlba")
  3130. (version "2.3.3")
  3131. (source
  3132. (origin
  3133. (method url-fetch)
  3134. (uri (cran-uri "irlba" version))
  3135. (sha256
  3136. (base32
  3137. "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
  3138. (build-system r-build-system)
  3139. (propagated-inputs
  3140. `(("r-matrix" ,r-matrix)))
  3141. (home-page "https://cran.r-project.org/web/packages/irlba")
  3142. (synopsis "Methods for eigendecomposition of large matrices")
  3143. (description
  3144. "This package provides fast and memory efficient methods for truncated
  3145. singular and eigenvalue decompositions, as well as for principal component
  3146. analysis of large sparse or dense matrices.")
  3147. (license (list license:gpl2+ license:gpl3+))))
  3148. (define-public r-glmnet
  3149. (package
  3150. (name "r-glmnet")
  3151. (version "4.1-2")
  3152. (source
  3153. (origin
  3154. (method url-fetch)
  3155. (uri (cran-uri "glmnet" version))
  3156. (sha256
  3157. (base32 "1kfd8kfhapx2cxw6qnkbs502c3kya4pd9qmf0mk76cdlq1c2paq6"))))
  3158. (build-system r-build-system)
  3159. (native-inputs
  3160. `(("gfortran" ,gfortran)
  3161. ("r-knitr" ,r-knitr)))
  3162. (propagated-inputs
  3163. `(("r-foreach" ,r-foreach)
  3164. ("r-matrix" ,r-matrix)
  3165. ("r-shape" ,r-shape)
  3166. ("r-survival" ,r-survival)))
  3167. (home-page "https://www.jstatsoft.org/article/view/v033i01")
  3168. (synopsis "Lasso and elastic-net regularized generalized linear models")
  3169. (description
  3170. "The glmnet package provides efficient procedures for fitting the entire
  3171. lasso or elastic-net regularization path for linear and Poisson regression, as
  3172. well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
  3173. multinomial models. The algorithm uses cyclical coordinate descent in a
  3174. path-wise fashion.")
  3175. (license license:gpl2+)))
  3176. (define-public r-pkgmaker
  3177. (package
  3178. (name "r-pkgmaker")
  3179. (version "0.32.2")
  3180. (source
  3181. (origin
  3182. (method url-fetch)
  3183. (uri (cran-uri "pkgmaker" version))
  3184. (sha256
  3185. (base32
  3186. "14ggsd24n5g5rvn0wl4w90ipxzmywqikh28llj89q6kpxwnv4iff"))))
  3187. (build-system r-build-system)
  3188. (propagated-inputs
  3189. `(("r-assertthat" ,r-assertthat)
  3190. ("r-codetools" ,r-codetools)
  3191. ("r-digest" ,r-digest)
  3192. ("r-registry" ,r-registry)
  3193. ("r-stringr" ,r-stringr)
  3194. ("r-withr" ,r-withr)
  3195. ("r-xtable" ,r-xtable)))
  3196. (home-page "https://renozao.github.io/pkgmaker")
  3197. (synopsis "Package development utilities")
  3198. (description
  3199. "This package provides some low-level utilities to use for R package
  3200. development. It currently provides managers for multiple package specific
  3201. options and registries, vignette, unit test and bibtex related utilities.")
  3202. (license license:gpl2+)))
  3203. (define-public r-registry
  3204. (package
  3205. (name "r-registry")
  3206. (version "0.5-1")
  3207. (source
  3208. (origin
  3209. (method url-fetch)
  3210. (uri (cran-uri "registry" version))
  3211. (sha256
  3212. (base32
  3213. "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
  3214. (build-system r-build-system)
  3215. (home-page "https://cran.r-project.org/web/packages/registry")
  3216. (synopsis "Infrastructure for R package registries")
  3217. (description
  3218. "This package provides a generic infrastructure for creating and using R
  3219. package registries.")
  3220. (license license:gpl2+)))
  3221. (define-public r-rngtools
  3222. (package
  3223. (name "r-rngtools")
  3224. (version "1.5")
  3225. (source
  3226. (origin
  3227. (method url-fetch)
  3228. (uri (cran-uri "rngtools" version))
  3229. (sha256
  3230. (base32
  3231. "0xgmg3qb6insc157as47mcm9sdjdpy9jirh7w06bxb7pfcxqfx42"))))
  3232. (build-system r-build-system)
  3233. (propagated-inputs
  3234. `(("r-digest" ,r-digest)))
  3235. (home-page "https://renozao.github.io/rngtools")
  3236. (synopsis "Utility functions for working with random number generators")
  3237. (description
  3238. "This package contains a set of functions for working with Random Number
  3239. Generators (RNGs). In particular, it defines a generic S4 framework for
  3240. getting/setting the current RNG, or RNG data that are embedded into objects
  3241. for reproducibility. Notably, convenient default methods greatly facilitate
  3242. the way current RNG settings can be changed.")
  3243. (license license:gpl3+)))
  3244. (define-public r-rtsne
  3245. (package
  3246. (name "r-rtsne")
  3247. (version "0.15")
  3248. (source
  3249. (origin
  3250. (method url-fetch)
  3251. (uri (cran-uri "Rtsne" version))
  3252. (sha256
  3253. (base32
  3254. "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
  3255. (properties `((upstream-name . "Rtsne")))
  3256. (build-system r-build-system)
  3257. (propagated-inputs
  3258. `(("r-rcpp" ,r-rcpp)))
  3259. (home-page "https://github.com/jkrijthe/Rtsne")
  3260. (synopsis "T-distributed stochastic neighbor embedding")
  3261. (description
  3262. "This package provides an R wrapper around the fast T-distributed
  3263. Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
  3264. ;; The declared license for this package is BSD-3, but it also includes
  3265. ;; code licensed under BSD-4.
  3266. (license (list license:bsd-3 license:bsd-4))))
  3267. (define-public r-e1071
  3268. (package
  3269. (name "r-e1071")
  3270. (version "1.7-8")
  3271. (source
  3272. (origin
  3273. (method url-fetch)
  3274. (uri (cran-uri "e1071" version))
  3275. (sha256
  3276. (base32
  3277. "16lw0pr71h00whndkkv9zh2ixm6vc8bkp8m4i5wwhmihd9abdkdb"))))
  3278. (build-system r-build-system)
  3279. (propagated-inputs
  3280. `(("r-class" ,r-class)
  3281. ("r-proxy" ,r-proxy)))
  3282. (home-page "https://cran.r-project.org/web/packages/e1071")
  3283. (synopsis "Miscellaneous functions for probability theory")
  3284. (description
  3285. "This package provides functions for latent class analysis, short time
  3286. Fourier transform, fuzzy clustering, support vector machines, shortest path
  3287. computation, bagged clustering, naive Bayes classifier, and more.")
  3288. (license license:gpl2+)))
  3289. (define-public r-bigmemory-sri
  3290. (package
  3291. (name "r-bigmemory-sri")
  3292. (version "0.1.3")
  3293. (source
  3294. (origin
  3295. (method url-fetch)
  3296. (uri (cran-uri "bigmemory.sri" version))
  3297. (sha256
  3298. (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
  3299. (properties
  3300. `((upstream-name . "bigmemory.sri")))
  3301. (build-system r-build-system)
  3302. (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
  3303. (synopsis "Shared resource interface for the bigmemory package")
  3304. (description "This package provides a shared resource interface for the
  3305. bigmemory and synchronicity packages.")
  3306. ;; Users can choose either LGPLv3 or ASL2.0.
  3307. (license (list license:lgpl3 license:asl2.0))))
  3308. (define-public r-synchronicity
  3309. (package
  3310. (name "r-synchronicity")
  3311. (version "1.3.5")
  3312. (source
  3313. (origin
  3314. (method url-fetch)
  3315. (uri (cran-uri "synchronicity" version))
  3316. (sha256
  3317. (base32
  3318. "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
  3319. (build-system r-build-system)
  3320. (propagated-inputs
  3321. `(("r-bh" ,r-bh)
  3322. ("r-bigmemory-sri" ,r-bigmemory-sri)
  3323. ("r-rcpp" ,r-rcpp)
  3324. ("r-uuid" ,r-uuid)))
  3325. (home-page "http://www.bigmemory.org")
  3326. (synopsis "Boost mutex functionality in R")
  3327. (description "This package provides support for synchronization
  3328. via mutexes and may eventually support interprocess communication and
  3329. message passing.")
  3330. ;; Users can choose either LGPLv3 or ASL2.0.
  3331. (license (list license:lgpl3 license:asl2.0))))
  3332. (define-public r-bigmemory
  3333. (package
  3334. (name "r-bigmemory")
  3335. (version "4.5.36")
  3336. (source
  3337. (origin
  3338. (method url-fetch)
  3339. (uri (cran-uri "bigmemory" version))
  3340. (sha256
  3341. (base32
  3342. "03pg8mxdc7q0249visjmc8bc3xmwxsfg3i2n6higicj4cfz7zihq"))))
  3343. (build-system r-build-system)
  3344. (propagated-inputs
  3345. `(("r-bh" ,r-bh)
  3346. ("r-rcpp" ,r-rcpp)
  3347. ("r-bigmemory-sri" ,r-bigmemory-sri)))
  3348. (home-page "http://www.bigmemory.org")
  3349. (synopsis "Manage large matrices with shared memory or memory-mapped files")
  3350. (description "This package provides methods to create, store, access, and
  3351. manipulate large matrices. Matrices are allocated to shared memory and may use
  3352. memory-mapped files.")
  3353. ;; Users can choose either LGPLv3 or ASL2.0.
  3354. (license (list license:lgpl3 license:asl2.0))))
  3355. (define-public r-r-methodss3
  3356. (package
  3357. (name "r-r-methodss3")
  3358. (version "1.8.1")
  3359. (source (origin
  3360. (method url-fetch)
  3361. (uri (cran-uri "R.methodsS3" version))
  3362. (sha256
  3363. (base32
  3364. "16v1br7lf7vxv40z65giv9jnqkpnyqagcmgqa0s1jy7spj0zp64a"))))
  3365. (properties `((upstream-name . "R.methodsS3")))
  3366. (build-system r-build-system)
  3367. (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
  3368. (synopsis "S3 methods simplified")
  3369. (description
  3370. "This package provides methods that simplify the setup of S3 generic
  3371. functions and S3 methods. Major effort has been made in making definition of
  3372. methods as simple as possible with a minimum of maintenance for package
  3373. developers. For example, generic functions are created automatically, if
  3374. missing, and naming conflict are automatically solved, if possible. The
  3375. method @code{setMethodS3()} is a good start for those who in the future may
  3376. want to migrate to S4.")
  3377. (license license:lgpl2.1+)))
  3378. (define-public r-r-oo
  3379. (package
  3380. (name "r-r-oo")
  3381. (version "1.24.0")
  3382. (source (origin
  3383. (method url-fetch)
  3384. (uri (cran-uri "R.oo" version))
  3385. (sha256
  3386. (base32
  3387. "1divisff26fmiqg6vmabnwlrx079c066r8qvkakfp336vnwdm89p"))))
  3388. (properties `((upstream-name . "R.oo")))
  3389. (build-system r-build-system)
  3390. (propagated-inputs
  3391. `(("r-r-methodss3" ,r-r-methodss3)))
  3392. (home-page "https://github.com/HenrikBengtsson/R.oo")
  3393. (synopsis "R object-oriented programming with or without references")
  3394. (description
  3395. "This package provides methods and classes for object-oriented
  3396. programming in R with or without references. Large effort has been made on
  3397. making definition of methods as simple as possible with a minimum of
  3398. maintenance for package developers.")
  3399. (license license:lgpl2.1+)))
  3400. (define-public r-r-utils
  3401. (package
  3402. (name "r-r-utils")
  3403. (version "2.10.1")
  3404. (source (origin
  3405. (method url-fetch)
  3406. (uri (cran-uri "R.utils" version))
  3407. (sha256
  3408. (base32
  3409. "1gssnk73nhisc20by9kvfl4byfsmwrk6597na0x40ycck58lyylm"))))
  3410. (properties `((upstream-name . "R.utils")))
  3411. (build-system r-build-system)
  3412. (propagated-inputs
  3413. `(("r-r-methodss3" ,r-r-methodss3)
  3414. ("r-r-oo" ,r-r-oo)))
  3415. (home-page "https://github.com/HenrikBengtsson/R.utils")
  3416. (synopsis "Various programming utilities")
  3417. (description
  3418. "This package provides utility functions useful when programming and
  3419. developing R packages.")
  3420. (license license:lgpl2.1+)))
  3421. (define-public r-r-cache
  3422. (package
  3423. (name "r-r-cache")
  3424. (version "0.15.0")
  3425. (source (origin
  3426. (method url-fetch)
  3427. (uri (cran-uri "R.cache" version))
  3428. (sha256
  3429. (base32
  3430. "09pipn1974ivjh4sm3n5fjlh31rilf87p30qwq7y25vriyqd7d5d"))))
  3431. (properties `((upstream-name . "R.cache")))
  3432. (build-system r-build-system)
  3433. (arguments
  3434. `(#:phases
  3435. (modify-phases %standard-phases
  3436. (add-after 'unpack 'set-HOME
  3437. (lambda _ (setenv "HOME" "/tmp"))))))
  3438. (propagated-inputs
  3439. `(("r-digest" ,r-digest)
  3440. ("r-r-methodss3" ,r-r-methodss3)
  3441. ("r-r-oo" ,r-r-oo)
  3442. ("r-r-utils" ,r-r-utils)))
  3443. (home-page "https://github.com/HenrikBengtsson/R.cache")
  3444. (synopsis "Light-weight caching of objects and results")
  3445. (description
  3446. "This package provides methods for caching or memoization of objects and
  3447. results. With this package, any R object can be cached in a key-value storage
  3448. where the key can be an arbitrary set of R objects. The cache memory is
  3449. persistent (on the file system).")
  3450. (license license:lgpl2.1+)))
  3451. (define-public r-r-rsp
  3452. (package
  3453. (name "r-r-rsp")
  3454. (version "0.44.0")
  3455. (source (origin
  3456. (method url-fetch)
  3457. (uri (cran-uri "R.rsp" version))
  3458. (sha256
  3459. (base32
  3460. "0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9"))))
  3461. (properties `((upstream-name . "R.rsp")))
  3462. (build-system r-build-system)
  3463. (arguments
  3464. `(#:phases
  3465. (modify-phases %standard-phases
  3466. (add-after 'unpack 'set-HOME
  3467. (lambda _ (setenv "HOME" "/tmp"))))))
  3468. (propagated-inputs
  3469. `(("r-digest" ,r-digest)
  3470. ("r-r-cache" ,r-r-cache)
  3471. ("r-r-methodss3" ,r-r-methodss3)
  3472. ("r-r-oo" ,r-r-oo)
  3473. ("r-r-utils" ,r-r-utils)))
  3474. (home-page "https://github.com/HenrikBengtsson/R.rsp")
  3475. (synopsis "Dynamic generation of scientific reports")
  3476. (description
  3477. "The RSP markup language provides a powerful markup for controlling the
  3478. content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
  3479. documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
  3480. to many other literate programming languages, with RSP it is straightforward
  3481. to loop over mixtures of code and text sections, e.g. in month-by-month
  3482. summaries. RSP has also several preprocessing directives for incorporating
  3483. static and dynamic contents of external files (local or online) among other
  3484. things. RSP is ideal for self-contained scientific reports and R package
  3485. vignettes.")
  3486. (license license:lgpl2.1+)))
  3487. (define-public r-mvtnorm
  3488. (package
  3489. (name "r-mvtnorm")
  3490. (version "1.1-2")
  3491. (source (origin
  3492. (method url-fetch)
  3493. (uri (cran-uri "mvtnorm" version))
  3494. (sha256
  3495. (base32
  3496. "05wh7mprf2sim2kxh3d72pdcmml6vbikzxavws1dq6mxwlsy2p7j"))))
  3497. (build-system r-build-system)
  3498. (native-inputs
  3499. `(("gfortran" ,gfortran)))
  3500. (home-page "http://mvtnorm.R-forge.R-project.org")
  3501. (synopsis "Package for multivariate normal and t-distributions")
  3502. (description "This package can compute multivariate normal and
  3503. t-probabilities, quantiles, random deviates and densities.")
  3504. (license license:gpl2)))
  3505. (define-public r-matrixstats
  3506. (package
  3507. (name "r-matrixstats")
  3508. (version "0.60.0")
  3509. (source (origin
  3510. (method url-fetch)
  3511. (uri (cran-uri "matrixStats" version))
  3512. (sha256
  3513. (base32
  3514. "08azjib5pwqs683dpgr3p5gid0silddcq6baqmvmazncrw1r7q0f"))))
  3515. (properties `((upstream-name . "matrixStats")))
  3516. (build-system r-build-system)
  3517. (arguments
  3518. `(#:phases
  3519. (modify-phases %standard-phases
  3520. (add-after 'unpack 'set-HOME
  3521. (lambda _ (setenv "HOME" "/tmp"))))))
  3522. (native-inputs
  3523. `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
  3524. (home-page "https://github.com/HenrikBengtsson/matrixStats")
  3525. (synopsis "Methods applying to vectors and matrix rows and columns")
  3526. (description
  3527. "This package provides methods operating on rows and columns of matrices,
  3528. e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
  3529. also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
  3530. @code{weightedMedians()}. All methods have been optimized for speed and
  3531. memory usage.")
  3532. (license license:artistic2.0)))
  3533. (define-public r-viridis
  3534. (package
  3535. (name "r-viridis")
  3536. (version "0.6.1")
  3537. (source (origin
  3538. (method url-fetch)
  3539. (uri (cran-uri "viridis" version))
  3540. (sha256
  3541. (base32
  3542. "1fyax36ycjiypcnxhrv58pq67qv03vfg4lx822d38jpjly54q128"))))
  3543. (build-system r-build-system)
  3544. (propagated-inputs
  3545. `(("r-ggplot2" ,r-ggplot2)
  3546. ("r-gridextra" ,r-gridextra)
  3547. ("r-viridislite" ,r-viridislite)))
  3548. (native-inputs
  3549. `(("r-knitr" ,r-knitr))) ; for vignettes
  3550. (home-page "https://github.com/sjmgarnier/viridis")
  3551. (synopsis "Matplotlib default color map")
  3552. (description
  3553. "This package is a port of the new @url{matplotlib,
  3554. http://matplotlib.org/} color maps (@code{viridis}--the default--,
  3555. @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
  3556. designed in such a way that they will analytically be perfectly
  3557. perceptually-uniform, both in regular form and also when converted to
  3558. black-and-white. They are also designed to be perceived by readers with the
  3559. most common form of color blindness.")
  3560. (license license:x11)))
  3561. (define-public r-viridislite
  3562. (package
  3563. (name "r-viridislite")
  3564. (version "0.4.0")
  3565. (source
  3566. (origin
  3567. (method url-fetch)
  3568. (uri (cran-uri "viridisLite" version))
  3569. (sha256
  3570. (base32
  3571. "0siwr0vq80gs3sbyd542zjb0cl9av5zqdm0fqnym5g6ribf5b6c4"))))
  3572. (properties `((upstream-name . "viridisLite")))
  3573. (build-system r-build-system)
  3574. (home-page "https://github.com/sjmgarnier/viridisLite")
  3575. (synopsis "Default color maps from matplotlib")
  3576. (description
  3577. "This package is a port of the new @code{matplotlib} color maps
  3578. (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
  3579. matplotlib is a popular plotting library for Python. These color maps are
  3580. designed in such a way that they will analytically be perfectly
  3581. perceptually-uniform, both in regular form and also when converted to
  3582. black-and-white. They are also designed to be perceived by readers with the
  3583. most common form of color blindness. This is the @code{lite} version of the
  3584. more complete @code{viridis} package.")
  3585. (license license:expat)))
  3586. (define-public r-tidyselect
  3587. (package
  3588. (name "r-tidyselect")
  3589. (version "1.1.1")
  3590. (source
  3591. (origin
  3592. (method url-fetch)
  3593. (uri (cran-uri "tidyselect" version))
  3594. (sha256
  3595. (base32
  3596. "0ss8mq05mwif64cj8zmrfx0ljgy3n0fvyv7f37782shr8rknmsqq"))))
  3597. (build-system r-build-system)
  3598. (propagated-inputs
  3599. `(("r-ellipsis" ,r-ellipsis)
  3600. ("r-glue" ,r-glue)
  3601. ("r-purrr" ,r-purrr)
  3602. ("r-rlang" ,r-rlang)
  3603. ("r-vctrs" ,r-vctrs)))
  3604. (native-inputs
  3605. `(("r-knitr" ,r-knitr)))
  3606. (home-page "https://cran.r-project.org/web/packages/tidyselect")
  3607. (synopsis "Select from a set of strings")
  3608. (description
  3609. "This package provides a backend for the selecting functions of the
  3610. tidyverse. It makes it easy to implement select-like functions in your own
  3611. packages in a way that is consistent with other tidyverse interfaces for
  3612. selection.")
  3613. (license license:gpl3)))
  3614. (define-public r-tidyr
  3615. (package
  3616. (name "r-tidyr")
  3617. (version "1.1.3")
  3618. (source
  3619. (origin
  3620. (method url-fetch)
  3621. (uri (cran-uri "tidyr" version))
  3622. (sha256
  3623. (base32
  3624. "0cpbrvr759z8p7r9lpkjhj2dcdymsbnaib0rma9b4jb7i3qzmh2a"))))
  3625. (build-system r-build-system)
  3626. (propagated-inputs
  3627. `(("r-cpp11" ,r-cpp11)
  3628. ("r-dplyr" ,r-dplyr)
  3629. ("r-ellipsis" ,r-ellipsis)
  3630. ("r-magrittr" ,r-magrittr)
  3631. ("r-glue" ,r-glue)
  3632. ("r-lifecycle" ,r-lifecycle)
  3633. ("r-purrr" ,r-purrr)
  3634. ("r-rlang" ,r-rlang)
  3635. ("r-tidyselect" ,r-tidyselect)
  3636. ("r-tibble" ,r-tibble)
  3637. ("r-vctrs" ,r-vctrs)))
  3638. (native-inputs
  3639. `(("r-knitr" ,r-knitr)))
  3640. (home-page "https://github.com/hadley/tidyr")
  3641. (synopsis "Tidy data with `spread()` and `gather()` functions")
  3642. (description
  3643. "tidyr is a reframing of the reshape2 package designed to accompany the
  3644. tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
  3645. a solid pipeline for data analysis. It is designed specifically for tidying
  3646. data, not the general reshaping that reshape2 does, or the general aggregation
  3647. that reshape did. In particular, built-in methods only work for data frames,
  3648. and tidyr provides no margins or aggregation.")
  3649. (license license:expat)))
  3650. (define-public r-hexbin
  3651. (package
  3652. (name "r-hexbin")
  3653. (version "1.28.2")
  3654. (source
  3655. (origin
  3656. (method url-fetch)
  3657. (uri (cran-uri "hexbin" version))
  3658. (sha256
  3659. (base32
  3660. "0bbhs5pwxh474w62sq6gqvih7habancxng9wd4f2rgn6lv9zhhb2"))))
  3661. (build-system r-build-system)
  3662. (propagated-inputs
  3663. `(("r-lattice" ,r-lattice)))
  3664. (native-inputs
  3665. `(("gfortran" ,gfortran)
  3666. ("r-knitr" ,r-knitr))) ; for vignettes
  3667. (home-page "https://github.com/edzer/hexbin")
  3668. (synopsis "Hexagonal binning routines")
  3669. (description
  3670. "This package provides binning and plotting functions for hexagonal bins.
  3671. It uses and relies on grid graphics and formal (S4) classes and methods.")
  3672. (license license:gpl2+)))
  3673. (define-public r-purrr
  3674. (package
  3675. (name "r-purrr")
  3676. (version "0.3.4")
  3677. (source
  3678. (origin
  3679. (method url-fetch)
  3680. (uri (cran-uri "purrr" version))
  3681. (sha256
  3682. (base32
  3683. "1cj091rsjdj2xz16qhynyw72gh5cyhznifcfbrbygndfr4xwksr3"))))
  3684. (build-system r-build-system)
  3685. (propagated-inputs
  3686. `(("r-magrittr" ,r-magrittr)
  3687. ("r-rlang" ,r-rlang)))
  3688. (native-inputs
  3689. `(("r-knitr" ,r-knitr)))
  3690. (home-page "https://github.com/hadley/purrr")
  3691. (synopsis "Functional programming tools")
  3692. (description
  3693. "This package completes R's functional programming tools with missing
  3694. features present in other programming languages.")
  3695. (license license:gpl3+)))
  3696. (define-public r-plotly
  3697. (package
  3698. (name "r-plotly")
  3699. (version "4.9.4.1")
  3700. (source (origin
  3701. (method url-fetch)
  3702. (uri (cran-uri "plotly" version))
  3703. (sha256
  3704. (base32
  3705. "1q711c0lg0jmzrmcc2fhjy70ms49as7cakdbgbh2ij9s149fa7iq"))))
  3706. (build-system r-build-system)
  3707. (propagated-inputs
  3708. `(("r-base64enc" ,r-base64enc)
  3709. ("r-crosstalk" ,r-crosstalk)
  3710. ("r-digest" ,r-digest)
  3711. ("r-data-table" ,r-data-table)
  3712. ("r-dplyr" ,r-dplyr)
  3713. ("r-ggplot2" ,r-ggplot2)
  3714. ("r-htmltools" ,r-htmltools)
  3715. ("r-htmlwidgets" ,r-htmlwidgets)
  3716. ("r-httr" ,r-httr)
  3717. ("r-jsonlite" ,r-jsonlite)
  3718. ("r-lazyeval" ,r-lazyeval)
  3719. ("r-magrittr" ,r-magrittr)
  3720. ("r-promises" ,r-promises)
  3721. ("r-purrr" ,r-purrr)
  3722. ("r-rcolorbrewer" ,r-rcolorbrewer)
  3723. ("r-rlang" ,r-rlang)
  3724. ("r-scales" ,r-scales)
  3725. ("r-tibble" ,r-tibble)
  3726. ("r-tidyr" ,r-tidyr)
  3727. ("r-vctrs" ,r-vctrs)
  3728. ("r-viridislite" ,r-viridislite)))
  3729. (home-page "https://plot.ly/r")
  3730. (synopsis "Create interactive web graphics")
  3731. (description
  3732. "This package enables the translation of ggplot2 graphs to an interactive
  3733. web-based version and/or the creation of custom web-based visualizations
  3734. directly from R. Once uploaded to a plotly account, plotly graphs (and the
  3735. data behind them) can be viewed and modified in a web browser.")
  3736. (license license:x11)))
  3737. (define-public r-biased-urn
  3738. (package
  3739. (name "r-biased-urn")
  3740. (version "1.07")
  3741. (source
  3742. (origin
  3743. (method url-fetch)
  3744. (uri (cran-uri "BiasedUrn" version))
  3745. (sha256
  3746. (base32
  3747. "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
  3748. (properties `((upstream-name . "BiasedUrn")))
  3749. (build-system r-build-system)
  3750. (home-page "https://www.agner.org/random/")
  3751. (synopsis "Biased urn model distributions")
  3752. (description
  3753. "This package provides statistical models of biased sampling in the form
  3754. of univariate and multivariate noncentral hypergeometric distributions,
  3755. including Wallenius' noncentral hypergeometric distribution and Fisher's
  3756. noncentral hypergeometric distribution (also called extended hypergeometric
  3757. distribution).")
  3758. (license license:gpl3+)))
  3759. (define-public r-rematch
  3760. (package
  3761. (name "r-rematch")
  3762. (version "1.0.1")
  3763. (source
  3764. (origin
  3765. (method url-fetch)
  3766. (uri (cran-uri "rematch" version))
  3767. (sha256
  3768. (base32
  3769. "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
  3770. (build-system r-build-system)
  3771. (home-page "https://github.com/MangoTheCat/rematch")
  3772. (synopsis "Match regular expressions with a nicer API")
  3773. (description
  3774. "This package provides a small wrapper on @code{regexpr} to extract the
  3775. matches and captured groups from the match of a regular expression to a
  3776. character vector.")
  3777. (license license:expat)))
  3778. (define-public r-cellranger
  3779. (package
  3780. (name "r-cellranger")
  3781. (version "1.1.0")
  3782. (source
  3783. (origin
  3784. (method url-fetch)
  3785. (uri (cran-uri "cellranger" version))
  3786. (sha256
  3787. (base32
  3788. "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
  3789. (build-system r-build-system)
  3790. (propagated-inputs
  3791. `(("r-rematch" ,r-rematch)
  3792. ("r-tibble" ,r-tibble)))
  3793. (home-page "https://github.com/rsheets/cellranger")
  3794. (synopsis "Translate spreadsheet cell ranges to rows and columns")
  3795. (description
  3796. "This package provides helper functions to work with spreadsheets and the
  3797. @code{A1:D10} style of cell range specification.")
  3798. (license license:expat)))
  3799. (define-public r-googlesheets
  3800. (package
  3801. (name "r-googlesheets")
  3802. (version "0.3.0")
  3803. (source
  3804. (origin
  3805. (method url-fetch)
  3806. (uri (cran-uri "googlesheets" version))
  3807. (sha256
  3808. (base32
  3809. "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
  3810. (build-system r-build-system)
  3811. (propagated-inputs
  3812. `(("r-cellranger" ,r-cellranger)
  3813. ("r-dplyr" ,r-dplyr)
  3814. ("r-httr" ,r-httr)
  3815. ("r-jsonlite" ,r-jsonlite)
  3816. ("r-purrr" ,r-purrr)
  3817. ("r-readr" ,r-readr)
  3818. ("r-stringr" ,r-stringr)
  3819. ("r-tibble" ,r-tibble)
  3820. ("r-tidyr" ,r-tidyr)
  3821. ("r-xml2" ,r-xml2)))
  3822. (home-page "https://github.com/jennybc/googlesheets")
  3823. (synopsis "Manage Google spreadsheets from R")
  3824. (description "This package provides tools to interact with Google Sheets
  3825. from within R.")
  3826. (license license:expat)))
  3827. (define-public r-spams
  3828. (package
  3829. (name "r-spams")
  3830. (version "2.6-2017-03-22")
  3831. (source
  3832. (origin
  3833. (method url-fetch)
  3834. ;; Use the ‘Latest version’ link for a stable URI across releases.
  3835. (uri (string-append "https://gforge.inria.fr/frs/download.php/"
  3836. "latestfile/4531/spams-R-v" version ".tar.gz"))
  3837. (sha256
  3838. (base32
  3839. "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
  3840. (build-system r-build-system)
  3841. (arguments
  3842. `(#:phases
  3843. (modify-phases %standard-phases
  3844. (add-after 'unpack 'chdir
  3845. (lambda _ (chdir "spams") #t))
  3846. ;; Don't tune for the building machine.
  3847. (add-after 'chdir 'no-mtune
  3848. (lambda _
  3849. (substitute* "src/Makevars"
  3850. (("-mtune=native") ""))
  3851. #t)))))
  3852. (propagated-inputs
  3853. `(("r-lattice" ,r-lattice)
  3854. ("r-matrix" ,r-matrix)))
  3855. (home-page "https://spams-devel.gforge.inria.fr")
  3856. (synopsis "Toolbox for solving sparse estimation problems")
  3857. (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
  3858. for solving various sparse estimation problems. It includes tools for the
  3859. following problems:
  3860. @enumerate
  3861. @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
  3862. component analysis} (PCA), ...)
  3863. @item Solving sparse decomposition problems with LARS, coordinate descent,
  3864. OMP, SOMP, proximal methods
  3865. @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
  3866. group lasso, tree-structured regularization, structured sparsity with
  3867. overlapping groups,...).
  3868. @end enumerate\n")
  3869. (license license:gpl3+)))
  3870. (define-public r-base64
  3871. (package
  3872. (name "r-base64")
  3873. (version "2.0")
  3874. (source
  3875. (origin
  3876. (method url-fetch)
  3877. (uri (cran-uri "base64" version))
  3878. (sha256
  3879. (base32
  3880. "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
  3881. (build-system r-build-system)
  3882. (propagated-inputs
  3883. `(("r-openssl" ,r-openssl)))
  3884. (home-page "https://cran.r-project.org/web/packages/base64")
  3885. (synopsis "Base64 encoder and decoder")
  3886. (description
  3887. "This package is a compatibility wrapper to replace the orphaned package
  3888. by Romain Francois. New applications should use the openssl or base64enc
  3889. package instead.")
  3890. (license license:expat)))
  3891. (define-public r-hmisc
  3892. (package
  3893. (name "r-hmisc")
  3894. (version "4.5-0")
  3895. (source
  3896. (origin
  3897. (method url-fetch)
  3898. (uri (cran-uri "Hmisc" version))
  3899. (sha256
  3900. (base32 "11qj73zj16p113jpwn2vv06l99kqlcxcmrldbpyi5s7pwing9jnx"))))
  3901. (properties `((upstream-name . "Hmisc")))
  3902. (build-system r-build-system)
  3903. (native-inputs
  3904. `(("gfortran" ,gfortran)))
  3905. (propagated-inputs
  3906. `(("r-base64enc" ,r-base64enc)
  3907. ("r-cluster" ,r-cluster)
  3908. ("r-data-table" ,r-data-table)
  3909. ("r-foreign" ,r-foreign)
  3910. ("r-formula" ,r-formula)
  3911. ("r-ggplot2" ,r-ggplot2)
  3912. ("r-gridextra" ,r-gridextra)
  3913. ("r-gtable" ,r-gtable)
  3914. ("r-lattice" ,r-lattice)
  3915. ("r-latticeextra" ,r-latticeextra)
  3916. ("r-htmltable" ,r-htmltable)
  3917. ("r-htmltools" ,r-htmltools)
  3918. ("r-nnet" ,r-nnet)
  3919. ("r-rpart" ,r-rpart)
  3920. ("r-survival" ,r-survival)
  3921. ("r-viridis" ,r-viridis)))
  3922. (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
  3923. (synopsis "Miscellaneous data analysis and graphics functions")
  3924. (description
  3925. "This package contains many functions useful for data analysis,
  3926. high-level graphics, utility operations, functions for computing sample size
  3927. and power, importing and annotating datasets, imputing missing values,
  3928. advanced table making, variable clustering, character string manipulation,
  3929. conversion of R objects to LaTeX code, and recoding variables.")
  3930. (license license:gpl2+)))
  3931. (define-public r-runit
  3932. (package
  3933. (name "r-runit")
  3934. (version "0.4.32")
  3935. (source
  3936. (origin
  3937. (method url-fetch)
  3938. (uri (cran-uri "RUnit" version))
  3939. (sha256
  3940. (base32
  3941. "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
  3942. (properties `((upstream-name . "RUnit")))
  3943. (build-system r-build-system)
  3944. (home-page "https://cran.r-project.org/web/packages/RUnit")
  3945. (synopsis "R unit test framework")
  3946. (description
  3947. "This package provides R functions implementing a standard unit testing
  3948. framework, with additional code inspection and report generation tools.")
  3949. (license license:gpl2+)))
  3950. (define-public r-dynamictreecut
  3951. (package
  3952. (name "r-dynamictreecut")
  3953. (version "1.63-1")
  3954. (source
  3955. (origin
  3956. (method url-fetch)
  3957. (uri (cran-uri "dynamicTreeCut" version))
  3958. (sha256
  3959. (base32
  3960. "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
  3961. (properties `((upstream-name . "dynamicTreeCut")))
  3962. (build-system r-build-system)
  3963. (home-page
  3964. "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
  3965. (synopsis "Detect clusters in hierarchical clustering dendrograms")
  3966. (description
  3967. "This package contains methods for the detection of clusters in
  3968. hierarchical clustering dendrograms.")
  3969. (license license:gpl2+)))
  3970. (define-public r-fastcluster
  3971. (package
  3972. (name "r-fastcluster")
  3973. (version "1.2.3")
  3974. (source
  3975. (origin
  3976. (method url-fetch)
  3977. (uri (cran-uri "fastcluster" version))
  3978. (sha256
  3979. (base32
  3980. "009amz7i5yndqw2008fgd3p11n4fsb291k2ypg3pip6dw4lr28hz"))))
  3981. (build-system r-build-system)
  3982. (home-page "http://danifold.net/fastcluster.html")
  3983. (synopsis "Fast hierarchical clustering routines")
  3984. (description
  3985. "This package implements fast hierarchical, agglomerative clustering
  3986. routines. Part of the functionality is designed as drop-in replacement for
  3987. existing routines: @code{linkage()} in the SciPy package
  3988. @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
  3989. and the @code{flashClust} package. It provides the same functionality with
  3990. the benefit of a much faster implementation. Moreover, there are
  3991. memory-saving routines for clustering of vector data, which go beyond what the
  3992. existing packages provide.")
  3993. (license license:bsd-2)))
  3994. (define-public r-sfsmisc
  3995. (package
  3996. (name "r-sfsmisc")
  3997. (version "1.1-11")
  3998. (source
  3999. (origin
  4000. (method url-fetch)
  4001. (uri (cran-uri "sfsmisc" version))
  4002. (sha256
  4003. (base32
  4004. "1qm39v2a41rgiv1hxwxl06grgbmjgg3r2ch5df3zsf82rs9fv2n7"))))
  4005. (build-system r-build-system)
  4006. (home-page "https://cran.r-project.org/web/packages/sfsmisc")
  4007. (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
  4008. (description
  4009. "This package provides useful utilities from Seminar fuer Statistik ETH
  4010. Zurich, including many that are related to graphics.")
  4011. (license license:gpl2+)))
  4012. (define-public r-gtools
  4013. (package
  4014. (name "r-gtools")
  4015. (version "3.9.2")
  4016. (source
  4017. (origin
  4018. (method url-fetch)
  4019. (uri (cran-uri "gtools" version))
  4020. (sha256
  4021. (base32
  4022. "0lx97yafrms2mjym8rhcq5586z7s1iqgy8qfm4px3xl1yn5qkc83"))))
  4023. (build-system r-build-system)
  4024. (home-page "https://cran.r-project.org/web/packages/gtools")
  4025. (synopsis "Various R programming tools")
  4026. (description
  4027. "This package contains a collection of various functions to assist in R
  4028. programming, such as tools to assist in developing, updating, and maintaining
  4029. R and R packages, calculating the logit and inverse logit transformations,
  4030. tests for whether a value is missing, empty or contains only @code{NA} and
  4031. @code{NULL} values, and many more.")
  4032. (license license:gpl2)))
  4033. (define-public r-gdata
  4034. (package
  4035. (name "r-gdata")
  4036. (version "2.18.0")
  4037. (source
  4038. (origin
  4039. (method url-fetch)
  4040. (uri (cran-uri "gdata" version))
  4041. (sha256
  4042. (base32
  4043. "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
  4044. (build-system r-build-system)
  4045. (inputs
  4046. `(("perl" ,perl)))
  4047. (propagated-inputs
  4048. `(("r-gtools" ,r-gtools)))
  4049. (home-page "https://cran.r-project.org/web/packages/gdata")
  4050. (synopsis "Various R programming tools for data manipulation")
  4051. (description
  4052. "This package provides various R programming tools for data manipulation,
  4053. including:
  4054. @itemize
  4055. @item medical unit conversions
  4056. @item combining objects
  4057. @item character vector operations
  4058. @item factor manipulation
  4059. @item obtaining information about R objects
  4060. @item manipulating MS-Excel formatted files
  4061. @item generating fixed-width format files
  4062. @item extricating components of date and time objects
  4063. @item operations on columns of data frames
  4064. @item matrix operations
  4065. @item operations on vectors and data frames
  4066. @item value of last evaluated expression
  4067. @item wrapper for @code{sample} that ensures consistent behavior for
  4068. both scalar and vector arguments
  4069. @end itemize\n")
  4070. (license license:gpl2+)))
  4071. (define-public r-gplots
  4072. (package
  4073. (name "r-gplots")
  4074. (version "3.1.1")
  4075. (source
  4076. (origin
  4077. (method url-fetch)
  4078. (uri (cran-uri "gplots" version))
  4079. (sha256
  4080. (base32
  4081. "0f8khaymz383w2ksnk80d4kpnvgmdk37pbycpsnl2vabaz11kbpr"))))
  4082. (build-system r-build-system)
  4083. (propagated-inputs
  4084. `(("r-catools" ,r-catools)
  4085. ("r-gtools" ,r-gtools)
  4086. ("r-kernsmooth" ,r-kernsmooth)))
  4087. (native-inputs
  4088. `(("r-knitr" ,r-knitr)))
  4089. (home-page "https://cran.r-project.org/web/packages/gplots")
  4090. (synopsis "Various R programming tools for plotting data")
  4091. (description
  4092. "This package provides various R programming tools for plotting data,
  4093. including:
  4094. @itemize
  4095. @item calculating and plotting locally smoothed summary function
  4096. @item enhanced versions of standard plots
  4097. @item manipulating colors
  4098. @item calculating and plotting two-dimensional data summaries
  4099. @item enhanced regression diagnostic plots
  4100. @item formula-enabled interface to @code{stats::lowess} function
  4101. @item displaying textual data in plots
  4102. @item balloon plots
  4103. @item plotting \"Venn\" diagrams
  4104. @item displaying Open-Office style plots
  4105. @item plotting multiple data on same region, with separate axes
  4106. @item plotting means and confidence intervals
  4107. @item spacing points in an x-y plot so they don't overlap
  4108. @end itemize\n")
  4109. (license license:gpl2+)))
  4110. (define-public r-rocr
  4111. (package
  4112. (name "r-rocr")
  4113. (version "1.0-11")
  4114. (source
  4115. (origin
  4116. (method url-fetch)
  4117. (uri (cran-uri "ROCR" version))
  4118. (sha256
  4119. (base32
  4120. "0amvvrkiflmr3qygrsgrsja4gaf2v6r6h6i2bgpsm8r069vmlf2p"))))
  4121. (properties `((upstream-name . "ROCR")))
  4122. (build-system r-build-system)
  4123. (propagated-inputs
  4124. `(("r-gplots" ,r-gplots)))
  4125. (native-inputs
  4126. `(("r-knitr" ,r-knitr)))
  4127. (home-page "https://rocr.bioinf.mpi-sb.mpg.de/")
  4128. (synopsis "Visualizing the performance of scoring classifiers")
  4129. (description
  4130. "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
  4131. curves by freely combining two from over 25 performance measures (new
  4132. performance measures can be added using a standard interface). Curves from
  4133. different cross-validation or bootstrapping runs can be averaged by different
  4134. methods, and standard deviations, standard errors or box plots can be used to
  4135. visualize the variability across the runs. The parameterization can be
  4136. visualized by printing cutoff values at the corresponding curve positions, or
  4137. by coloring the curve according to cutoff. All components of a performance
  4138. plot can be quickly adjusted using a flexible parameter dispatching
  4139. mechanism.")
  4140. (license license:gpl2+)))
  4141. (define-public r-ztable
  4142. (package
  4143. (name "r-ztable")
  4144. (version "0.2.2")
  4145. (source (origin
  4146. (method url-fetch)
  4147. (uri (cran-uri "ztable" version))
  4148. (sha256
  4149. (base32
  4150. "0wxcdb7yp2r6w5iznz1k49npp5sn4jiybfcj30s3198hkcnv0r8y"))))
  4151. (build-system r-build-system)
  4152. (propagated-inputs
  4153. `(("r-flextable" ,r-flextable)
  4154. ("r-magrittr" ,r-magrittr)
  4155. ("r-officer" ,r-officer)
  4156. ("r-rcolorbrewer" ,r-rcolorbrewer)
  4157. ("r-rstudioapi" ,r-rstudioapi)
  4158. ("r-scales" ,r-scales)
  4159. ("r-stringr" ,r-stringr)))
  4160. (native-inputs
  4161. `(("r-knitr" ,r-knitr)))
  4162. (home-page "https://cran.r-project.org/web/packages/ztable")
  4163. (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
  4164. (description
  4165. "This package provides functions to make zebra-striped tables (tables
  4166. with alternating row colors) in LaTeX and HTML formats easily from
  4167. @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
  4168. @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
  4169. @code{cbind.mytable} objects.")
  4170. (license license:gpl2+)))
  4171. (define-public r-vipor
  4172. (package
  4173. (name "r-vipor")
  4174. (version "0.4.5")
  4175. (source (origin
  4176. (method url-fetch)
  4177. (uri (cran-uri "vipor" version))
  4178. (sha256
  4179. (base32
  4180. "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
  4181. (build-system r-build-system)
  4182. (home-page "https://cran.r-project.org/web/packages/vipor")
  4183. (synopsis "Plot categorical data using noise and density estimates")
  4184. (description
  4185. "This package provides tools to generate a violin point plot, a
  4186. combination of a violin/histogram plot and a scatter plot by offsetting points
  4187. within a category based on their density using quasirandom noise.")
  4188. (license license:gpl2+)))
  4189. (define-public r-beeswarm
  4190. (package
  4191. (name "r-beeswarm")
  4192. (version "0.4.0")
  4193. (source (origin
  4194. (method url-fetch)
  4195. (uri (cran-uri "beeswarm" version))
  4196. (sha256
  4197. (base32
  4198. "016mqcbdksialkmap56rprzna9b6cd6896ml9gl2n2h8yjdk7x2i"))))
  4199. (build-system r-build-system)
  4200. (home-page "https://www.cbs.dtu.dk/~eklund/beeswarm/")
  4201. (synopsis "Implementation of bee swarm plots")
  4202. (description
  4203. "This package provides an implementation of bee swarm plots. The bee
  4204. swarm plot is a one-dimensional scatter plot like stripchart, but with
  4205. closely-packed, non-overlapping points.")
  4206. (license license:artistic2.0)))
  4207. (define-public r-sourcetools
  4208. (package
  4209. (name "r-sourcetools")
  4210. (version "0.1.7")
  4211. (source
  4212. (origin
  4213. (method url-fetch)
  4214. (uri (cran-uri "sourcetools" version))
  4215. (sha256
  4216. (base32
  4217. "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
  4218. (build-system r-build-system)
  4219. (home-page "https://cran.r-project.org/web/packages/sourcetools")
  4220. (synopsis "Tools for reading, tokenizing and parsing R code")
  4221. (description
  4222. "The sourcetools package provides both an R and C++ interface for the
  4223. tokenization of R code, and helpers for interacting with the tokenized
  4224. representation of R code.")
  4225. (license license:expat)))
  4226. (define-public r-ggbeeswarm
  4227. (package
  4228. (name "r-ggbeeswarm")
  4229. (version "0.6.0")
  4230. (source (origin
  4231. (method url-fetch)
  4232. (uri (cran-uri "ggbeeswarm" version))
  4233. (sha256
  4234. (base32
  4235. "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
  4236. (build-system r-build-system)
  4237. (propagated-inputs
  4238. `(("r-beeswarm" ,r-beeswarm)
  4239. ("r-ggplot2" ,r-ggplot2)
  4240. ("r-vipor" ,r-vipor)))
  4241. (home-page "https://github.com/eclarke/ggbeeswarm")
  4242. (synopsis "Categorical scatter (violin point) plots")
  4243. (description
  4244. "This package provides two methods of plotting categorical scatter plots
  4245. such that the arrangement of points within a category reflects the density of
  4246. data at that region, and avoids over-plotting.")
  4247. (license license:gpl2+)))
  4248. (define-public r-ggthemes
  4249. (package
  4250. (name "r-ggthemes")
  4251. (version "4.2.4")
  4252. (source (origin
  4253. (method url-fetch)
  4254. (uri (cran-uri "ggthemes" version))
  4255. (sha256
  4256. (base32
  4257. "0rw5f6axyz1pqn6qx9jwm38hjzn8bqs1nfjkvm96z3xnyn61cdbv"))))
  4258. (build-system r-build-system)
  4259. (propagated-inputs
  4260. `(("r-ggplot2" ,r-ggplot2)
  4261. ("r-purrr" ,r-purrr)
  4262. ("r-scales" ,r-scales)
  4263. ("r-stringr" ,r-stringr)
  4264. ("r-tibble" ,r-tibble)))
  4265. (home-page "https://cran.rstudio.com/web/packages/ggthemes")
  4266. (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
  4267. (description "This package provides extra themes and scales for
  4268. @code{ggplot2} that replicate the look of plots by Edward Tufte and
  4269. Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
  4270. Wall Street Journal, among others. This package also provides
  4271. @code{geoms} for Tufte's box plot and range frame.")
  4272. (license license:gpl2)))
  4273. (define-public r-statmod
  4274. (package
  4275. (name "r-statmod")
  4276. (version "1.4.36")
  4277. (source (origin
  4278. (method url-fetch)
  4279. (uri (cran-uri "statmod" version))
  4280. (sha256
  4281. (base32
  4282. "1hkvklcav6gj4zib4g3b4xwsdsbsmnzdblr0v6jaqv227p49gs0l"))))
  4283. (build-system r-build-system)
  4284. (home-page "https://cran.r-project.org/web/packages/statmod")
  4285. (native-inputs
  4286. `(("gfortran" ,gfortran)))
  4287. (synopsis "Statistical modeling")
  4288. (description
  4289. "This package provides a collection of algorithms and functions to aid
  4290. statistical modeling. It includes growth curve comparisons, limiting dilution
  4291. analysis (aka ELDA), mixed linear models, heteroscedastic regression,
  4292. inverse-Gaussian probability calculations, Gauss quadrature and a secure
  4293. convergence algorithm for nonlinear models. It also includes advanced
  4294. generalized linear model functions that implement secure convergence,
  4295. dispersion modeling and Tweedie power-law families.")
  4296. ;; Statmod is distributed under either license
  4297. (license (list license:gpl2 license:gpl3))))
  4298. (define-public r-rann
  4299. (package
  4300. (name "r-rann")
  4301. (version "2.6.1")
  4302. (source (origin
  4303. (method url-fetch)
  4304. (uri (cran-uri "RANN" version))
  4305. (sha256
  4306. (base32
  4307. "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
  4308. (properties
  4309. `((upstream-name . "RANN")))
  4310. (build-system r-build-system)
  4311. (home-page "https://github.com/jefferis/RANN")
  4312. (synopsis "Fast nearest neighbour search")
  4313. (description
  4314. "This package finds the k nearest neighbours for every point in a given
  4315. dataset in O(N log N) time using Arya and Mount's ANN library. Provides
  4316. approximate, exact searches, fixed radius searches, bd and kb trees.")
  4317. (license license:gpl3+)))
  4318. (define-public r-fivethirtyeight
  4319. (package
  4320. (name "r-fivethirtyeight")
  4321. (version "0.1.0")
  4322. (source
  4323. (origin
  4324. (method url-fetch)
  4325. (uri (string-append "https://mran.microsoft.com/src/contrib/"
  4326. "fivethirtyeight_" version ".tar.gz"))
  4327. (sha256
  4328. (base32
  4329. "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
  4330. (build-system r-build-system)
  4331. (propagated-inputs
  4332. `(("r-knitr" ,r-knitr)
  4333. ("r-rmarkdown" ,r-rmarkdown)
  4334. ("r-dplyr" ,r-dplyr)
  4335. ("r-readr" ,r-readr)
  4336. ("r-ggplot2" ,r-ggplot2)
  4337. ("r-magrittr" ,r-magrittr)
  4338. ("r-stringr" ,r-stringr)))
  4339. (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
  4340. (synopsis "Data and code behind the stories at FiveThirtyEight")
  4341. (description "This R package provides access to the code and data sets
  4342. published by the statistics blog FiveThirtyEight.")
  4343. (license license:expat)))
  4344. (define-public r-compquadform
  4345. (package
  4346. (name "r-compquadform")
  4347. (version "1.4.3")
  4348. (source
  4349. (origin
  4350. (method url-fetch)
  4351. (uri (cran-uri "CompQuadForm" version))
  4352. (sha256
  4353. (base32
  4354. "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
  4355. (properties `((upstream-name . "CompQuadForm")))
  4356. (build-system r-build-system)
  4357. (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
  4358. (synopsis "Distribution function of quadratic forms in normal variables")
  4359. (description
  4360. "This package provides functions to compute the distribution function of
  4361. quadratic forms in normal variables using Imhof's method, Davies's algorithm,
  4362. Farebrother's algorithm or Liu et al.'s algorithm.")
  4363. (license license:gpl2+)))
  4364. (define-public r-cowplot
  4365. (package
  4366. (name "r-cowplot")
  4367. (version "1.1.1")
  4368. (source
  4369. (origin
  4370. (method url-fetch)
  4371. (uri (cran-uri "cowplot" version))
  4372. (sha256
  4373. (base32
  4374. "0j7d5vhzdxn1blrsfafx5z8lhq122rp8230hp9czrpsnnhjydp67"))))
  4375. (build-system r-build-system)
  4376. (propagated-inputs
  4377. `(("r-ggplot2" ,r-ggplot2)
  4378. ("r-gtable" ,r-gtable)
  4379. ("r-rlang" ,r-rlang)
  4380. ("r-scales" ,r-scales)))
  4381. (native-inputs
  4382. `(("r-knitr" ,r-knitr)))
  4383. (home-page "https://github.com/wilkelab/cowplot")
  4384. (synopsis "Streamlined plot theme and plot annotations for ggplot2")
  4385. (description
  4386. "This package provides some helpful extensions and modifications to the
  4387. ggplot2 package to combine multiple ggplot2 plots into one and label them with
  4388. letters, as is often required for scientific publications.")
  4389. (license license:gpl2)))
  4390. (define-public r-mixtools
  4391. (package
  4392. (name "r-mixtools")
  4393. (version "1.2.0")
  4394. (source
  4395. (origin
  4396. (method url-fetch)
  4397. (uri (cran-uri "mixtools" version))
  4398. (sha256
  4399. (base32
  4400. "08whic8hmmzi55b7azwj11l2x5r9s5qbyrv7s9jr08156vqkw0zg"))))
  4401. (build-system r-build-system)
  4402. (propagated-inputs
  4403. `(("r-mass" ,r-mass)
  4404. ("r-kernlab" ,r-kernlab)
  4405. ("r-segmented" ,r-segmented)
  4406. ("r-survival" ,r-survival)))
  4407. (home-page "https://cran.r-project.org/web/packages/mixtools")
  4408. (synopsis "Tools for analyzing finite mixture models")
  4409. (description
  4410. "This package provides a collection of R functions for analyzing finite
  4411. mixture models.")
  4412. (license license:gpl2+)))
  4413. (define-public r-lars
  4414. (package
  4415. (name "r-lars")
  4416. (version "1.2")
  4417. (source
  4418. (origin
  4419. (method url-fetch)
  4420. (uri (cran-uri "lars" version))
  4421. (sha256
  4422. (base32
  4423. "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
  4424. (build-system r-build-system)
  4425. (inputs
  4426. `(("gfortran" ,gfortran)))
  4427. (home-page "https://web.stanford.edu/~hastie/Papers/LARS/")
  4428. (synopsis "Least angle regression software")
  4429. (description
  4430. "Least Angle Regression (\"LAR\") is a model selection algorithm; a
  4431. useful and less greedy version of traditional forward selection methods. A
  4432. simple modification of the LAR algorithm implements Tibshirani's Lasso; the
  4433. Lasso modification of LARS calculates the entire Lasso path of coefficients
  4434. for a given problem at the cost of a single least squares fit. Another LARS
  4435. modification efficiently implements epsilon Forward Stagewise linear
  4436. regression.")
  4437. (license license:gpl2)))
  4438. (define-public r-fastica
  4439. (package
  4440. (name "r-fastica")
  4441. (version "1.2-2")
  4442. (source
  4443. (origin
  4444. (method url-fetch)
  4445. (uri (cran-uri "fastICA" version))
  4446. (sha256
  4447. (base32
  4448. "1zpijqcipm0aa3rxj0mys06lskqy4dbppjpxr1aby0j16y9ka8ij"))))
  4449. (properties `((upstream-name . "fastICA")))
  4450. (build-system r-build-system)
  4451. (home-page "https://cran.r-project.org/web/packages/fastICA")
  4452. (synopsis "FastICA algorithms to perform ICA and projection pursuit")
  4453. (description
  4454. "This package provides an implementation of the FastICA algorithm to
  4455. perform @dfn{independent component analysis} (ICA) and projection pursuit.")
  4456. ;; Any GPL version.
  4457. (license license:gpl3+)))
  4458. (define-public r-randomforest
  4459. (package
  4460. (name "r-randomforest")
  4461. (version "4.6-14")
  4462. (source
  4463. (origin
  4464. (method url-fetch)
  4465. (uri (cran-uri "randomForest" version))
  4466. (sha256
  4467. (base32
  4468. "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
  4469. (properties `((upstream-name . "randomForest")))
  4470. (build-system r-build-system)
  4471. (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
  4472. (native-inputs
  4473. `(("gfortran" ,gfortran)))
  4474. (synopsis "Breiman and Cutler's random forests for classification and regression")
  4475. (description
  4476. "This package provides the Breiman and Cutler's random forests algorithm, based on a
  4477. forest of trees using random inputs, for classification and regression.")
  4478. (license license:gpl2+)))
  4479. (define-public r-diptest
  4480. (package
  4481. (name "r-diptest")
  4482. (version "0.76-0")
  4483. (source
  4484. (origin
  4485. (method url-fetch)
  4486. (uri (cran-uri "diptest" version))
  4487. (sha256
  4488. (base32
  4489. "10629vwn6r2949jjrmj5slbb5v0vnm3w0v8mrl7ws68m2sxmx2jh"))))
  4490. (build-system r-build-system)
  4491. (home-page "https://cran.r-project.org/web/packages/diptest")
  4492. (synopsis "Hartigan's dip test statistic for unimodality")
  4493. (description
  4494. "This package computes Hartigan's dip test statistic for unimodality,
  4495. multimodality and provides a test with simulation based p-values, where the
  4496. original public code has been corrected.")
  4497. (license license:gpl2+)))
  4498. (define-public r-modeltools
  4499. (package
  4500. (name "r-modeltools")
  4501. (version "0.2-23")
  4502. (source
  4503. (origin
  4504. (method url-fetch)
  4505. (uri (cran-uri "modeltools" version))
  4506. (sha256
  4507. (base32
  4508. "1vqh69256h344sbj5affm0kmc77dakrxp6442xfdnfd0y5d8sgkb"))))
  4509. (build-system r-build-system)
  4510. (home-page "https://cran.r-project.org/web/packages/modeltools")
  4511. (synopsis "Tools and classes for statistical models")
  4512. (description
  4513. "This package provides a collection of tools to deal with statistical
  4514. models. The functionality is experimental and the user interface is likely
  4515. to change in the future.")
  4516. (license license:gpl2)))
  4517. (define-public r-flexmix
  4518. (package
  4519. (name "r-flexmix")
  4520. (version "2.3-17")
  4521. (source
  4522. (origin
  4523. (method url-fetch)
  4524. (uri (cran-uri "flexmix" version))
  4525. (sha256
  4526. (base32
  4527. "0jangf89174p0idh9afbicfiln2sz8jxc3bjc6n0j9036dw9n09n"))))
  4528. (build-system r-build-system)
  4529. (propagated-inputs
  4530. `(("r-lattice" ,r-lattice)
  4531. ("r-modeltools" ,r-modeltools)
  4532. ("r-nnet" ,r-nnet)))
  4533. (home-page "https://cran.r-project.org/web/packages/flexmix")
  4534. (synopsis "Flexible mixture modeling")
  4535. (description
  4536. "This package implements a general framework for finite mixtures of
  4537. regression models using the EM algorithm. FlexMix provides the E-step and
  4538. all data handling, while the M-step can be supplied by the user to easily
  4539. define new models. Existing drivers implement mixtures of standard linear
  4540. models, generalized linear models and model-based clustering.")
  4541. (license license:gpl2+)))
  4542. (define-public r-mclust
  4543. (package
  4544. (name "r-mclust")
  4545. (version "5.4.7")
  4546. (source
  4547. (origin
  4548. (method url-fetch)
  4549. (uri (cran-uri "mclust" version))
  4550. (sha256
  4551. (base32
  4552. "08scl72llpinfijiyx14yqvmx8lma9jvh8h92v9ynnzfr9kadxa5"))))
  4553. (build-system r-build-system)
  4554. (native-inputs
  4555. `(("gfortran" ,gfortran)
  4556. ("r-knitr" ,r-knitr)))
  4557. (home-page "https://www.stat.washington.edu/mclust/")
  4558. (synopsis "Gaussian mixture modelling for model-based clustering etc.")
  4559. (description
  4560. "This package provides Gaussian finite mixture models fitted via EM
  4561. algorithm for model-based clustering, classification, and density estimation,
  4562. including Bayesian regularization, dimension reduction for visualisation,
  4563. and resampling-based inference.")
  4564. (license license:gpl2+)))
  4565. (define-public r-prabclus
  4566. (package
  4567. (name "r-prabclus")
  4568. (version "2.3-2")
  4569. (source
  4570. (origin
  4571. (method url-fetch)
  4572. (uri (cran-uri "prabclus" version))
  4573. (sha256
  4574. (base32
  4575. "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
  4576. (build-system r-build-system)
  4577. (propagated-inputs
  4578. `(("r-mass" ,r-mass)
  4579. ("r-mclust" ,r-mclust)))
  4580. (home-page "https://cran.r-project.org/web/packages/prabclus")
  4581. (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
  4582. (description
  4583. "This package provides distance-based parametric bootstrap tests for
  4584. clustering with spatial neighborhood information. It implements some distance
  4585. measures, clustering of presence-absence, abundance and multilocus genetical
  4586. data for species delimitation, nearest neighbor based noise detection.")
  4587. (license license:gpl2+)))
  4588. (define-public r-deoptimr
  4589. (package
  4590. (name "r-deoptimr")
  4591. (version "1.0-9")
  4592. (source
  4593. (origin
  4594. (method url-fetch)
  4595. (uri (cran-uri "DEoptimR" version))
  4596. (sha256
  4597. (base32
  4598. "04k5gi0a5hbm6znzvjaipbmkacp694krkqs38dkbxx1gymsallb1"))))
  4599. (properties `((upstream-name . "DEoptimR")))
  4600. (build-system r-build-system)
  4601. (home-page "https://cran.r-project.org/web/packages/DEoptimR")
  4602. (synopsis "Differential evolution optimization in pure R")
  4603. (description
  4604. "This package provides a differential evolution (DE) stochastic
  4605. algorithms for global optimization of problems with and without constraints.
  4606. The aim is to curate a collection of its state-of-the-art variants that (1) do
  4607. not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
  4608. can be efficiently implemented directly in the R language.")
  4609. (license license:gpl2+)))
  4610. (define-public r-robustbase
  4611. (package
  4612. (name "r-robustbase")
  4613. (version "0.93-8")
  4614. (source
  4615. (origin
  4616. (method url-fetch)
  4617. (uri (cran-uri "robustbase" version))
  4618. (sha256
  4619. (base32
  4620. "16fmnk3p32mi70rkx89l1v4pry3gnrpy9jicnlfnk6lg1pwz5j8w"))))
  4621. (build-system r-build-system)
  4622. (native-inputs
  4623. `(("gfortran" ,gfortran)))
  4624. (propagated-inputs
  4625. `(("r-deoptimr" ,r-deoptimr)))
  4626. (home-page "http://robustbase.r-forge.r-project.org/")
  4627. (synopsis "Basic robust statistics")
  4628. (description
  4629. "This package analyzes data with robust methods such as
  4630. regression methodology including model selections and multivariate statistics.")
  4631. (license license:gpl2+)))
  4632. (define-public r-pcapp
  4633. (package
  4634. (name "r-pcapp")
  4635. (version "1.9-74")
  4636. (source
  4637. (origin
  4638. (method url-fetch)
  4639. (uri (cran-uri "pcaPP" version))
  4640. (sha256
  4641. (base32
  4642. "1dlrz5plb8b89vr3j6sn9jwryyhcwflqkiilxkybbr379m1pp0sh"))))
  4643. (properties `((upstream-name . "pcaPP")))
  4644. (build-system r-build-system)
  4645. (propagated-inputs
  4646. `(("r-mvtnorm" ,r-mvtnorm)))
  4647. (home-page "https://cran.r-project.org/web/packages/pcaPP")
  4648. (synopsis "Robust PCA by projection pursuit")
  4649. (description
  4650. "This package provides functions for robust @dfn{principal component
  4651. analysis} (PCA) by projection pursuit.")
  4652. (license license:gpl3+)))
  4653. (define-public r-rrcov
  4654. (package
  4655. (name "r-rrcov")
  4656. (version "1.5-5")
  4657. (source
  4658. (origin
  4659. (method url-fetch)
  4660. (uri (cran-uri "rrcov" version))
  4661. (sha256
  4662. (base32
  4663. "0ag6q16ajkqwj28dk9vp4xkvqw26fqqqdxnz38gpszilirahfzqz"))))
  4664. (build-system r-build-system)
  4665. (propagated-inputs
  4666. `(("r-lattice" ,r-lattice)
  4667. ("r-mvtnorm" ,r-mvtnorm)
  4668. ("r-pcapp" ,r-pcapp)
  4669. ("r-robustbase" ,r-robustbase)))
  4670. (native-inputs
  4671. `(("gfortran" ,gfortran)))
  4672. (home-page "https://cran.r-project.org/web/packages/rrcov")
  4673. (synopsis "Scalable robust estimators with high breakdown Point")
  4674. (description
  4675. "This package provides an implementation of robust location and scatter
  4676. estimation and robust multivariate analysis with high breakdown point.")
  4677. (license license:gpl2+)))
  4678. (define-public r-fit-models
  4679. (package
  4680. (name "r-fit-models")
  4681. (version "0.64")
  4682. (source
  4683. (origin
  4684. (method url-fetch)
  4685. (uri (cran-uri "fit.models" version))
  4686. (sha256
  4687. (base32
  4688. "1nk4x2q8cv79zcls61saf627ac0fci6jcrd6lmzk61asm2zhc27p"))))
  4689. (properties `((upstream-name . "fit.models")))
  4690. (build-system r-build-system)
  4691. (propagated-inputs
  4692. `(("r-lattice" ,r-lattice)))
  4693. (home-page "https://cran.r-project.org/web/packages/fit.models")
  4694. (synopsis "Compare fitted models")
  4695. (description
  4696. "The @code{fit.models} function and its associated methods (coefficients, print,
  4697. summary, plot, etc.) were originally provided in the @code{robust} package to
  4698. compare robustly and classically fitted model objects. The aim of the
  4699. @code{fit.models} package is to separate this fitted model object comparison
  4700. functionality from the robust package and to extend it to support fitting
  4701. methods (e.g., classical, robust, Bayesian, regularized, etc.) more
  4702. generally.")
  4703. ;; Any version of the GPL
  4704. (license (list license:gpl2+ license:gpl3+))))
  4705. (define-public r-robust
  4706. (package
  4707. (name "r-robust")
  4708. (version "0.5-0.0")
  4709. (source
  4710. (origin
  4711. (method url-fetch)
  4712. (uri (cran-uri "robust" version))
  4713. (sha256
  4714. (base32
  4715. "1ks5scp8bnicl9j1r8yrmz668fjs6ifdmi540zw6d2ck500bbw42"))))
  4716. (build-system r-build-system)
  4717. (propagated-inputs
  4718. `(("r-fit-models" ,r-fit-models)
  4719. ("r-lattice" ,r-lattice)
  4720. ("r-mass" ,r-mass)
  4721. ("r-robustbase" ,r-robustbase)
  4722. ("r-rrcov" ,r-rrcov)))
  4723. (native-inputs
  4724. `(("gfortran" ,gfortran)))
  4725. (home-page "https://cran.r-project.org/web/packages/robust")
  4726. (synopsis "Port of the S+ \"Robust Library\"")
  4727. (description
  4728. "This package is a port of the S+ \"Robust Library\". It provides
  4729. methods for robust statistics, notably for robust regression and robust
  4730. multivariate analysis.")
  4731. (license license:gpl2)))
  4732. (define-public r-trimcluster
  4733. (package
  4734. (name "r-trimcluster")
  4735. (version "0.1-5")
  4736. (source
  4737. (origin
  4738. (method url-fetch)
  4739. (uri (cran-uri "trimcluster" version))
  4740. (sha256
  4741. (base32
  4742. "12siv8yx8dcavsz8jk96lwscbj257ar8jpaxksl2zb06987g4fcj"))))
  4743. (build-system r-build-system)
  4744. (home-page "https://cran.r-project.org/web/packages/trimcluster")
  4745. (synopsis "Cluster analysis with trimming")
  4746. (description
  4747. "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
  4748. Matran (1997). This optimizes the k-means criterion under trimming a portion
  4749. of the points.")
  4750. ;; Any GPL version
  4751. (license (list license:gpl2+ license:gpl3+))))
  4752. (define-public r-fpc
  4753. (package
  4754. (name "r-fpc")
  4755. (version "2.2-9")
  4756. (source
  4757. (origin
  4758. (method url-fetch)
  4759. (uri (cran-uri "fpc" version))
  4760. (sha256
  4761. (base32
  4762. "0f7sfmpcycr9y7cy5gasyjm2ardxa62kglqms92mcr68jrp01c19"))))
  4763. (build-system r-build-system)
  4764. (propagated-inputs
  4765. `(("r-class" ,r-class)
  4766. ("r-cluster" ,r-cluster)
  4767. ("r-diptest" ,r-diptest)
  4768. ("r-flexmix" ,r-flexmix)
  4769. ("r-kernlab" ,r-kernlab)
  4770. ("r-mass" ,r-mass)
  4771. ("r-mclust" ,r-mclust)
  4772. ("r-prabclus" ,r-prabclus)
  4773. ("r-robustbase" ,r-robustbase)))
  4774. (home-page "https://cran.r-project.org/web/packages/fpc")
  4775. (synopsis "Flexible procedures for clustering")
  4776. (description
  4777. "This package provides various methods for clustering and cluster validation.
  4778. For example, it provides fixed point clustering, linear regression clustering,
  4779. clustering by merging Gaussian mixture components, as well as symmetric and
  4780. asymmetric discriminant projections for visualisation of the separation of
  4781. groupings.")
  4782. (license license:gpl2+)))
  4783. (define-public r-vgam
  4784. (package
  4785. (name "r-vgam")
  4786. (version "1.1-5")
  4787. (source
  4788. (origin
  4789. (method url-fetch)
  4790. (uri (cran-uri "VGAM" version))
  4791. (sha256
  4792. (base32 "1fx123h4x5awzshv0m4jqbbllrdjfpslb2i8gl9phm1y1wahn69h"))))
  4793. (properties `((upstream-name . "VGAM")))
  4794. (build-system r-build-system)
  4795. (native-inputs
  4796. `(("gfortran" ,gfortran)))
  4797. (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
  4798. (synopsis "Vector generalized linear and additive models")
  4799. (description
  4800. "This package is an implementation of about 6 major classes of statistical
  4801. regression models. Currently only fixed-effects models are implemented, i.e.,
  4802. no random-effects models. Many (150+) models and distributions are estimated
  4803. by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
  4804. VGLMs can be loosely thought of as multivariate generalised linear models.")
  4805. (license license:gpl2+)))
  4806. (define-public r-pbapply
  4807. (package
  4808. (name "r-pbapply")
  4809. (version "1.4-3")
  4810. (source
  4811. (origin
  4812. (method url-fetch)
  4813. (uri (cran-uri "pbapply" version))
  4814. (sha256
  4815. (base32
  4816. "08gb6c8p1r9z8wrfidj2dfn6irm43k6f4448d1d6nxmy6msjirlg"))))
  4817. (build-system r-build-system)
  4818. (home-page "https://github.com/psolymos/pbapply")
  4819. (synopsis "Adding progress bar to apply functions")
  4820. (description
  4821. "This lightweight package that adds progress bar to vectorized R
  4822. functions apply. The implementation can easily be added to functions where
  4823. showing the progress is useful e.g. bootstrap.")
  4824. (license license:gpl2)))
  4825. (define-public r-minqa
  4826. (package
  4827. (name "r-minqa")
  4828. (version "1.2.4")
  4829. (source
  4830. (origin
  4831. (method url-fetch)
  4832. (uri (cran-uri "minqa" version))
  4833. (sha256
  4834. (base32
  4835. "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
  4836. (build-system r-build-system)
  4837. (propagated-inputs
  4838. `(("r-rcpp" ,r-rcpp)))
  4839. (inputs
  4840. `(("gfortran" ,gfortran)))
  4841. (home-page "http://optimizer.r-forge.r-project.org")
  4842. (synopsis "Derivative-free optimization algorithms by quadratic approximation")
  4843. (description
  4844. "This package provides a derivative-free optimization by quadratic approximation
  4845. based on an interface to Fortran implementations by M. J. D. Powell.")
  4846. (license license:gpl2)))
  4847. (define-public r-rcppeigen
  4848. (package
  4849. (name "r-rcppeigen")
  4850. (version "0.3.3.9.1")
  4851. (source
  4852. (origin
  4853. (method url-fetch)
  4854. (uri (cran-uri "RcppEigen" version))
  4855. (sha256
  4856. (base32
  4857. "0qp9gypar280lm84pc8w0fxw4jgwqygwi3qnl5sl52kpkcj8c14a"))))
  4858. (properties `((upstream-name . "RcppEigen")))
  4859. (build-system r-build-system)
  4860. (propagated-inputs
  4861. `(("r-rcpp" ,r-rcpp)
  4862. ("r-matrix" ,r-matrix)))
  4863. (home-page "http://eigen.tuxfamily.org")
  4864. (synopsis "Rcpp integration for the Eigen templated linear algebra library")
  4865. (description
  4866. "This package provides an integration of Eigen in R using a C++ template
  4867. library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
  4868. It supports dense and sparse matrices on integer, floating point and complex numbers,
  4869. decompositions of such matrices, and solutions of linear systems.")
  4870. (license license:gpl2+)))
  4871. (define-public r-modelmetrics
  4872. (package
  4873. (name "r-modelmetrics")
  4874. (version "1.2.2.2")
  4875. (source
  4876. (origin
  4877. (method url-fetch)
  4878. (uri (cran-uri "ModelMetrics" version))
  4879. (sha256
  4880. (base32
  4881. "0mrlsw4c5y1vdsqynxr2dcvmhh5h37pnd71jw5a5djpbda9g21jy"))))
  4882. (properties `((upstream-name . "ModelMetrics")))
  4883. (build-system r-build-system)
  4884. (propagated-inputs
  4885. `(("r-rcpp" ,r-rcpp)
  4886. ("r-data-table" ,r-data-table)))
  4887. (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
  4888. (synopsis "Rapid calculation of model metrics")
  4889. (description
  4890. "Written in C++ using @code{Rcpp}, this package provides a collection of
  4891. metrics for evaluating models.")
  4892. (license license:gpl2+)))
  4893. (define-public r-matrixmodels
  4894. (package
  4895. (name "r-matrixmodels")
  4896. (version "0.5-0")
  4897. (source
  4898. (origin
  4899. (method url-fetch)
  4900. (uri (cran-uri "MatrixModels" version))
  4901. (sha256
  4902. (base32
  4903. "1va6i6bpkq71rzl9i4xgyc5x7qcksa3nfzihlaggf6aj30dayzx8"))))
  4904. (properties `((upstream-name . "MatrixModels")))
  4905. (build-system r-build-system)
  4906. (propagated-inputs
  4907. `(("r-matrix" ,r-matrix)))
  4908. (home-page "https://cran.r-project.org/web/packages/MatrixModels")
  4909. (synopsis "Modelling with sparse and dense matrices")
  4910. (description
  4911. "This package models with sparse and dense matrix matrices,
  4912. using modular prediction and response module classes.")
  4913. (license license:gpl2+)))
  4914. (define-public r-quantreg
  4915. (package
  4916. (name "r-quantreg")
  4917. (version "5.86")
  4918. (source
  4919. (origin
  4920. (method url-fetch)
  4921. (uri (cran-uri "quantreg" version))
  4922. (sha256
  4923. (base32 "01fnp6ndh7npxj76xlynndacsgmcfr9kgh2waw0clx3mmwlwilbi"))))
  4924. (build-system r-build-system)
  4925. (native-inputs
  4926. `(("gfortran" ,gfortran)))
  4927. (propagated-inputs
  4928. `(("r-conquer" ,r-conquer)
  4929. ("r-matrix" ,r-matrix)
  4930. ("r-matrixmodels" ,r-matrixmodels)
  4931. ("r-sparsem" ,r-sparsem)))
  4932. (home-page "https://www.r-project.org")
  4933. (synopsis "Quantile regression")
  4934. (description
  4935. "This package provides an estimation and inference methods for models
  4936. of conditional quantiles: linear and nonlinear parametric and non-parametric
  4937. models for conditional quantiles of a univariate response and several methods
  4938. for handling censored survival data. Portfolio selection methods based on
  4939. expected shortfall risk are also included.")
  4940. (license license:gpl2+)))
  4941. (define-public r-nloptr
  4942. (package
  4943. (name "r-nloptr")
  4944. (version "1.2.2.2")
  4945. (source
  4946. (origin
  4947. (method url-fetch)
  4948. (uri (cran-uri "nloptr" version))
  4949. (sha256
  4950. (base32
  4951. "0whkilb85k4wixvr3k7rygfw1rcs1fs9h8c18kz4p3y1k9hsj3p8"))))
  4952. (build-system r-build-system)
  4953. (native-inputs
  4954. `(("r-knitr" ,r-knitr) ; for building vignettes
  4955. ("pkg-config" ,pkg-config)
  4956. ("gfortran" ,gfortran)))
  4957. (inputs
  4958. `(("nlopt" ,nlopt)))
  4959. (home-page "https://cran.r-project.org/web/packages/nloptr")
  4960. (synopsis "R interface to NLopt")
  4961. (description
  4962. "This package is interface to NLopt, a library for nonlinear
  4963. optimization. NLopt is a library for nonlinear optimization, providing a
  4964. common interface for a number of different free optimization routines
  4965. available online as well as original implementations of various other
  4966. algorithms.")
  4967. (license license:lgpl3)))
  4968. (define-public r-lme4
  4969. (package
  4970. (name "r-lme4")
  4971. (version "1.1-27.1")
  4972. (source
  4973. (origin
  4974. (method url-fetch)
  4975. (uri (cran-uri "lme4" version))
  4976. (sha256
  4977. (base32
  4978. "1i9f8kl2qj48j75dbn1vmwxz1xlbikdr7v2yq542w6dq74z8gyi5"))))
  4979. (build-system r-build-system)
  4980. (propagated-inputs
  4981. `(("r-boot" ,r-boot)
  4982. ("r-lattice" ,r-lattice)
  4983. ("r-mass" ,r-mass)
  4984. ("r-matrix" ,r-matrix)
  4985. ("r-minqa" ,r-minqa)
  4986. ("r-nloptr" ,r-nloptr)
  4987. ("r-nlme" ,r-nlme)
  4988. ("r-rcpp" ,r-rcpp)
  4989. ("r-rcppeigen" ,r-rcppeigen)))
  4990. (native-inputs
  4991. `(("r-knitr" ,r-knitr)))
  4992. (home-page "https://cran.r-project.org/web/packages/lme4")
  4993. (synopsis "Linear mixed-effects models using eigen and S4")
  4994. (description
  4995. "This package provides fit linear and generalized linear mixed-effects
  4996. models. The models and their components are represented using S4 classes and
  4997. methods. The core computational algorithms are implemented using the Eigen
  4998. C++ library for numerical linear algebra and RcppEigen glue.")
  4999. (license license:gpl2+)))
  5000. (define-public r-pbkrtest
  5001. (package
  5002. (name "r-pbkrtest")
  5003. (version "0.5.1")
  5004. (source
  5005. (origin
  5006. (method url-fetch)
  5007. (uri (cran-uri "pbkrtest" version))
  5008. (sha256
  5009. (base32
  5010. "1if7msv9i7jhg1as1f7m81a95dnwhwj3yfs24bqr0f6r0ch4b8xj"))))
  5011. (build-system r-build-system)
  5012. (propagated-inputs
  5013. `(("r-broom" ,r-broom)
  5014. ("r-dplyr" ,r-dplyr)
  5015. ("r-lme4" ,r-lme4)
  5016. ("r-magrittr" ,r-magrittr)
  5017. ("r-mass" ,r-mass)
  5018. ("r-matrix" ,r-matrix)
  5019. ("r-numderiv" ,r-numderiv)))
  5020. (native-inputs
  5021. `(("r-knitr" ,r-knitr)))
  5022. (home-page "https://people.math.aau.dk/~sorenh/software/pbkrtest/")
  5023. (synopsis "Methods for linear mixed model comparison")
  5024. (description
  5025. "This package implements a parametric bootstrap test and a Kenward Roger
  5026. modification of F-tests for linear mixed effects models and a parametric
  5027. bootstrap test for generalized linear mixed models.")
  5028. (license license:gpl2+)))
  5029. (define-public r-cardata
  5030. (package
  5031. (name "r-cardata")
  5032. (version "3.0-4")
  5033. (source
  5034. (origin
  5035. (method url-fetch)
  5036. (uri (cran-uri "carData" version))
  5037. (sha256
  5038. (base32 "09270j39n4jpswxqps20b12zaj8dz4rrqpk2l2j5bnf1xzizb9nd"))))
  5039. (properties `((upstream-name . "carData")))
  5040. (build-system r-build-system)
  5041. (home-page "https://r-forge.r-project.org/projects/car/")
  5042. (synopsis "Data Sets for the book Companion to Applied Regression")
  5043. (description
  5044. "This package provides datasets to accompany J. Fox and S. Weisberg, An R
  5045. Companion to Applied Regression, Third Edition, Sage.")
  5046. (license license:gpl2+)))
  5047. (define-public r-car
  5048. (package
  5049. (name "r-car")
  5050. (version "3.0-11")
  5051. (source
  5052. (origin
  5053. (method url-fetch)
  5054. (uri (cran-uri "car" version))
  5055. (sha256
  5056. (base32 "0b2l35656bi75hfvnjhzhlnrnbpjn0vv7nvny8gn65gm0rr94b5k"))))
  5057. (build-system r-build-system)
  5058. (propagated-inputs
  5059. `(("r-abind" ,r-abind)
  5060. ("r-cardata" ,r-cardata)
  5061. ("r-lme4" ,r-lme4)
  5062. ("r-maptools" ,r-maptools)
  5063. ("r-mass" ,r-mass)
  5064. ("r-mgcv" ,r-mgcv)
  5065. ("r-nlme" ,r-nlme)
  5066. ("r-nnet" ,r-nnet)
  5067. ("r-pbkrtest" ,r-pbkrtest)
  5068. ("r-quantreg" ,r-quantreg)
  5069. ("r-rio" ,r-rio)))
  5070. (native-inputs
  5071. `(("r-knitr" ,r-knitr)))
  5072. (home-page "https://r-forge.r-project.org/projects/car/")
  5073. (synopsis "Companion to applied regression")
  5074. (description
  5075. "This package provides functions and datasets from book Companion
  5076. to Applied regression, Second Edition, Sage, 2011.")
  5077. (license license:gpl2+)))
  5078. (define-public r-rcppprogress
  5079. (package
  5080. (name "r-rcppprogress")
  5081. (version "0.4.2")
  5082. (source
  5083. (origin
  5084. (method url-fetch)
  5085. (uri (cran-uri "RcppProgress" version))
  5086. (sha256
  5087. (base32
  5088. "0j2b37gwjpgmrnr00srdzm751hzlpsjb54ph63xxmcdfnwhlnqmi"))))
  5089. (properties `((upstream-name . "RcppProgress")))
  5090. (build-system r-build-system)
  5091. (home-page "https://github.com/kforner/rcpp_progress")
  5092. (synopsis "Interruptible progress bar for C++ in R packages")
  5093. (description
  5094. "This package displays a progress bar in the R console for long running
  5095. computations taking place in C++ code, and support for interrupting those computations
  5096. even in multithreaded code, typically using OpenMP.")
  5097. (license license:gpl3+)))
  5098. (define-public r-tmvnsim
  5099. (package
  5100. (name "r-tmvnsim")
  5101. (version "1.0-2")
  5102. (source
  5103. (origin
  5104. (method url-fetch)
  5105. (uri (cran-uri "tmvnsim" version))
  5106. (sha256
  5107. (base32
  5108. "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
  5109. (properties `((upstream-name . "tmvnsim")))
  5110. (build-system r-build-system)
  5111. (native-inputs `(("gfortran" ,gfortran)))
  5112. (home-page "https://www.r-project.org")
  5113. (synopsis "Truncated multivariate normal simulation")
  5114. (description
  5115. "This package implements importance sampling from the truncated
  5116. multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
  5117. simulator. Unlike Gibbs sampling which can get stuck in one truncation
  5118. sub-region depending on initial values, this package allows truncation based
  5119. on disjoint regions that are created by truncation of absolute values. The
  5120. GHK algorithm uses simple Cholesky transformation followed by recursive
  5121. simulation of univariate truncated normals hence there are also no convergence
  5122. issues. Importance sample is returned along with sampling weights, based on
  5123. which, one can calculate integrals over truncated regions for multivariate
  5124. normals.")
  5125. (license license:gpl2)))
  5126. (define-public r-mnormt
  5127. (package
  5128. (name "r-mnormt")
  5129. (version "2.0.2")
  5130. (source
  5131. (origin
  5132. (method url-fetch)
  5133. (uri (cran-uri "mnormt" version))
  5134. (sha256
  5135. (base32
  5136. "0d7ka4l4fl1wi77r2r81dc91n6cbj2xrb3lsizz5y0ziscva0sjw"))))
  5137. (build-system r-build-system)
  5138. (propagated-inputs
  5139. `(("r-tmvnsim" ,r-tmvnsim)))
  5140. (native-inputs
  5141. `(("gfortran" ,gfortran)))
  5142. (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
  5143. (synopsis "Multivariate normal and \"t\" distributions")
  5144. (description
  5145. "This package provides functions for computing the density and the
  5146. distribution function of multivariate normal and \"t\" random variables, and
  5147. for generating random vectors sampled from these distributions. Probabilities
  5148. are computed via non-Monte Carlo methods.")
  5149. (license license:gpl2+)))
  5150. (define-public r-numderiv
  5151. (package
  5152. (name "r-numderiv")
  5153. (version "2016.8-1.1")
  5154. (source
  5155. (origin
  5156. (method url-fetch)
  5157. (uri (cran-uri "numDeriv" version))
  5158. (sha256
  5159. (base32
  5160. "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
  5161. (properties `((upstream-name . "numDeriv")))
  5162. (build-system r-build-system)
  5163. (home-page "https://cran.r-project.org/web/packages/numDeriv")
  5164. (synopsis "Accurate numerical derivatives")
  5165. (description
  5166. "This package provides methods for calculating accurate numerical
  5167. first and second order derivatives.")
  5168. (license license:gpl2)))
  5169. (define-public r-sn
  5170. (package
  5171. (name "r-sn")
  5172. (version "2.0.0")
  5173. (source
  5174. (origin
  5175. (method url-fetch)
  5176. (uri (cran-uri "sn" version))
  5177. (sha256
  5178. (base32
  5179. "0sl8qzy9isy5fq8qxh1fg5285jzgy895nbgz8gdq5d0r6zdwrmmb"))))
  5180. (build-system r-build-system)
  5181. (propagated-inputs
  5182. `(("r-mnormt" ,r-mnormt)
  5183. ("r-numderiv" ,r-numderiv)
  5184. ("r-quantreg" ,r-quantreg)))
  5185. (home-page "http://azzalini.stat.unipd.it/SN")
  5186. (synopsis "The skew-normal and skew-t distributions")
  5187. (description
  5188. "This package provides functionalities to build and manipulate
  5189. probability distributions of the skew-normal family and some related
  5190. ones, notably the skew-t family, and provides related statistical
  5191. methods for data fitting and diagnostics, in the univariate and the
  5192. multivariate case.")
  5193. (license license:gpl2+)))
  5194. (define-public r-tclust
  5195. (package
  5196. (name "r-tclust")
  5197. (version "1.4-2")
  5198. (source
  5199. (origin
  5200. (method url-fetch)
  5201. (uri (cran-uri "tclust" version))
  5202. (sha256
  5203. (base32
  5204. "1nb5iky4kc832627jf28lzj19wrvgwg5da6fyl3kyf0npmyx1p4m"))))
  5205. (build-system r-build-system)
  5206. ;; These are all suggested packages, not build dependencies.
  5207. (propagated-inputs
  5208. `(("r-cluster" ,r-cluster)
  5209. ("r-mclust" ,r-mclust)
  5210. ("r-mvtnorm" ,r-mvtnorm)
  5211. ("r-sn" ,r-sn)))
  5212. (home-page "https://cran.r-project.org/web/packages/tclust")
  5213. (synopsis "Robust trimmed clustering")
  5214. (description
  5215. "This package implements different robust clustering
  5216. algorithms (@code{tclust}) based on trimming and including some graphical
  5217. diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
  5218. (license license:gpl3)))
  5219. (define-public r-ranger
  5220. (package
  5221. (name "r-ranger")
  5222. (version "0.13.1")
  5223. (source
  5224. (origin
  5225. (method url-fetch)
  5226. (uri (cran-uri "ranger" version))
  5227. (sha256
  5228. (base32
  5229. "02idcc6zbdz4wsi1mcwh7qyhmlbwvnzxwkdvvppxw7n2rh54z4v0"))))
  5230. (build-system r-build-system)
  5231. (propagated-inputs
  5232. `(("r-rcpp" ,r-rcpp)
  5233. ("r-matrix" ,r-matrix)
  5234. ("r-rcppeigen" ,r-rcppeigen)))
  5235. (home-page "https://github.com/imbs-hl/ranger")
  5236. (synopsis "Fast implementation of random forests")
  5237. (description
  5238. "This package provides a fast implementation of Random Forests,
  5239. particularly suited for high dimensional data. Ensembles of classification,
  5240. regression, survival and probability prediction trees are supported. Data from
  5241. genome-wide association studies can be analyzed efficiently.")
  5242. (license license:gpl3)))
  5243. (define-public r-tsne
  5244. (package
  5245. (name "r-tsne")
  5246. (version "0.1-3")
  5247. (source
  5248. (origin
  5249. (method url-fetch)
  5250. (uri (cran-uri "tsne" version))
  5251. (sha256
  5252. (base32
  5253. "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
  5254. (build-system r-build-system)
  5255. (home-page "https://github.com/jdonaldson/rtsne/")
  5256. (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
  5257. (description
  5258. "This package provides a pure R implementation of the t-SNE algorithm.")
  5259. (license license:gpl2+)))
  5260. (define-public r-cairo
  5261. (package
  5262. (name "r-cairo")
  5263. (version "1.5-12.2")
  5264. (source
  5265. (origin
  5266. (method url-fetch)
  5267. (uri (cran-uri "Cairo" version))
  5268. (sha256
  5269. (base32
  5270. "14hgz5wmnhlbqkd1g662n1agmjnlj3pq69gfng1vb0ivr02l2lnx"))))
  5271. (properties `((upstream-name . "Cairo")))
  5272. (build-system r-build-system)
  5273. (inputs
  5274. `(("cairo" ,cairo)
  5275. ("libxt" ,libxt)
  5276. ("zlib" ,zlib)))
  5277. (native-inputs
  5278. `(("pkg-config" ,pkg-config)))
  5279. (home-page "https://www.rforge.net/Cairo/")
  5280. (synopsis "R graphics device using Cairo graphics library")
  5281. (description
  5282. "This package provides a Cairo graphics device that can be use to
  5283. create high-quality vector (PDF, PostScript and SVG) and bitmap
  5284. output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
  5285. and Win32). Since it uses the same back-end for all output, copying
  5286. across formats is WYSIWYG. Files are created without the dependence
  5287. on X11 or other external programs. This device supports alpha
  5288. channel (semi-transparent drawing) and resulting images can contain
  5289. transparent and semi-transparent regions. It is ideal for use in
  5290. server environments (file output) and as a replacement for other
  5291. devices that don't have Cairo's capabilities such as alpha support or
  5292. anti-aliasing. Backends are modular such that any subset of backends
  5293. is supported.")
  5294. (license license:gpl2)))
  5295. (define-public r-lubridate
  5296. (package
  5297. (name "r-lubridate")
  5298. (version "1.7.10")
  5299. (source
  5300. (origin
  5301. (method url-fetch)
  5302. (uri (cran-uri "lubridate" version))
  5303. (sha256
  5304. (base32
  5305. "1s653d6rnpf9bkynxmbq4fdjdcz7r9ma19aph8f5y9ck70his4hm"))))
  5306. (build-system r-build-system)
  5307. (propagated-inputs
  5308. `(("r-generics" ,r-generics)
  5309. ("r-rcpp" ,r-rcpp)))
  5310. (native-inputs
  5311. `(("r-knitr" ,r-knitr)))
  5312. (home-page "https://cran.r-project.org/web/packages/lubridate/")
  5313. (synopsis "Make dealing with dates a little easier")
  5314. (description
  5315. "This package provides functions to work with date-times and time-spans:
  5316. fast and user friendly parsing of date-time data, extraction and updating of
  5317. components of a date-time (years, months, days, hours, minutes, and seconds),
  5318. algebraic manipulation on date-time and time-span objects. The @code{lubridate}
  5319. package has a consistent and memorable syntax that makes working with dates
  5320. easy and fun.")
  5321. (license license:gpl2)))
  5322. (define-public r-fdrtool
  5323. (package
  5324. (name "r-fdrtool")
  5325. (version "1.2.16")
  5326. (source
  5327. (origin
  5328. (method url-fetch)
  5329. (uri (cran-uri "fdrtool" version))
  5330. (sha256
  5331. (base32
  5332. "1aap4k1l3a9m43374xq688mqnzkgqx8l021li262r3h1xr4adpp7"))))
  5333. (build-system r-build-system)
  5334. (home-page "http://strimmerlab.org/software/fdrtool/")
  5335. (synopsis "Estimation of false discovery rates and higher criticism")
  5336. (description
  5337. "This package provides tools to estimate tail area-based false discovery
  5338. rates as well as local false discovery rates for a variety of null
  5339. models (p-values, z-scores, correlation coefficients, t-scores). The
  5340. proportion of null values and the parameters of the null distribution are
  5341. adaptively estimated from the data. In addition, the package contains
  5342. functions for non-parametric density estimation (Grenander estimator), for
  5343. monotone regression (isotonic regression and antitonic regression with
  5344. weights), for computing the @dfn{greatest convex minorant} (GCM) and the
  5345. @dfn{least concave majorant} (LCM), for the half-normal and correlation
  5346. distributions, and for computing empirical @dfn{higher criticism} (HC) scores
  5347. and the corresponding decision threshold.")
  5348. (license license:gpl3+)))
  5349. (define-public r-forcats
  5350. (package
  5351. (name "r-forcats")
  5352. (version "0.5.1")
  5353. (source
  5354. (origin
  5355. (method url-fetch)
  5356. (uri (cran-uri "forcats" version))
  5357. (sha256
  5358. (base32
  5359. "12d2nv2w15085jscgidmjdnr1ryymciflcmal6ldmgp2fkl9dyy4"))))
  5360. (build-system r-build-system)
  5361. (propagated-inputs
  5362. `(("r-ellipsis" ,r-ellipsis)
  5363. ("r-magrittr" ,r-magrittr)
  5364. ("r-tibble" ,r-tibble)
  5365. ("r-rlang" ,r-rlang)))
  5366. (native-inputs
  5367. `(("r-knitr" ,r-knitr)))
  5368. (home-page "https://forcats.tidyverse.org")
  5369. (synopsis "Tools for working with factors")
  5370. (description "This package provides helpers for reordering factor
  5371. levels (including moving specified levels to front, ordering by first
  5372. appearance, reversing, and randomly shuffling), and tools for modifying factor
  5373. levels (including collapsing rare levels into other, \"anonymizing\", and
  5374. manually \"recoding\").")
  5375. (license license:gpl3)))
  5376. (define-public r-tgstat
  5377. (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
  5378. (revision "1"))
  5379. (package
  5380. (name "r-tgstat")
  5381. (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
  5382. (source
  5383. (origin
  5384. (method hg-fetch)
  5385. (uri (hg-reference
  5386. (url "https://bitbucket.org/tanaylab/tgstat")
  5387. (changeset changeset)))
  5388. (file-name (string-append name "-" version "-checkout"))
  5389. (sha256
  5390. (base32
  5391. "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
  5392. (build-system r-build-system)
  5393. (arguments
  5394. `(#:phases
  5395. (modify-phases %standard-phases
  5396. (add-after 'unpack 'fix-isnan
  5397. (lambda _
  5398. (substitute* "src/tgstat.h"
  5399. (("#define isnan ::isnan")
  5400. "#define isnan std::isnan"))
  5401. #t)))))
  5402. (propagated-inputs
  5403. `(("r-rcpp" ,r-rcpp)))
  5404. (home-page "https://bitbucket.org/tanaylab/tgstat/")
  5405. (synopsis "Tanay's group statistical utilities")
  5406. (description
  5407. "The goal of tgstat is to provide fast and efficient statistical
  5408. tools.")
  5409. (license license:gpl2))))
  5410. (define-public r-tgconfig
  5411. (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
  5412. (revision "1"))
  5413. (package
  5414. (name "r-tgconfig")
  5415. (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
  5416. (source
  5417. (origin
  5418. (method hg-fetch)
  5419. (uri (hg-reference
  5420. (url "https://bitbucket.org/tanaylab/tgconfig")
  5421. (changeset changeset)))
  5422. (file-name (string-append name "-" version "-checkout"))
  5423. (sha256
  5424. (base32
  5425. "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
  5426. (build-system r-build-system)
  5427. (propagated-inputs
  5428. `(("r-yaml" ,r-yaml)))
  5429. (home-page "https://bitbucket.org/tanaylab/tgconfig/")
  5430. (synopsis "Infrastructure for managing package parameters")
  5431. (description
  5432. "The goal of tgconfig is to provide infrastructure for managing package
  5433. parameters.")
  5434. (license license:gpl3))))
  5435. (define-public r-catterplots
  5436. (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
  5437. (revision "3"))
  5438. (package
  5439. (name "r-catterplots")
  5440. (version (git-version "0" revision commit))
  5441. (source (origin
  5442. (method git-fetch)
  5443. (uri (git-reference
  5444. (url "https://github.com/Gibbsdavidl/CatterPlots")
  5445. (commit commit)))
  5446. (file-name (git-file-name name version))
  5447. (sha256
  5448. (base32
  5449. "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
  5450. (build-system r-build-system)
  5451. (propagated-inputs
  5452. `(("r-png" ,r-png)))
  5453. (home-page "https://github.com/Gibbsdavidl/CatterPlots")
  5454. (synopsis "Scatter plots with cat shaped points")
  5455. (description "Did you ever wish you could make scatter plots with cat
  5456. shaped points? Now you can!")
  5457. (license license:asl2.0))))
  5458. (define-public r-colorout
  5459. (package
  5460. (name "r-colorout")
  5461. (version "1.2-2")
  5462. (source
  5463. (origin
  5464. (method git-fetch)
  5465. (uri (git-reference
  5466. (url "https://github.com/jalvesaq/colorout")
  5467. (commit (string-append "v" version))))
  5468. (file-name (git-file-name name version))
  5469. (sha256
  5470. (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
  5471. (build-system r-build-system)
  5472. (home-page "https://github.com/jalvesaq/colorout")
  5473. (synopsis "Colorize output in the R REPL")
  5474. (description "@code{colorout} is an R package that colorizes R output when
  5475. running in terminal emulator.
  5476. R STDOUT is parsed and numbers, negative numbers, dates in the standard
  5477. format, strings, and R constants are identified and wrapped by special ANSI
  5478. scape codes that are interpreted by terminal emulators as commands to colorize
  5479. the output. R STDERR is also parsed to identify the expressions warning and
  5480. error and their translations to many languages. If these expressions are
  5481. found, the output is colorized accordingly; otherwise, it is colorized as
  5482. STDERROR (blue, by default).
  5483. You can customize the colors according to your taste, guided by the color
  5484. table made by the command @code{show256Colors()}. You can also set the colors
  5485. to any arbitrary string. In this case, it is up to you to set valid values.")
  5486. (license license:gpl3+)))
  5487. (define-public python-rpy2
  5488. (package
  5489. (name "python-rpy2")
  5490. (version "3.4.5")
  5491. (source
  5492. (origin
  5493. (method url-fetch)
  5494. (uri (pypi-uri "rpy2" version))
  5495. (sha256
  5496. (base32
  5497. "1cysswxr5glrdblyl2zsmywcj7xhxn3wmyihxinrz9gm8gmaacax"))))
  5498. (build-system python-build-system)
  5499. (arguments
  5500. '(#:phases
  5501. (modify-phases %standard-phases
  5502. (replace 'check
  5503. (lambda* (#:key outputs inputs #:allow-other-keys)
  5504. (let ((cwd (getcwd)))
  5505. (setenv "TZ" "UTC"))
  5506. ;; test_vector_complex has issues when run in our environment.
  5507. (invoke "pytest" "-v" "rpy2/tests/"
  5508. "-k" "not test_vector_complex"))))))
  5509. (propagated-inputs
  5510. `(("python-cffi" ,python-cffi)
  5511. ("python-six" ,python-six)
  5512. ("python-jinja2" ,python-jinja2)
  5513. ("python-numpy" ,python-numpy)
  5514. ("python-pandas" ,python-pandas)
  5515. ("python-pytz" ,python-pytz)
  5516. ("python-ipython" ,python-ipython)
  5517. ("python-tzlocal" ,python-tzlocal)))
  5518. (inputs
  5519. `(("readline" ,readline)
  5520. ("icu4c" ,icu4c)
  5521. ("pcre" ,pcre)
  5522. ("r-minimal" ,r-minimal)
  5523. ("r-survival" ,r-survival)
  5524. ("r-ggplot2" ,r-ggplot2)
  5525. ("r-rsqlite" ,r-rsqlite)
  5526. ("r-dplyr" ,r-dplyr)
  5527. ("r-dbplyr" ,r-dbplyr)
  5528. ("python-numpy" ,python-numpy)))
  5529. (native-inputs
  5530. `(("zlib" ,zlib)
  5531. ("python-pytest" ,python-pytest)))
  5532. (home-page "https://rpy2.github.io")
  5533. (synopsis "Python interface to the R language")
  5534. (description "rpy2 is a redesign and rewrite of rpy. It is providing a
  5535. low-level interface to R from Python, a proposed high-level interface,
  5536. including wrappers to graphical libraries, as well as R-like structures and
  5537. functions.")
  5538. ;; Any of these licenses can be picked for the R interface. The whole
  5539. ;; project is released under GPLv2+ according to the license declaration
  5540. ;; in "setup.py".
  5541. (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+))))
  5542. (define-public java-jdistlib
  5543. (package
  5544. (name "java-jdistlib")
  5545. (version "0.4.5")
  5546. (source (origin
  5547. (method url-fetch)
  5548. (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
  5549. version "-src.jar"))
  5550. (sha256
  5551. (base32
  5552. "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
  5553. (build-system ant-build-system)
  5554. (arguments
  5555. `(#:jar-name "jdistlib.jar"
  5556. #:jdk ,icedtea-8
  5557. #:tests? #f ; no dedicated test directory
  5558. #:phases
  5559. (modify-phases %standard-phases
  5560. (add-after 'unpack 'fix-broken-encoding
  5561. (lambda _
  5562. (with-fluids ((%default-port-encoding "ISO-8859-1"))
  5563. (substitute* "src/jdistlib/Beta.java"
  5564. (("Scheff.+-Tukey") "Scheffe-Tukey")))
  5565. #t)))))
  5566. (propagated-inputs
  5567. `(("java-jtransforms" ,java-jtransforms)))
  5568. (native-inputs
  5569. `(("java-junit" ,java-junit)))
  5570. (home-page "http://jdistlib.sourceforge.net/")
  5571. (synopsis "Java library of statistical distributions")
  5572. (description "JDistlib is the Java Statistical Distribution Library, a
  5573. Java package that provides routines for various statistical distributions.")
  5574. ;; The files that were translated from R code are under GPLv2+; some files
  5575. ;; are under the GPLv3, which is a mistake. The author confirmed in an
  5576. ;; email that this whole project should be under GPLv2+.
  5577. (license license:gpl2+)))
  5578. (define-public emacs-ess
  5579. ;; Latest release is old. This is not the latest commit either due to bug
  5580. ;; reported here: <https://github.com/emacs-ess/ESS/issues/987>.
  5581. (let ((commit "24da603184ce39246611dd5b8602e769d7ebd5bf")
  5582. (version "18.10.2")
  5583. (revision "0"))
  5584. (package
  5585. (name "emacs-ess")
  5586. (version (git-version version revision commit))
  5587. (source
  5588. (origin
  5589. (method git-fetch)
  5590. (uri (git-reference
  5591. (url "https://github.com/emacs-ess/ESS")
  5592. (commit commit)))
  5593. (sha256
  5594. (base32 "0j98lv07nzwzd54d4dgcfz01wy5gj48m0mnirxzh5r45ik2myh1r"))
  5595. (file-name (git-file-name name version))
  5596. (modules '((guix build utils)))
  5597. (snippet
  5598. '(begin
  5599. ;; Stop ESS from trying to bundle an external julia-mode.el.
  5600. (substitute* "lisp/Makefile"
  5601. ((" \\$\\(JULIAS)") "")
  5602. (("\ttest.*julia-mode.*\\.el") ""))
  5603. ;; Only build docs in info format.
  5604. (substitute* "doc/Makefile"
  5605. (("all : info text")
  5606. "all : info")
  5607. (("install: install-info install-other-docs")
  5608. "install: install-info"))
  5609. ;; Stop install-info from trying to update the info directory.
  5610. (substitute* "doc/Makefile"
  5611. ((".*/dir.*") ""))
  5612. ;; Fix r-help-mode test.
  5613. (substitute* "test/ess-test-r.el"
  5614. (("\\(equal ess-help-object \"plot.default\")") "t"))
  5615. ;; Avoid generating ess-autoloads.el twice.
  5616. (substitute* "Makefile"
  5617. (("all: lisp doc etc autoloads")
  5618. "all: lisp doc etc"))
  5619. ;; Install to correct directories.
  5620. (substitute* "Makefile"
  5621. (("mkdir -p \\$\\(ESSDESTDIR)")
  5622. "$(MAKE) -C lisp install; $(MAKE) -C doc install")
  5623. (("\\$\\(INSTALL) -R \\./\\* \\$\\(ESSDESTDIR)/")
  5624. "$(MAKE) -C etc install"))
  5625. #t))))
  5626. (build-system gnu-build-system)
  5627. (arguments
  5628. (let ((base-directory "/share/emacs/site-lisp"))
  5629. `(#:make-flags (list (string-append "PREFIX=" %output)
  5630. (string-append "ETCDIR=" %output
  5631. ,base-directory "/etc")
  5632. (string-append "LISPDIR=" %output
  5633. ,base-directory)
  5634. (string-append "INFODIR=" %output
  5635. "/share/info"))
  5636. #:phases
  5637. (modify-phases %standard-phases
  5638. (delete 'configure)
  5639. (replace 'check
  5640. (lambda _ (invoke "make" "test")))))))
  5641. (native-inputs
  5642. `(("perl" ,perl)
  5643. ("r-roxygen2" ,r-roxygen2)
  5644. ("texinfo" ,texinfo)))
  5645. (inputs
  5646. `(("emacs" ,emacs-minimal)
  5647. ("r-minimal" ,r-minimal)))
  5648. (propagated-inputs
  5649. `(("emacs-julia-mode" ,emacs-julia-mode)))
  5650. (home-page "https://ess.r-project.org/")
  5651. (synopsis "Emacs mode for statistical analysis programs")
  5652. (description
  5653. "Emacs Speaks Statistics (ESS) is an add-on package for GNU Emacs. It
  5654. is designed to support editing of scripts and interaction with various
  5655. statistical analysis programs such as R, Julia, and JAGS.")
  5656. (license license:gpl3+))))
  5657. (define-public emacs-poly-r
  5658. (package
  5659. (name "emacs-poly-r")
  5660. (version "0.2.2")
  5661. (source
  5662. (origin
  5663. (method git-fetch)
  5664. (uri (git-reference
  5665. (url "https://github.com/polymode/poly-R")
  5666. (commit (string-append "v" version))))
  5667. (file-name (git-file-name name version))
  5668. (sha256
  5669. (base32 "0a4wx73jkngw5nbq1fa4jfhba6bsmyn6vnsf887x3xhb5v3ykhsg"))))
  5670. (build-system emacs-build-system)
  5671. (propagated-inputs
  5672. `(("emacs-ess" ,emacs-ess)
  5673. ("emacs-poly-noweb" ,emacs-poly-noweb)
  5674. ("emacs-polymode-markdown" ,emacs-polymode-markdown)
  5675. ("emacs-polymode" ,emacs-polymode)))
  5676. (properties '((upstream-name . "poly-R")))
  5677. (home-page "https://github.com/polymode/poly-markdown")
  5678. (synopsis "Polymodes for the R language")
  5679. (description
  5680. "This package provides a number of polymodes for working with mixed R
  5681. files, including Rmarkdown files.")
  5682. (license license:gpl3+)))
  5683. (define-public readstat
  5684. (package
  5685. (name "readstat")
  5686. (version "1.1.5")
  5687. (source
  5688. (origin
  5689. (method git-fetch)
  5690. (uri (git-reference
  5691. (url "https://github.com/WizardMac/ReadStat")
  5692. (commit (string-append "v" version))))
  5693. (file-name (git-file-name name version))
  5694. (sha256
  5695. (base32 "00sdmaq0qzp6kyv53fpfi6jf3iv4pd0ap0gmw3mbfip52bbnl55w"))))
  5696. (build-system gnu-build-system)
  5697. (native-inputs
  5698. `(("autoconf" ,autoconf)
  5699. ("automake" ,automake)
  5700. ("gettext" ,gnu-gettext)
  5701. ("libtool" ,libtool)))
  5702. (inputs
  5703. `(("zlib" ,zlib))) ; libz
  5704. (synopsis "Convert SAS, Stata, and SPSS files")
  5705. (description "Command-line tool and C library for reading files from
  5706. popular stats packages like SAS, Stata and SPSS.")
  5707. (home-page "https://github.com/WizardMac/ReadStat")
  5708. (license license:expat)))
  5709. (define-public r-quantpsyc
  5710. (package
  5711. (name "r-quantpsyc")
  5712. (version "1.5")
  5713. (source
  5714. (origin
  5715. (method url-fetch)
  5716. (uri (cran-uri "QuantPsyc" version))
  5717. (sha256
  5718. (base32
  5719. "1i9bh88r8zxndzjqsj14qw64gnvm5a9kvhjhzk3qsrvl3qzjgh93"))))
  5720. (properties `((upstream-name . "QuantPsyc")))
  5721. (build-system r-build-system)
  5722. (propagated-inputs
  5723. `(("r-boot" ,r-boot) ("r-mass" ,r-mass)))
  5724. (home-page "https://cran.r-project.org/web/packages/QuantPsyc/")
  5725. (synopsis "Quantitative Psychology Tools")
  5726. (description
  5727. "Contains functions useful for data screening, testing moderation,
  5728. mediation and estimating power.")
  5729. (license license:gpl2+)))
  5730. (define-public r-clubsandwich
  5731. (package
  5732. (name "r-clubsandwich")
  5733. (version "0.5.3")
  5734. (source
  5735. (origin
  5736. (method url-fetch)
  5737. (uri (cran-uri "clubSandwich" version))
  5738. (sha256
  5739. (base32
  5740. "0jazgka18bb5n58d5sn94q7rc9sac82qrpl2i5b4rkx9q2pb39cn"))))
  5741. (properties `((upstream-name . "clubSandwich")))
  5742. (build-system r-build-system)
  5743. (propagated-inputs
  5744. `(("r-sandwich" ,r-sandwich)))
  5745. (native-inputs `(("r-knitr" ,r-knitr)))
  5746. (home-page "https://github.com/jepusto/clubSandwich")
  5747. (synopsis "Cluster-Robust (Sandwich) Variance Estimators with Small-Sample
  5748. Corrections")
  5749. (description
  5750. "Provides several cluster-robust variance estimators (i.e.,
  5751. sandwich estimators) for ordinary and weighted least squares linear regression
  5752. models, including the bias-reduced linearization estimator introduced by Bell
  5753. and McCaffrey (2002)
  5754. @url{http://www.statcan.gc.ca/pub/12-001-x/2002002/article/9058-eng.pdf} and
  5755. developed further by Pustejovsky and Tipton (2017)
  5756. @url{doi:10.1080/07350015.2016.1247004}. The package includes functions for estimating
  5757. the variance- covariance matrix and for testing single- and multiple-
  5758. contrast hypotheses based on Wald test statistics. Tests of single regression
  5759. coefficients use Satterthwaite or saddle-point corrections. Tests of multiple-
  5760. contrast hypotheses use an approximation to Hotelling's T-squared distribution.
  5761. Methods are provided for a variety of fitted models, including @code{lm()} and
  5762. @code{mlm} objects, @code{glm()}, ivreg (from package @code{AER}), @code{plm()}
  5763. (from package @code{plm}), @code{gls()} and @code{lme()} (from @code{nlme}),
  5764. @code{robu()} (from @code{robumeta}), and @code{rma.uni()} and @code{rma.mv()}
  5765. (from @code{metafor}).")
  5766. (license license:gpl3)))
  5767. (define-public r-puniform
  5768. (package
  5769. (name "r-puniform")
  5770. (version "0.2.4")
  5771. (source
  5772. (origin
  5773. (method url-fetch)
  5774. (uri (cran-uri "puniform" version))
  5775. (sha256
  5776. (base32
  5777. "0v2977y9cwjx74xk0ig745g09wn7nrcsrg4f6v315sglsm18iaa8"))))
  5778. (properties `((upstream-name . "puniform")))
  5779. (build-system r-build-system)
  5780. (propagated-inputs
  5781. `(("r-adgoftest" ,r-adgoftest)
  5782. ("r-metafor" ,r-metafor)
  5783. ("r-rcpp" ,r-rcpp)
  5784. ("r-rcpparmadillo" ,r-rcpparmadillo)))
  5785. (home-page
  5786. "https://github.com/RobbievanAert/puniform")
  5787. (synopsis
  5788. "Meta-Analysis Methods Correcting for Publication Bias")
  5789. (description
  5790. "This package provides meta-analysis methods that correct for publication
  5791. bias and outcome reporting bias. Four methods and a visual tool are currently
  5792. included in the package.
  5793. @enumerate
  5794. @item The p-uniform method as described in van Assen, van Aert, and Wicherts
  5795. (2015) @url{doi:10.1037/met0000025} can be used for estimating the average
  5796. effect size, testing the null hypothesis of no effect, and testing for
  5797. publication bias using only the statistically significant effect sizes of
  5798. primary studies.
  5799. @item The p-uniform* method as described in van Aert and van Assen (2019)
  5800. @url{doi:10.31222/osf.io/zqjr9}. This method is an extension of the p-uniform
  5801. method that allows for estimation of the average effect size and the
  5802. between-study variance in a meta-analysis, and uses both the statistically
  5803. significant and nonsignificant effect sizes.
  5804. @item The hybrid method as described in van Aert and van Assen (2017)
  5805. @url{doi:10.3758/s13428-017-0967-6}. The hybrid method is a meta-analysis
  5806. method for combining an original study and replication and while taking into
  5807. account statistical significance of the original study. The p-uniform and
  5808. hybrid method are based on the statistical theory that the distribution of
  5809. p-values is uniform conditional on the population effect size.
  5810. @item
  5811. The fourth method in the package is the Snapshot Bayesian Hybrid Meta-Analysis
  5812. Method as described in van Aert and van Assen (2018)
  5813. @url{doi:10.1371/journal.pone.0175302}. This method computes posterior
  5814. probabilities for four true effect sizes (no, small, medium, and large) based
  5815. on an original study and replication while taking into account publication bias
  5816. in the original study. The method can also be used for computing the required
  5817. sample size of the replication akin to power analysis in null hypothesis
  5818. significance testing.
  5819. @end enumerate
  5820. The meta-plot is a visual tool for meta-analysis that
  5821. provides information on the primary studies in the meta-analysis, the results
  5822. of the meta-analysis, and characteristics of the research on the effect under
  5823. study (van Assen and others, 2020).
  5824. Helper functions to apply the Correcting for Outcome Reporting Bias (CORB)
  5825. method to correct for outcome reporting bias in a meta-analysis (van Aert &
  5826. Wicherts, 2020).")
  5827. (license license:gpl2+)))
  5828. (define-public r-esc
  5829. (package
  5830. (name "r-esc")
  5831. (version "0.5.1")
  5832. (source
  5833. (origin
  5834. (method url-fetch)
  5835. (uri (cran-uri "esc" version))
  5836. (sha256
  5837. (base32
  5838. "0gns7gz55p6pha05413r3hlvd7f2v1amxkg13d197mab1ypqic7q"))))
  5839. (properties `((upstream-name . "esc")))
  5840. (build-system r-build-system)
  5841. (home-page "https://strengejacke.github.io/esc/")
  5842. (synopsis
  5843. "Effect Size Computation for Meta Analysis")
  5844. (description
  5845. "Implementation of the web-based
  5846. @url{http://www.campbellcollaboration.org/escalc/html/EffectSizeCalculator-Home.php,'Practical
  5847. Meta-Analysis Effect Size Calculator'} from David B. Wilson in R. Based on the
  5848. input, the effect size can be returned as standardized mean difference, Cohen's
  5849. f, Hedges' g, Pearson's r or Fisher's transformation z, odds ratio or log odds,
  5850. or eta squared effect size.")
  5851. (license license:gpl3)))
  5852. (define-public r-kknn
  5853. (package
  5854. (name "r-kknn")
  5855. (version "1.3.1")
  5856. (source
  5857. (origin
  5858. (method url-fetch)
  5859. (uri (cran-uri "kknn" version))
  5860. (sha256
  5861. (base32
  5862. "1nzkg3dxaiqp87p56wm895qx5xn86hv5hjr73qvl1yiaxiq0x112"))))
  5863. (properties `((upstream-name . "kknn")))
  5864. (build-system r-build-system)
  5865. (propagated-inputs
  5866. `(("r-igraph" ,r-igraph) ("r-matrix" ,r-matrix)))
  5867. (home-page "https://github.com/KlausVigo/kknn")
  5868. (synopsis "Weighted k-Nearest Neighbors")
  5869. (description
  5870. "Weighted k-Nearest Neighbors for Classification, Regression and Clustering.")
  5871. (license license:gpl2+)))
  5872. (define-public r-logspline
  5873. (package
  5874. (name "r-logspline")
  5875. (version "2.1.16")
  5876. (source
  5877. (origin
  5878. (method url-fetch)
  5879. (uri (cran-uri "logspline" version))
  5880. (sha256
  5881. (base32
  5882. "12hkdi77vkic05p2vhap025xdcg1n53ywm239v18713pihdlj63l"))))
  5883. (properties `((upstream-name . "logspline")))
  5884. (build-system r-build-system)
  5885. (native-inputs `(("gfortran" ,gfortran)))
  5886. (home-page
  5887. "https://cran.r-project.org/web/packages/logspline/")
  5888. (synopsis
  5889. "Routines for Logspline Density Estimation")
  5890. (description
  5891. "Contains routines for logspline density estimation. The function
  5892. @code{oldlogspline()} uses the same algorithm as the logspline package version
  5893. 1.0.x; i.e. the Kooperberg and Stone (1992) algorithm (with an improved
  5894. interface). The recommended routine @code{logspline()} uses an algorithm from
  5895. @url{doi:10.1214/aos/1031594728,Stone et al (1997)}.")
  5896. (license license:asl2.0)))
  5897. (define-public r-effects
  5898. (package
  5899. (name "r-effects")
  5900. (version "4.2-0")
  5901. (source
  5902. (origin
  5903. (method url-fetch)
  5904. (uri (cran-uri "effects" version))
  5905. (sha256
  5906. (base32
  5907. "0iks79rd4knrd81x4kvcpgpclr69l0m0v6sfla8k3wzkcnydycv8"))))
  5908. (properties `((upstream-name . "effects")))
  5909. (build-system r-build-system)
  5910. (propagated-inputs
  5911. `(("r-cardata" ,r-cardata)
  5912. ("r-colorspace" ,r-colorspace)
  5913. ("r-estimability" ,r-estimability)
  5914. ("r-insight" ,r-insight)
  5915. ("r-lattice" ,r-lattice)
  5916. ("r-lme4" ,r-lme4)
  5917. ("r-nnet" ,r-nnet)
  5918. ("r-survey" ,r-survey)))
  5919. (native-inputs
  5920. `(("r-knitr" ,r-knitr)
  5921. ("r-car", r-car)))
  5922. (home-page "https://www.r-project.org")
  5923. (synopsis
  5924. "Effect Displays for Linear, Generalized Linear, and Other Models")
  5925. (description
  5926. "Graphical and tabular effect displays, e.g., of interactions, for
  5927. various statistical models with linear predictors.")
  5928. (license license:gpl2+)))
  5929. (define-public r-bayesfactor
  5930. (package
  5931. (name "r-bayesfactor")
  5932. (version "0.9.12-4.2")
  5933. (source
  5934. (origin
  5935. (method url-fetch)
  5936. (uri (cran-uri "BayesFactor" version))
  5937. (sha256
  5938. (base32
  5939. "1z083v7is21gm0a458jm5ph3xfdm7mh29a6sg2r1njq82f8x3s3g"))))
  5940. (properties `((upstream-name . "BayesFactor")))
  5941. (build-system r-build-system)
  5942. (propagated-inputs
  5943. `(("r-coda" ,r-coda)
  5944. ("r-gtools" ,r-gtools)
  5945. ("r-hypergeo" ,r-hypergeo)
  5946. ("r-matrix" ,r-matrix)
  5947. ("r-matrixmodels" ,r-matrixmodels)
  5948. ("r-mvtnorm" ,r-mvtnorm)
  5949. ("r-pbapply" ,r-pbapply)
  5950. ("r-rcpp" ,r-rcpp)
  5951. ("r-rcppeigen" ,r-rcppeigen)
  5952. ("r-stringr" ,r-stringr)))
  5953. (native-inputs `(("r-knitr" ,r-knitr)))
  5954. (home-page
  5955. "https://richarddmorey.github.io/BayesFactor/")
  5956. (synopsis
  5957. "Computation of Bayes Factors for Common Designs")
  5958. (description
  5959. "This package provides a suite of functions for computing various Bayes
  5960. factors for simple designs, including contingency tables, one- and two-sample
  5961. designs, one-way designs, general ANOVA designs, and linear regression.")
  5962. (license license:gpl2)))
  5963. (define-public r-norm
  5964. (package
  5965. (name "r-norm")
  5966. (version "1.0-9.5")
  5967. (source (origin
  5968. (method url-fetch)
  5969. (uri (cran-uri "norm" version))
  5970. (sha256
  5971. (base32
  5972. "01j1h412yfjx5r4dd0w8rhlf55997spgb6zd6pawy19rgw0byp1h"))))
  5973. (build-system r-build-system)
  5974. (native-inputs
  5975. `(("gfortran" ,gfortran)))
  5976. (home-page "https://cran.r-project.org/web/packages/norm/")
  5977. (synopsis "Analysis of multivariate normal datasets with missing values")
  5978. (description "Multiple imputation of multivariate continuous data under a
  5979. normal model.")
  5980. ;; Custom license, see https://cran.r-project.org/web/packages/norm/LICENSE.
  5981. (license (license:non-copyleft "file://LICENSE"))))
  5982. (define-public r-naniar
  5983. (package
  5984. (name "r-naniar")
  5985. (version "0.6.1")
  5986. (source (origin
  5987. (method url-fetch)
  5988. (uri (cran-uri "naniar" version))
  5989. (sha256
  5990. (base32
  5991. "0l3l2x85v3srilww483kpgp4zlwixyml257b0cqly8kcpwawlinm"))))
  5992. (build-system r-build-system)
  5993. (propagated-inputs
  5994. `(("r-dplyr" ,r-dplyr)
  5995. ("r-norm" ,r-norm)
  5996. ("r-forcats" ,r-forcats)
  5997. ("r-ggplot2" ,r-ggplot2)
  5998. ("r-glue" ,r-glue)
  5999. ("r-magrittr" ,r-magrittr)
  6000. ("r-purrr" ,r-purrr)
  6001. ("r-rlang" ,r-rlang)
  6002. ("r-tibble" ,r-tibble)
  6003. ("r-tidyr" ,r-tidyr)
  6004. ("r-upsetr" ,r-upsetr)
  6005. ("r-viridis" ,r-viridis)
  6006. ("r-visdat" ,r-visdat)))
  6007. (native-inputs
  6008. `(("r-knitr" ,r-knitr)))
  6009. (home-page "https://github.com/njtierney/naniar")
  6010. (synopsis
  6011. "Data structures, summaries, and visualisations for missing data")
  6012. (description
  6013. "Missing values are ubiquitous in data and need to be explored and
  6014. handled in the initial stages of analysis. The package provides data structures
  6015. and functions that facilitate the plotting of missing values and examination of
  6016. imputations. This allows missing data dependencies to be explored with minimal
  6017. deviation from the common work patterns of @code{ggplot2} and tidy data.")
  6018. (license license:expat)))
  6019. (define-public r-glinternet
  6020. (package
  6021. (name "r-glinternet")
  6022. (version "1.0.11")
  6023. (source
  6024. (origin
  6025. (method url-fetch)
  6026. (uri (cran-uri "glinternet" version))
  6027. (sha256
  6028. (base32
  6029. "1lqph2hj0h826gcfyk290ahkfalpnrd6jzymm60xi2qxia14lzk5"))))
  6030. (build-system r-build-system)
  6031. (home-page "http://web.stanford.edu/~hastie/Papers/glinternet_jcgs.pdf")
  6032. (synopsis "Learning interactions via hierarchical group-lasso regularization")
  6033. (description "Group-Lasso INTERaction-NET. Fits linear pairwise-interaction
  6034. models that satisfy strong hierarchy: if an interaction coefficient is estimated
  6035. to be nonzero, then its two associated main effects also have nonzero estimated
  6036. coefficients. Accommodates categorical variables (factors) with arbitrary
  6037. numbers of levels, continuous variables, and combinations thereof. Implements
  6038. the machinery described in the paper \"Learning interactions via hierarchical
  6039. group-lasso regularization\" (JCGS 2015, Volume 24, Issue 3).
  6040. Michael Lim & Trevor Hastie (2015)")
  6041. (license license:gpl2)))
  6042. (define-public r-datasaurus
  6043. (package
  6044. (name "r-datasaurus")
  6045. (version "0.1.4")
  6046. (source
  6047. (origin
  6048. (method url-fetch)
  6049. (uri (cran-uri "datasauRus" version))
  6050. (sha256
  6051. (base32
  6052. "1w1yhwwrmh95bklacz44wjwynxd8cj3z8b9zvsnzmk18m5a4k0fl"))))
  6053. (properties `((upstream-name . "datasauRus")))
  6054. (build-system r-build-system)
  6055. (native-inputs `(("r-knitr" ,r-knitr)))
  6056. (home-page
  6057. "https://github.com/lockedata/datasauRus")
  6058. (synopsis "Datasets from the Datasaurus Dozen")
  6059. (description
  6060. "The Datasaurus Dozen is a set of datasets with the same summary
  6061. statistics. They retain the same summary statistics despite having radically
  6062. different distributions. The datasets represent a larger and quirkier object
  6063. lesson that is typically taught via Anscombe's Quartet (available in the
  6064. 'datasets' package). Anscombe's Quartet contains four very different
  6065. distributions with the same summary statistics and as such highlights the value
  6066. of visualisation in understanding data, over and above summary statistics. As
  6067. well as being an engaging variant on the Quartet, the data is generated in a
  6068. novel way. The simulated annealing process used to derive datasets from the
  6069. original Datasaurus is detailed in \"Same Stats, Different Graphs: Generating
  6070. Datasets with Varied Appearance and Identical Statistics through Simulated
  6071. Annealing\" @url{doi:10.1145/3025453.3025912}.")
  6072. (license license:expat)))