123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336 |
- ;;; GNU Guix --- Functional package management for GNU
- ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
- ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
- ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
- ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
- ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
- ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
- ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
- ;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
- ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
- ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
- ;;; Copyright © 2017 Alex Kost <alezost@gmail.com>
- ;;; Copyright © 2018 Alex Branham <alex.branham@gmail.com>
- ;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
- ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
- ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
- ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
- ;;;
- ;;; This file is part of GNU Guix.
- ;;;
- ;;; GNU Guix is free software; you can redistribute it and/or modify it
- ;;; under the terms of the GNU General Public License as published by
- ;;; the Free Software Foundation; either version 3 of the License, or (at
- ;;; your option) any later version.
- ;;;
- ;;; GNU Guix is distributed in the hope that it will be useful, but
- ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
- ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ;;; GNU General Public License for more details.
- ;;;
- ;;; You should have received a copy of the GNU General Public License
- ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
- (define-module (gnu packages statistics)
- #:use-module ((guix licenses) #:prefix license:)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (guix hg-download)
- #:use-module (guix git-download)
- #:use-module (guix utils)
- #:use-module (guix build-system ant)
- #:use-module (guix build-system emacs)
- #:use-module (guix build-system gnu)
- #:use-module (guix build-system r)
- #:use-module (guix build-system python)
- #:use-module (guix build-system trivial)
- #:use-module (gnu packages)
- #:use-module (gnu packages algebra)
- #:use-module (gnu packages autotools)
- #:use-module (gnu packages bash)
- #:use-module (gnu packages check)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages cran)
- #:use-module (gnu packages curl)
- #:use-module (gnu packages emacs)
- #:use-module (gnu packages emacs-xyz)
- #:use-module (gnu packages fontutils)
- #:use-module (gnu packages gcc)
- #:use-module (gnu packages gtk)
- #:use-module (gnu packages gettext)
- #:use-module (gnu packages glib)
- #:use-module (gnu packages haskell-xyz)
- #:use-module (gnu packages icu4c)
- #:use-module (gnu packages image)
- #:use-module (gnu packages java)
- #:use-module (gnu packages libffi)
- #:use-module (gnu packages machine-learning)
- #:use-module (gnu packages maths)
- #:use-module (gnu packages multiprecision)
- #:use-module (gnu packages pcre)
- #:use-module (gnu packages perl)
- #:use-module (gnu packages pkg-config)
- #:use-module (gnu packages python)
- #:use-module (gnu packages python-science)
- #:use-module (gnu packages python-xyz)
- #:use-module (gnu packages readline)
- #:use-module (gnu packages sphinx)
- #:use-module (gnu packages ssh)
- #:use-module (gnu packages tcl)
- #:use-module (gnu packages tex)
- #:use-module (gnu packages texinfo)
- #:use-module (gnu packages time)
- #:use-module (gnu packages tls)
- #:use-module (gnu packages base)
- #:use-module (gnu packages version-control)
- #:use-module (gnu packages web)
- #:use-module (gnu packages xml)
- #:use-module (gnu packages xorg)
- #:use-module (srfi srfi-1))
- (define-public pspp
- (package
- (name "pspp")
- (version "1.4.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/pspp/pspp-"
- version ".tar.gz"))
- (sha256
- (base32
- "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan"))))
- (build-system gnu-build-system)
- (inputs
- `(("cairo" ,cairo)
- ("gettext" ,gettext-minimal)
- ("gsl" ,gsl)
- ("libxml2" ,libxml2)
- ("pango" ,pango)
- ("readline" ,readline)
- ("gtk" ,gtk+)
- ("gtksourceview" ,gtksourceview-3)
- ("spread-sheet-widget" ,spread-sheet-widget)
- ("zlib" ,zlib)))
- (native-inputs
- `(("autoconf" ,autoconf) ;for tests
- ("glib" ,glib "bin") ;for glib-genmarshal
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("python" ,python-2) ;for tests
- ("texinfo" ,texinfo)))
- (home-page "https://www.gnu.org/software/pspp/")
- (synopsis "Statistical analysis")
- (description
- "GNU PSPP is a statistical analysis program. It can perform
- descriptive statistics, T-tests, linear regression and non-parametric tests.
- It features both a graphical interface as well as command-line input. PSPP
- is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
- can be imported from spreadsheets, text files and database sources and it can
- be output in text, PostScript, PDF or HTML.")
- (license license:gpl3+)))
- (define-public jags
- (package
- (name "jags")
- (version "4.3.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
- (version-major version) ".x/Source/"
- "JAGS-" version ".tar.gz"))
- (sha256
- (base32
- "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
- (build-system gnu-build-system)
- (home-page "http://mcmc-jags.sourceforge.net/")
- (native-inputs
- `(("gfortran" ,gfortran)
- ("lapack" ,lapack)))
- (synopsis "Gibbs sampler")
- (description "JAGS is Just Another Gibbs Sampler. It is a program for
- analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
- simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
- @enumerate
- @item To have a cross-platform engine for the BUGS language;
- @item To be extensible, allowing users to write their own functions,
- distributions and samplers;
- @item To be a platform for experimentation with ideas in Bayesian modelling.
- @end enumerate\n")
- (license license:gpl2)))
- (define-public libxls
- (package
- (name "libxls")
- (version "1.6.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://github.com/libxls/libxls/releases/download/"
- "v" version "/libxls-" version ".tar.gz"))
- (sha256
- (base32 "0wg3ymr43aa1j3scyl9x83b2xgg7wilzpil0dj91a8dzji6w7b2x"))))
- (build-system gnu-build-system)
- (home-page "https://github.com/libxls/libxls")
- (synopsis "Read binary (.xls) Excel spreadsheet files")
- (description
- "libxls is a C library to read .xls spreadsheet files in the binary OLE
- BIFF8 format as created by Excel 97 and later versions. It cannot write them.
- This package also provides @command{xls2csv} to export Excel files to CSV.")
- (license license:bsd-2)))
- ;; Update this package together with the set of recommended packages: r-boot,
- ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
- ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
- (define r-with-tests
- (package
- (name "r-with-tests")
- (version "4.1.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://cran/src/base/R-"
- (version-major version) "/R-"
- version ".tar.gz"))
- (sha256
- (base32
- "0r6kpnxjbvb7gdfg4m1z8zc6xd225vw81wrnf05ps9ajawk06pji"))))
- (build-system gnu-build-system)
- (arguments
- `(#:disallowed-references (,tzdata-for-tests)
- #:make-flags
- (list (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out")
- "/lib/R/lib")
- ;; This affects the embedded timestamp of only the core packages.
- "PKG_BUILT_STAMP=1970-01-01")
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'do-not-compress-serialized-files
- (lambda* (#:key inputs #:allow-other-keys)
- ;; This ensures that Guix can detect embedded store references;
- ;; see bug #28157 for details.
- (substitute* "src/library/base/makebasedb.R"
- (("compress = TRUE") "compress = FALSE"))
- #t))
- (add-before 'configure 'patch-coreutils-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((uname-bin (search-input-file inputs "/bin/uname"))
- (rm-bin (search-input-file inputs "/bin/rm")))
- (substitute* "src/scripts/R.sh.in"
- (("uname") uname-bin))
- (substitute* "src/unix/sys-std.c"
- (("rm -Rf ") (string-append rm-bin " -Rf "))))
- #t))
- (add-after 'unpack 'build-reproducibly
- (lambda _
- ;; The documentation contains time stamps to demonstrate
- ;; documentation generation in different phases.
- (substitute* "src/library/tools/man/Rd2HTML.Rd"
- (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
- "(removed for reproducibility)"))
- ;; Remove timestamp from tracing environment. This fixes
- ;; reproducibility of "methods.rd{b,x}".
- (substitute* "src/library/methods/R/trace.R"
- (("dateCreated = Sys.time\\(\\)")
- "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
- ;; Ensure that gzipped files are reproducible.
- (substitute* '("src/library/grDevices/Makefile.in"
- "doc/manual/Makefile.in")
- (("R_GZIPCMD\\)" line)
- (string-append line " -n")))
- ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
- ;; queries the mtime of a given file and records it in an object.
- ;; This is acceptable at runtime to detect stale source files,
- ;; but it destroys reproducibility at build time.
- ;; Similarly, the "srcfilecopy" procedure records the current
- ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
- (substitute* "src/library/base/R/srcfile.R"
- (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
- (string-append "timestamp <- \
- as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
- as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
- } else { " time "}, origin=\"1970-01-01\")\n")))
- ;; This library is installed using "install_package_description",
- ;; so we need to pass the "builtStamp" argument.
- (substitute* "src/library/tools/Makefile.in"
- (("(install_package_description\\(.*\"')\\)\"" line prefix)
- (string-append prefix ", builtStamp='1970-01-01')\"")))
- (substitute* "src/library/Recommended/Makefile.in"
- (("INSTALL_OPTS =" m)
- (string-append m " --built-timestamp=1970-01-01" m)))
- ;; R bundles an older version of help2man, which does not respect
- ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
- ;; because that breaks a test.
- (with-fluids ((%default-port-encoding "ISO-8859-1"))
- (substitute* "tools/help2man.pl"
- (("my \\$date = strftime \"%B %Y\", localtime" line)
- (string-append line " 1"))))
- ;; The "References" section of this file when converted to
- ;; package.rds is sometimes stored with a newline, sometimes with
- ;; a space. We avoid this problem by removing the line break
- ;; that is suspected to be the culprit.
- (substitute* "src/library/methods/DESCRIPTION.in"
- (("\\(2008\\)\n") "(2008) ")
- ((" ``Software") "``Software"))
- #t))
- (add-before 'build 'set-locales
- (lambda _
- (setlocale LC_ALL "C")
- (setenv "LC_ALL" "C")
- #t))
- (add-before 'configure 'set-default-pager
- ;; Set default pager to "cat", because otherwise it is "false",
- ;; making "help()" print nothing at all.
- (lambda _ (setenv "PAGER" "cat") #t))
- (add-before 'check 'set-timezone
- ;; Some tests require the timezone to be set. However, the
- ;; timezone may not just be "UTC", or else a brittle regression
- ;; test in reg-tests-1d will fail.
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TZ" "UTC+1")
- (setenv "TZDIR"
- (search-input-directory inputs
- "share/zoneinfo"))))
- (add-after 'build 'make-info
- (lambda _ (invoke "make" "info")))
- (add-after 'build 'install-info
- (lambda _ (invoke "make" "install-info"))))
- #:configure-flags
- `(;; We build the recommended packages here, because they are needed in
- ;; order to run the test suite. We disable them in the r-minimal
- ;; package.
- "--with-cairo"
- "--with-blas=-lopenblas"
- "--with-libpng"
- "--with-jpeglib"
- "--with-libtiff"
- "--with-ICU"
- "--with-tcltk"
- ,(string-append "--with-tcl-config="
- (assoc-ref %build-inputs "tcl")
- "/lib/tclConfig.sh")
- ,(string-append "--with-tk-config="
- (assoc-ref %build-inputs "tk")
- "/lib/tkConfig.sh")
- "--enable-R-shlib"
- "--enable-BLAS-shlib"
- "--with-system-tre")))
- ;; R has some support for Java. When the JDK is available at configure
- ;; time environment variables pointing to the JDK will be recorded under
- ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
- ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
- ;; the recorded environment variables in $R_HOME/etc. Refer to
- ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
- ;; for additional information.
- ;; As the JDK is a rather large input with only very limited effects on R,
- ;; we decided to drop it.
- (native-inputs
- `(("bzip2" ,bzip2)
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("texinfo" ,texinfo) ; for building HTML manuals
- ("texlive" ,(texlive-updmap.cfg (list texlive-ae
- texlive-inconsolata
- texlive-fonts-ec
- texlive-grfext
- texlive-amsfonts
- texlive-latex-base
- texlive-latex-fancyvrb
- texlive-latex-graphics
- texlive-hyperref
- texlive-oberdiek
- texlive-latex-tools
- texlive-latex-upquote
- texlive-url
- texlive-latex-xkeyval)))
- ("tzdata" ,tzdata-for-tests)
- ("xz" ,xz)))
- (inputs
- `(;; We need not only cairo here, but pango to ensure that tests for the
- ;; "cairo" bitmapType plotting backend succeed.
- ("pango" ,pango)
- ("coreutils" ,coreutils)
- ("curl" ,curl)
- ("openblas" ,openblas)
- ("gfortran" ,gfortran)
- ("icu4c" ,icu4c)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libtiff" ,libtiff)
- ("libxt" ,libxt)
- ("pcre2" ,pcre2)
- ("readline" ,readline)
- ;; This avoids a reference to the ungraftable static bash. R uses the
- ;; detected shell for the "system" procedure.
- ("bash" ,bash-minimal)
- ("tcl" ,tcl)
- ("tk" ,tk)
- ("which" ,which)
- ("zlib" ,zlib)))
- (native-search-paths
- (list (search-path-specification
- (variable "R_LIBS_SITE")
- (files (list "site-library/")))))
- (home-page "https://www.r-project.org/")
- (synopsis "Environment for statistical computing and graphics")
- (description
- "R is a language and environment for statistical computing and graphics.
- It provides a variety of statistical techniques, such as linear and nonlinear
- modeling, classical statistical tests, time-series analysis, classification
- and clustering. It also provides robust support for producing
- publication-quality data plots. A large amount of 3rd-party packages are
- available, greatly increasing its breadth and scope.")
- (license license:gpl3+)))
- (define-public r-minimal
- (package (inherit r-with-tests)
- (name "r-minimal")
- (arguments
- `(#:tests? #f
- ,@(substitute-keyword-arguments (package-arguments r-with-tests)
- ((#:configure-flags flags)
- ;; Do not build the recommended packages. The build system creates
- ;; random temporary directories and embeds their names in some
- ;; package files. We build these packages with the r-build-system
- ;; instead.
- `(cons "--without-recommended-packages" ,flags)))))))
- (define-public rmath-standalone
- (package (inherit r-minimal)
- (name "rmath-standalone")
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'configure 'chdir
- (lambda _ (chdir "src/nmath/standalone/") #t)))))
- (synopsis "Standalone R math library")
- (description
- "This package provides the R math library as an independent package.")))
- (define-public r-boot
- (package
- (name "r-boot")
- (version "1.3-28")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "boot" version))
- (sha256
- (base32
- "0cjafhqv1c1mrjjcasqr767vs96wjcc6am9r1icryr8l4zymhwcz"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/boot")
- (synopsis "Bootstrap functions for R")
- (description
- "This package provides functions and datasets for bootstrapping from the
- book \"Bootstrap Methods and Their Application\" by A.C. Davison and
- D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
- ;; Unlimited distribution
- (license (license:non-copyleft "file://R/bootfuns.q"))))
- (define-public r-mass
- (package
- (name "r-mass")
- (version "7.3-54")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "MASS" version))
- (sha256
- (base32
- "08g8ashbcas3ac98kxvchbwc8da9dq9anpngb4arnw62npawq05q"))))
- (properties `((upstream-name . "MASS")))
- (build-system r-build-system)
- (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
- (synopsis "Support functions and datasets for Venables and Ripley's MASS")
- (description
- "This package provides functions and datasets for the book \"Modern
- Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
- ;; Either version may be picked.
- (license (list license:gpl2 license:gpl3))))
- (define-public r-class
- (package
- (name "r-class")
- (version "7.3-19")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "class" version))
- (sha256
- (base32
- "0dxyxk59fs90713qisanlvk4p0d3l8n8n7zdd4d5c290naaaw83q"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mass" ,r-mass)))
- (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
- (synopsis "R functions for classification")
- (description
- "This package provides various functions for classification, including
- k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
- ;; Either of the two versions can be picked.
- (license (list license:gpl2 license:gpl3))))
- (define-public r-cluster
- (package
- (name "r-cluster")
- (version "2.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "cluster" version))
- (sha256
- (base32
- "168l653ygkg21fwrqrf7lsqi5p6jzhgmcvhrwv7lznkdzdhag2jw"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/cluster")
- (synopsis "Methods for cluster analysis")
- (description
- "This package provides methods for cluster analysis. It is a much
- extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
- Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
- (license license:gpl2+)))
- (define-public r-codetools
- (package
- (name "r-codetools")
- (version "0.2-18")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "codetools" version))
- (sha256
- (base32
- "0a2c115glq8jxixwfigrpvjabhxchn9r4mc40y41dg9dg6wsd7hs"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/codetools")
- (synopsis "Code analysis tools for R")
- (description "This package provides code analysis tools for R to check R
- code for possible problems.")
- ;; Any version of the GPL.
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-foreign
- (package
- (name "r-foreign")
- (version "0.8-81")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "foreign" version))
- (sha256
- (base32
- "0b4rca1bl8xxna05057hchbwfmgjgx0n140szabpc0raizqzks0s"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/foreign")
- (synopsis "Read data stored by other statistics software")
- (description
- "This package provides functions for reading and writing data stored by
- some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
- for reading and writing some dBase files.")
- (license license:gpl2+)))
- (define-public r-kernsmooth
- (package
- (name "r-kernsmooth")
- (version "2.23-20")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "KernSmooth" version))
- (sha256
- (base32
- "0fgclmzk3ksjsh3j47jqzm3jhqrwn12rkp7f84yr6wr43q2pbsr0"))))
- (properties `((upstream-name . "KernSmooth")))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/KernSmooth")
- (synopsis "Functions for kernel smoothing")
- (description
- "This package provides functions for kernel smoothing (and density
- estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
- \"Kernel Smoothing\".")
- ;; Unlimited use and distribution
- (license (license:non-copyleft "file://LICENCE.note"))))
- (define-public r-lattice
- (package
- (name "r-lattice")
- (version "0.20-44")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "lattice" version))
- (sha256
- (base32
- "16yvdklwgjfclayh15axknjwzygx8i7y8zl5mlw8m85dqzihifap"))))
- (build-system r-build-system)
- (home-page "http://lattice.r-forge.r-project.org/")
- (synopsis "High-level data visualization system")
- (description
- "The lattice package provides a powerful and elegant high-level data
- visualization system inspired by Trellis graphics, with an emphasis on
- multivariate data. Lattice is sufficient for typical graphics needs, and is
- also flexible enough to handle most nonstandard requirements.")
- (license license:gpl2+)))
- (define-public r-matrix
- (package
- (name "r-matrix")
- (version "1.3-4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "Matrix" version))
- (sha256
- (base32
- "0fbcbysp3vaivmp1yasmp8mdsldhr826vfs4vyxrjpjl8jfifhmb"))))
- (properties `((upstream-name . "Matrix")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (home-page "http://Matrix.R-forge.R-project.org/")
- (synopsis "Sparse and dense matrix classes and methods")
- (description
- "This package provides classes and methods for dense and sparse matrices
- and operations on them using LAPACK and SuiteSparse.")
- (license license:gpl2+)))
- (define-public r-nlme
- (package
- (name "r-nlme")
- (version "3.1-152")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "nlme" version))
- (sha256
- (base32 "0pji9vvmjqyk8b7lhxsixnagsrz2hmnwy6ilc2gg5ji1y6qx2rav"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/nlme")
- (synopsis "Linear and nonlinear mixed effects models")
- (description
- "This package provides tools to fit and compare Gaussian linear and
- nonlinear mixed-effects models.")
- (license license:gpl2+)))
- (define-public r-mgcv
- (package
- (name "r-mgcv")
- (version "1.8-36")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "mgcv" version))
- (sha256
- (base32 "002n4572sxslz9zfqvs5ys59m8q8wkcc5ks2m0yqs4p7l88xzca2"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-matrix" ,r-matrix)
- ("r-nlme" ,r-nlme)))
- (home-page "https://cran.r-project.org/web/packages/mgcv")
- (synopsis "Mixed generalised additive model computation")
- (description
- "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
- parameter estimation by GCV, REML or UBRE/AIC. The library includes a
- @code{gam()} function, a wide variety of smoothers, JAGS support and
- distributions beyond the exponential family.")
- (license license:gpl2+)))
- (define-public r-nnet
- (package
- (name "r-nnet")
- (version "7.3-16")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "nnet" version))
- (sha256
- (base32
- "0smmyx4vhlz99vy4w238y913gq74845v0l1p0g1kgydsp9lijlcr"))))
- (build-system r-build-system)
- (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
- (synopsis "Feed-forward neural networks and multinomial log-linear models")
- (description
- "This package provides functions for feed-forward neural networks with a
- single hidden layer, and for multinomial log-linear models.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-rpart
- (package
- (name "r-rpart")
- (version "4.1-15")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rpart" version))
- (sha256
- (base32
- "0p5frya963ppn476p5dxs2mnarsalksr6gw9zzmjsn8ikq7bx3ib"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/rpart")
- (synopsis "Recursive partitioning and regression trees")
- (description
- "This package provides recursive partitioning functions for
- classification, regression and survival trees.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-spatial
- (package
- (name "r-spatial")
- (version "7.3-14")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "spatial" version))
- (sha256
- (base32
- "0dlafq744mahxpb13llmsrg54fzww8ld1nbxmr7m851gff11kk2j"))))
- (build-system r-build-system)
- (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
- (synopsis "Functions for kriging and point pattern analysis")
- (description
- "This package provides functions for kriging and point pattern
- analysis.")
- ;; Either version may be picked.
- (license (list license:gpl2 license:gpl3))))
- (define-public r-survival
- (package
- (name "r-survival")
- (version "3.2-12")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "survival" version))
- (sha256
- (base32
- "1152zpd961bzwnabkhf6q9jgb72bj68023dsn2dcdmxqdi72mps5"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-matrix" ,r-matrix)))
- (home-page "https://github.com/therneau/survival")
- (synopsis "Survival analysis")
- (description
- "This package contains the core survival analysis routines, including
- definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
- curves, Cox models, and parametric accelerated failure time models.")
- (license license:lgpl2.0+)))
- (define-public r
- (package (inherit r-minimal)
- (name "r")
- (source #f)
- (build-system trivial-build-system)
- (arguments '(#:builder (begin (mkdir %output) #t)))
- (propagated-inputs
- `(("r-minimal" ,r-minimal)
- ("r-boot" ,r-boot)
- ("r-class" ,r-class)
- ("r-cluster" ,r-cluster)
- ("r-codetools" ,r-codetools)
- ("r-foreign" ,r-foreign)
- ("r-kernsmooth" ,r-kernsmooth)
- ("r-lattice" ,r-lattice)
- ("r-mass" ,r-mass)
- ("r-matrix" ,r-matrix)
- ("r-mgcv" ,r-mgcv)
- ("r-nlme" ,r-nlme)
- ("r-nnet" ,r-nnet)
- ("r-rpart" ,r-rpart)
- ("r-spatial" ,r-spatial)
- ("r-survival" ,r-survival)))))
- (define-public r-bit
- (package
- (name "r-bit")
- (version "4.0.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "bit" version))
- (sha256
- (base32
- "0s7isadibxp2wr62r5cpbyh9z31sczzfz4j3rm7gxgjfpqgq8174"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "http://ff.r-forge.r-project.org")
- (synopsis "Class for vectors of 1-bit booleans")
- (description
- "This package provides bitmapped vectors of booleans (no @code{NA}s),
- coercion from and to logicals, integers and integer subscripts, fast boolean
- operators and fast summary statistics. With @code{bit} class vectors of true
- binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
- (license license:gpl2)))
- (define-public r-bit64
- (package
- (name "r-bit64")
- (version "4.0.5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "bit64" version))
- (sha256
- (base32
- "0y0m7q1rwam1g88cjx7zyi07mj5dipxd9jkl90f294syx8k6ipr5"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-bit" ,r-bit)))
- (home-page "http://ff.r-forge.r-project.org/")
- (synopsis "S3 class for vectors of 64 bit integers")
- (description
- "The bit64 package provides serializable S3 atomic 64 bit (signed)
- integers that can be used in vectors, matrices, arrays and @code{data.frames}.
- Methods are available for coercion from and to logicals, integers, doubles,
- characters and factors as well as many elementwise and summary functions.
- Many fast algorithmic operations such as @code{match} and @code{order} support
- interactive data exploration and manipulation and optionally leverage
- caching.")
- (license license:gpl2)))
- (define-public r-dichromat
- (package
- (name "r-dichromat")
- (version "2.0-0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "dichromat" version))
- (sha256
- (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/dichromat")
- (synopsis "Color schemes for dichromats")
- (description
- "Dichromat collapses red-green or green-blue distinctions to simulate the
- effects of different types of color-blindness.")
- (license license:gpl2+)))
- (define-public r-digest
- (package
- (name "r-digest")
- (version "0.6.27")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "digest" version))
- (sha256
- (base32 "0gr503pinailfglpfbzxprqw7w1jla8jr9nl856a4zch498zg1gl"))))
- (build-system r-build-system)
- ;; Vignettes require r-knitr, which requires r-digest, so we have to
- ;; disable them and the tests.
- (arguments
- `(#:tests? #f
- #:configure-flags (list "--no-build-vignettes")))
- (home-page "http://dirk.eddelbuettel.com/code/digest.html")
- (synopsis "Create cryptographic hash digests of R objects")
- (description
- "This package contains an implementation of a function @code{digest()} for
- the creation of hash digests of arbitrary R objects (using the md5, sha-1,
- sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
- of R language objects, as well as a function @code{hmac()} to create hash-based
- message authentication code.
- Please note that this package is not meant to be deployed for cryptographic
- purposes for which more comprehensive (and widely tested) libraries such as
- OpenSSL should be used.")
- (license license:gpl2+)))
- (define-public r-estimability
- (package
- (name "r-estimability")
- (version "1.3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "estimability" version))
- (sha256
- (base32
- "0cifdaa71spkcxl4db4z884jrya865sg3dhcv4isd8fnzg2pjcd3"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/estimability")
- (synopsis "Tools for assessing estimability of linear predictions")
- (description "Provides tools for determining estimability of linear
- functions of regression coefficients, and @code{epredict} methods that handle
- non-estimable cases correctly.")
- (license license:gpl2+)))
- (define-public r-labeling
- (package
- (name "r-labeling")
- (version "0.4.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "labeling" version))
- (sha256
- (base32 "0rfikd9gy70b8qz87q9axcwv8nmn9mbxfdwypxi0sghpfs9df8p0"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/labeling")
- (synopsis "Axis labeling algorithms")
- (description "The labeling package provides a range of axis labeling
- algorithms.")
- (license license:expat)))
- (define-public r-magrittr
- (package
- (name "r-magrittr")
- (version "2.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "magrittr" version))
- (sha256
- (base32 "0pxd99fvg406whqsk9wh756rayrwh84xn3h44zmlpcy23kanbhkm"))))
- (build-system r-build-system)
- ;; knitr needs magrittr
- #;
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
- (synopsis "A forward-pipe operator for R")
- (description
- "Magrittr provides a mechanism for chaining commands with a new
- forward-pipe operator, %>%. This operator will forward a value, or the result
- of an expression, into the next function call/expression. There is flexible
- support for the type of right-hand side expressions. For more information,
- see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
- (license license:expat)))
- (define-public r-munsell
- (package
- (name "r-munsell")
- (version "0.5.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "munsell" version))
- (sha256
- (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-colorspace" ,r-colorspace)))
- (home-page "https://cran.r-project.org/web/packages/munsell")
- (synopsis "Munsell colour system")
- (description
- "The Munsell package contains Functions for exploring and using the
- Munsell colour system.")
- (license license:expat)))
- (define-public r-permute
- (package
- (name "r-permute")
- (version "0.9-5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "permute" version))
- (sha256
- (base32
- "0ra8p5mf2590azrkas8z2ry7mif77xqxd29n4zgyi5vll225726j"))))
- (build-system r-build-system)
- ;; Tests do not run correctly, but running them properly would entail a
- ;; circular dependency with vegan.
- (home-page "https://github.com/gavinsimpson/permute")
- (synopsis "Functions for Generating Restricted Permutations of Data")
- (description
- "This package provides a set of restricted permutation designs for freely
- exchangeable, line transects (time series), spatial grid designs and permutation
- of blocks (groups of samples). @code{permute} also allows split-plot designs,
- in which the whole-plots or split-plots or both can be freely exchangeable.")
- (license license:gpl2+)))
- (define-public r-plyr
- (package
- (name "r-plyr")
- (version "1.8.6")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "plyr" version))
- (sha256
- (base32 "11sjjdn146w95s1vsfmmgdls082cbnm1slv98xvyjhsl2mpx4mga"))))
- (build-system r-build-system)
- (propagated-inputs `(("r-rcpp" ,r-rcpp)))
- (home-page "http://had.co.nz/plyr")
- (synopsis "Tools for Splitting, Applying and Combining Data")
- (description
- "Plyr is a set of tools that solves a common set of problems: you need to
- break a big problem down into manageable pieces, operate on each piece and
- then put all the pieces back together. For example, you might want to fit a
- model to each spatial location or time point in your study, summarise data by
- panels or collapse high-dimensional arrays to simpler summary statistics.")
- (license license:expat)))
- (define-public r-proto
- (package
- (name "r-proto")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "proto" version))
- (sha256
- (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
- (build-system r-build-system)
- (home-page "https://github.com/hadley/proto")
- (synopsis "Prototype object-based programming")
- (description
- "Proto is an object oriented system using object-based, also called
- prototype-based, rather than class-based object oriented ideas.")
- (license license:gpl2+)))
- (define-public r-rcolorbrewer
- (package
- (name "r-rcolorbrewer")
- (version "1.1-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "RColorBrewer" version))
- (sha256
- (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
- (synopsis "ColorBrewer palettes")
- (description
- "This package provides color schemes for maps (and other graphics)
- designed by Cynthia Brewer as described at http://colorbrewer2.org")
- ;; Includes code licensed under bsd-4
- (license license:asl2.0)))
- (define-public r-sendmailr
- (package
- (name "r-sendmailr")
- (version "1.2-1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "sendmailR" version))
- (sha256
- (base32
- "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
- (properties `((upstream-name . "sendmailR")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-base64enc" ,r-base64enc)))
- (home-page
- "https://cran.r-project.org/web/packages/sendmailR")
- (synopsis "Send email using R")
- (description
- "This package contains a simple SMTP client which provides a portable
- solution for sending email, including attachments, from within R.")
- (license license:gpl2+)))
- (define-public r-stringi
- (package
- (name "r-stringi")
- (version "1.7.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "stringi" version))
- (sha256
- (base32
- "0mhz7dkjdm8ap2zav1pmivhr8s0l6p2f6piij2hy08nwszqk51nr"))))
- (build-system r-build-system)
- (inputs `(("icu4c" ,icu4c)))
- (native-inputs `(("pkg-config" ,pkg-config)))
- (home-page "http://stringi.rexamine.com/")
- (synopsis "Character string processing facilities")
- (description
- "This package allows for fast, correct, consistent, portable, as well as
- convenient character string/text processing in every locale and any native
- encoding. Owing to the use of the ICU library, the package provides R users
- with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
- programmers. Among available features there are: pattern searching
- (e.g. via regular expressions), random string generation, string collation,
- transliteration, concatenation, date-time formatting and parsing, etc.")
- (license license:bsd-3)))
- (define-public r-stringr
- (package
- (name "r-stringr")
- (version "1.4.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "stringr" version))
- (sha256
- (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-glue" ,r-glue)
- ("r-magrittr" ,r-magrittr)
- ("r-stringi" ,r-stringi)))
- (home-page "https://github.com/hadley/stringr")
- (synopsis "Simple, consistent wrappers for common string operations")
- (description
- "Stringr is a consistent, simple and easy to use set of wrappers around
- the fantastic @code{stringi} package. All function and argument names (and
- positions) are consistent, all functions deal with \"NA\"'s and zero length
- vectors in the same way, and the output from one function is easy to feed into
- the input of another.")
- (license license:gpl2+)))
- (define-public r-reshape2
- (package
- (name "r-reshape2")
- (version "1.4.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "reshape2" version))
- (sha256
- (base32 "1n0jrajpvc8hjkh9z4g8bwq63qy5vy5cgl2pzjardyih4ngcz3fq"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-plyr" ,r-plyr)
- ("r-rcpp" ,r-rcpp)
- ("r-stringr" ,r-stringr)))
- (home-page "https://github.com/hadley/reshape")
- (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
- (description
- "Reshape2 is an R library to flexibly restructure and aggregate data
- using just two functions: melt and dcast (or acast).")
- (license license:expat)))
- (define-public r-ggplot2
- (package
- (name "r-ggplot2")
- (version "3.3.5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "ggplot2" version))
- (sha256
- (base32 "1si46bf9p09qzs208hqffwcb40305p361whmwhc1pwrsmx7jjxdh"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-digest" ,r-digest)
- ("r-glue" ,r-glue)
- ("r-gtable" ,r-gtable)
- ("r-isoband" ,r-isoband)
- ("r-mass" ,r-mass)
- ("r-mgcv" ,r-mgcv)
- ("r-tibble" ,r-tibble)
- ("r-rlang" ,r-rlang)
- ("r-scales" ,r-scales)
- ("r-svglite" ,r-svglite) ; Needed for 'ggsave'
- ("r-withr" ,r-withr)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://ggplot2.tidyverse.org")
- (synopsis "An implementation of the grammar of graphics")
- (description
- "Ggplot2 is an implementation of the grammar of graphics in R. It
- combines the advantages of both base and lattice graphics: conditioning and
- shared axes are handled automatically, and you can still build up a plot step
- by step from multiple data sources. It also implements a sophisticated
- multidimensional conditioning system and a consistent interface to map data to
- aesthetic attributes.")
- (license license:gpl2+)))
- (define-public r-ggdendro
- (package
- (name "r-ggdendro")
- (version "0.1.22")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "ggdendro" version))
- (sha256
- (base32
- "0skbj487b6f6pj2iz4yq2b9gbgb39cv5dyzhdl3w7ay1k0s5z9ph"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ggplot2" ,r-ggplot2)
- ("r-mass" ,r-mass)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/andrie/ggdendro")
- (synopsis "Create Dendrograms and Tree Diagrams Using ggplot2")
- (description "This is a set of tools for dendrograms and tree plots using
- ggplot2. The ggplot2 philosophy is to clearly separate data from the
- presentation. Unfortunately the plot method for dendrograms plots directly
- to a plot device with out exposing the data. The ggdendro package resolves
- this by making available functions that extract the dendrogram plot data.
- The package provides implementations for tree, rpart, as well as diana and
- agnes cluster diagrams.")
- (license license:gpl2+)))
- (define-public r-gdtools
- (package
- (name "r-gdtools")
- (version "0.2.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "gdtools" version))
- (sha256
- (base32
- "1p3ip0qwpg8f63jfx0b8vbac6l20ddid8xvxzkfi6i858pybnawp"))))
- (build-system r-build-system)
- (native-inputs
- `(("pkg-config" ,pkg-config)))
- (inputs
- `(("cairo" ,cairo)
- ("freetype2" ,freetype)
- ("zlib" ,zlib)))
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)
- ("r-systemfonts" ,r-systemfonts)))
- (home-page "https://cran.r-project.org/web/packages/gdtools")
- (synopsis "Utilities for graphical rendering")
- (description
- "The @code{gdtools} package provides functionalities to get font metrics
- and to generate base64 encoded string from raster matrix.")
- (license license:gpl3)))
- (define-public r-svglite
- (package
- (name "r-svglite")
- (version "2.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "svglite" version))
- (sha256
- (base32
- "19ggknw5322yw7r1bzhw0bqggcrpn0qxddk7kblpqnra2zz2brkn"))))
- (build-system r-build-system)
- (inputs
- `(("libpng" ,libpng)
- ("zlib" ,zlib)))
- (propagated-inputs
- `(("r-cpp11" ,r-cpp11)
- ("r-systemfonts" ,r-systemfonts)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/svglite")
- (synopsis "SVG graphics device")
- (description
- "@code{svglite} is a graphics device that produces clean
- @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
- hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
- considerably faster, produces smaller files, and leaves text as is.")
- (license license:gpl2+)))
- (define-public r-assertthat
- (package
- (name "r-assertthat")
- (version "0.2.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "assertthat" version))
- (sha256
- (base32
- "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
- (build-system r-build-system)
- (home-page "https://github.com/hadley/assertthat")
- (synopsis "Easy pre and post assertions")
- (description
- "Assertthat is an extension to stopifnot() that makes it easy to declare
- the pre and post conditions that your code should satisfy, while also
- producing friendly error messages so that your users know what they've done
- wrong.")
- (license license:gpl3+)))
- (define-public r-lazyeval
- (package
- (name "r-lazyeval")
- (version "0.2.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "lazyeval" version))
- (sha256
- (base32
- "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
- (build-system r-build-system)
- (home-page "https://github.com/hadley/lazyeval")
- (synopsis "Lazy (non-standard) evaluation in R")
- (description
- "This package provides the tools necessary to do non-standard
- evaluation (NSE) in R.")
- (license license:gpl3+)))
- (define-public r-dbi
- (package
- (name "r-dbi")
- (version "1.1.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "DBI" version))
- (sha256
- (base32
- "0i0kfyg43nryyka2bjlgz4x75w965224qp36wz1hl7a2lswb6ajp"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/rstats-db/DBI")
- (synopsis "R database interface")
- (description
- "The DBI package provides a database interface (DBI) definition for
- communication between R and relational database management systems. All
- classes in this package are virtual and need to be extended by the various
- R/DBMS implementations.")
- (license license:lgpl2.0+)))
- (define-public r-bh
- (package
- (name "r-bh")
- (version "1.75.0-0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "BH" version))
- (sha256
- (base32
- "0nkgvl5qjs2a7jv0ncsrl4fqaw2pdaj7a1pncdv6kp874sci0k5f"))))
- (build-system r-build-system)
- (home-page "https://github.com/eddelbuettel/bh")
- (synopsis "R package providing subset of Boost headers")
- (description
- "This package aims to provide the most useful subset of Boost libraries
- for template use among CRAN packages.")
- (license license:boost1.0)))
- (define-public r-evaluate
- (package
- (name "r-evaluate")
- (version "0.14")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "evaluate" version))
- (sha256
- (base32
- "0a2y7j534gbgixkwj9r1z76l2vssw4g1hznzbpclc076wkdqpj58"))))
- (build-system r-build-system)
- (home-page "https://github.com/hadley/evaluate")
- (synopsis "Parsing and evaluation tools for R")
- (description
- "This package provides tools that allow you to recreate the parsing,
- evaluation and display of R code, with enough information that you can
- accurately recreate what happens at the command line. The tools can easily be
- adapted for other output formats, such as HTML or LaTeX.")
- (license license:gpl3+)))
- (define-public r-formatr
- (package
- (name "r-formatr")
- (version "1.11")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "formatR" version))
- (sha256
- (base32
- "0353aj975mj0yjc91z76bbfy86y7d5cvlqqyfr93cdng14nnd0dx"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://yihui.org/formatr/")
- (synopsis "Format R code automatically")
- (description
- "This package provides a function to format R source code. Spaces and
- indent will be added to the code automatically, and comments will be preserved
- under certain conditions, so that R code will be more human-readable and tidy.
- There is also a Shiny app as a user interface in this package.")
- (license license:gpl3+)))
- (define-public r-highr
- (package
- (name "r-highr")
- (version "0.9")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "highr" version))
- (sha256
- (base32
- "0kgdv2vf1lz3b5kbal9s83gg6812nw7fvrq0rkyr0v4k1lwi3zxy"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-xfun" ,r-xfun)))
- ;; We cannot add knitr to the inputs, because highr depends on xfun, which
- ;; is an input to knitr.
- #;
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/yihui/highr")
- (synopsis "Syntax highlighting for R source code")
- (description
- "This package provides syntax highlighting for R source code. Currently
- it supports LaTeX and HTML output. Source code of other languages is
- supported via Andre Simon's highlight package.")
- (license license:gpl3+)))
- (define-public r-mime
- (package
- (name "r-mime")
- (version "0.11")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "mime" version))
- (sha256
- (base32
- "1h7fz0rqnp970r9q0d95qcxpxm9mb98rqhcdncx0w2qdkyj2fm11"))))
- (build-system r-build-system)
- (home-page "https://github.com/yihui/mime")
- (synopsis "R package to map filenames to MIME types")
- (description
- "This package guesses the MIME type from a filename extension using the
- data derived from /etc/mime.types in UNIX-type systems.")
- (license license:gpl2)))
- (define-public r-markdown
- (package
- (name "r-markdown")
- (version "1.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "markdown" version))
- (sha256
- (base32
- "06zwbrp14bri3470anadd7dvgmw06xf8df6v2pk64wx3f9sd934d"))))
- (build-system r-build-system)
- ;; Skip check phase because the tests require the r-knitr package to be
- ;; installed. This prevents installation failures. Knitr normally
- ;; shouldn't be available since r-markdown is a dependency of the r-knitr
- ;; package.
- (arguments `(#:tests? #f))
- (propagated-inputs
- `(("r-mime" ,r-mime)
- ("r-xfun" ,r-xfun)))
- (home-page "https://github.com/rstudio/markdown")
- (synopsis "Markdown rendering for R")
- (description
- "This package provides R bindings to the Sundown Markdown rendering
- library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
- syntax that can be converted to XHTML or other formats.")
- (license license:gpl2)))
- (define-public r-yaml
- (package
- (name "r-yaml")
- (version "2.2.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "yaml" version))
- (sha256
- (base32
- "10r7g26x73am45niigm3k466030nymnr3v3fjljafzrr5aybf58i"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/yaml/")
- (synopsis "Methods to convert R data to YAML and back")
- (description
- "This package implements the libyaml YAML 1.1 parser and
- emitter (http://pyyaml.org/wiki/LibYAML) for R.")
- (license license:bsd-3)))
- (define-public r-knitr
- (package
- (name "r-knitr")
- (version "1.33")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "knitr" version))
- (sha256
- (base32
- "0289dj7h4wppn4xc4ids7xlrfb46gzd1n9r2wpmfc3c818mk70rg"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-evaluate" ,r-evaluate)
- ("r-highr" ,r-highr)
- ("r-markdown" ,r-markdown)
- ("r-stringr" ,r-stringr)
- ("r-xfun" ,r-xfun)
- ("r-yaml" ,r-yaml)))
- (home-page "https://yihui.org/knitr/")
- (synopsis "General-purpose package for dynamic report generation in R")
- (description
- "This package provides a general-purpose tool for dynamic report
- generation in R using Literate Programming techniques.")
- ;; The code is released under any version of the GPL. As it is used by
- ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
- ;; here.
- (license license:gpl2+)))
- (define-public r-knitrbootstrap
- (package
- (name "r-knitrbootstrap")
- (version "1.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "knitrBootstrap" version))
- (sha256
- (base32
- "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
- (properties `((upstream-name . "knitrBootstrap")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-knitr" ,r-knitr)
- ("r-rmarkdown" ,r-rmarkdown)
- ("r-markdown" ,r-markdown)))
- (home-page "https://github.com/jimhester/knitrBootstrap")
- (synopsis "Knitr bootstrap framework")
- (description
- "This package provides a framework to create Bootstrap 3 HTML reports
- from knitr Rmarkdown.")
- (license license:expat)))
- (define-public r-microbenchmark
- (package
- (name "r-microbenchmark")
- (version "1.4-7")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "microbenchmark" version))
- (sha256
- (base32
- "1xl4m4yl4h2zcjiz8wsa7f3sh55qg2xr3sgpvz18rlix6b3173r6"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
- (synopsis "Accurate timing functions for R")
- (description
- "This package provides infrastructure to accurately measure and compare
- the execution time of R expressions.")
- (license license:bsd-2)))
- (define-public r-pryr
- (package
- (name "r-pryr")
- (version "0.1.5")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "pryr" version))
- (sha256
- (base32
- "02vp1y7zhv22id43j5c0gdcgn9171dyypqp8rqrlc3w5a7n565kv"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-codetools" ,r-codetools)
- ("r-lobstr" ,r-lobstr)
- ("r-rcpp" ,r-rcpp)
- ("r-stringr" ,r-stringr)))
- (home-page "https://github.com/hadley/pryr")
- (synopsis "Tools for computing on the R language")
- (description
- "This package provides useful tools to pry back the covers of R and
- understand the language at a deeper level.")
- (license license:gpl2)))
- (define-public r-memoise
- (package
- (name "r-memoise")
- (version "2.0.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "memoise" version))
- (sha256
- (base32
- "1bzcv7pmls3bx2w5ccv1pm20wycbfqba1v76k0fjgmjsm6hy76pz"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-cachem" ,r-cachem)
- ("r-rlang" ,r-rlang)))
- (home-page "https://github.com/hadley/memoise")
- (synopsis "Memoise functions for R")
- (description
- "This R package caches the results of a function so that when
- you call it again with the same arguments it returns the pre-computed value.")
- (license license:expat)))
- (define-public r-crayon
- (package
- (name "r-crayon")
- (version "1.4.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "crayon" version))
- (sha256
- (base32
- "1ir963s6zk9l32fw257y54p7898cd7z7yazkn9h6j2cdfhpf9dh8"))))
- (build-system r-build-system)
- (home-page "https://github.com/gaborcsardi/crayon")
- (synopsis "Colored terminal output for R")
- (description
- "Colored terminal output on terminals that support ANSI color and
- highlight codes. It also works in Emacs ESS. ANSI color support is
- automatically detected. Colors and highlighting can be combined and nested.
- New styles can also be created easily. This package was inspired by the
- \"chalk\" JavaScript project.")
- (license license:expat)))
- (define-public r-praise
- (package
- (name "r-praise")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "praise" version))
- (sha256
- (base32
- "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
- (build-system r-build-system)
- (home-page "https://github.com/gaborcsardi/praise")
- (synopsis "Functions to praise users")
- (description
- "This package provides template functions to assist in building friendly
- R packages that praise their users.")
- (license license:expat)))
- (define-public r-testthat
- (package
- (name "r-testthat")
- (version "3.0.4")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "testthat" version))
- (sha256
- (base32
- "0iqizv2gpv9fg766qv8hbkmc6c5i9xcfrmq9k5m2550p28zff2w3"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-brio" ,r-brio)
- ("r-callr" ,r-callr)
- ("r-cli" ,r-cli)
- ("r-crayon" ,r-crayon)
- ("r-desc" ,r-desc)
- ("r-digest" ,r-digest)
- ("r-ellipsis" ,r-ellipsis)
- ("r-evaluate" ,r-evaluate)
- ("r-jsonlite" ,r-jsonlite)
- ("r-lifecycle" ,r-lifecycle)
- ("r-magrittr" ,r-magrittr)
- ("r-pkgload" ,r-pkgload)
- ("r-praise" ,r-praise)
- ("r-processx" ,r-processx)
- ("r-ps" ,r-ps)
- ("r-r6" ,r-r6)
- ("r-rlang" ,r-rlang)
- ("r-waldo" ,r-waldo)
- ("r-withr" ,r-withr)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/testthat")
- (synopsis "Unit testing for R")
- (description
- "This package provides a unit testing system for R designed to be fun,
- flexible and easy to set up.")
- (license license:expat)))
- (define-public r-r6
- (package
- (name "r-r6")
- (version "2.5.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R6" version))
- (sha256
- (base32
- "0j5z0b0myzjyyykk310xsa9n2mcm9bz8yqbq4xgz2yzdq8lvv4ld"))))
- (build-system r-build-system)
- (home-page "https://github.com/wch/R6/")
- (synopsis "Classes with reference semantics in R")
- (description
- "The R6 package allows the creation of classes with reference semantics,
- similar to R's built-in reference classes. Compared to reference classes, R6
- classes are simpler and lighter-weight, and they are not built on S4 classes
- so they do not require the methods package. These classes allow public and
- private members, and they support inheritance, even when the classes are
- defined in different packages.")
- (license license:expat)))
- (define-public r-rlang
- (package
- (name "r-rlang")
- (version "0.4.11")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "rlang" version))
- (sha256
- (base32
- "1pfm24jjkxzdb5qcbc05dcjxyk69zpfr5jv4xakqh1xh41mr43kl"))))
- (build-system r-build-system)
- (home-page "http://rlang.tidyverse.org")
- (synopsis "Functions for base types, core R and Tidyverse features")
- (description "This package provides a toolbox for working with base types,
- core R features like the condition system, and core @code{Tidyverse} features
- like tidy evaluation.")
- (license license:gpl3)))
- (define-public r-tibble
- (package
- (name "r-tibble")
- (version "3.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tibble" version))
- (sha256
- (base32
- "1gpy90hg0bd4an0wqj0xx16a6x37fhc94z1v63y46dpiz231xfks"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ellipsis" ,r-ellipsis)
- ("r-fansi" ,r-fansi)
- ("r-lifecycle" ,r-lifecycle)
- ("r-magrittr" ,r-magrittr)
- ("r-pkgconfig" ,r-pkgconfig)
- ("r-pillar" ,r-pillar)
- ("r-rlang" ,r-rlang)
- ("r-vctrs" ,r-vctrs)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/tibble")
- (synopsis "Simple data frames")
- (description
- "This package provides a @code{tbl_df} class that offers better checking
- and printing capabilities than traditional data frames.")
- (license license:expat)))
- (define-public r-dplyr
- (package
- (name "r-dplyr")
- (version "1.0.7")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "dplyr" version))
- (sha256
- (base32
- "0g8jsxclj9cgm7a2lyazy78sj62rbzw812lsw3fdsbz0pknkmznj"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ellipsis" ,r-ellipsis)
- ("r-generics" ,r-generics)
- ("r-glue" ,r-glue)
- ("r-lifecycle" ,r-lifecycle)
- ("r-magrittr" ,r-magrittr)
- ("r-pillar" ,r-pillar)
- ("r-r6" ,r-r6)
- ("r-rlang" ,r-rlang)
- ("r-tibble" ,r-tibble)
- ("r-tidyselect" ,r-tidyselect)
- ("r-vctrs" ,r-vctrs)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/dplyr")
- (synopsis "Tools for working with data frames in R")
- (description
- "dplyr is the next iteration of plyr. It is focussed on tools for
- working with data frames. It has three main goals: 1) identify the most
- important data manipulation tools needed for data analysis and make them easy
- to use in R; 2) provide fast performance for in-memory data by writing key
- pieces of code in C++; 3) use the same code interface to work with data no
- matter where it is stored, whether in a data frame, a data table or
- database.")
- (license license:expat)))
- (define-public r-dbplyr
- (package
- (name "r-dbplyr")
- (version "2.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "dbplyr" version))
- (sha256
- (base32
- "025wqpmxdhzblb0pf58m3qh5h6bf5x8qvkf47vyl1cjsp13wz95b"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-assertthat" ,r-assertthat)
- ("r-blob" ,r-blob)
- ("r-dbi" ,r-dbi)
- ("r-dplyr" ,r-dplyr)
- ("r-ellipsis" ,r-ellipsis)
- ("r-glue" ,r-glue)
- ("r-lifecycle" ,r-lifecycle)
- ("r-magrittr" ,r-magrittr)
- ("r-purrr" ,r-purrr)
- ("r-r6" ,r-r6)
- ("r-rlang" ,r-rlang)
- ("r-tibble" ,r-tibble)
- ("r-tidyselect" ,r-tidyselect)
- ("r-vctrs" ,r-vctrs)
- ("r-withr" ,r-withr)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/tidyverse/dbplyr")
- (synopsis "Dplyr back end for databases")
- (description
- "This package provides a dplyr back end for databases that allows you to
- work with remote database tables as if they are in-memory data frames. Basic
- features works with any database that has a @code{DBI} back end; more advanced
- features require SQL translation to be provided by the package author.")
- (license license:expat)))
- (define-public r-acepack
- (package
- (name "r-acepack")
- (version "1.4.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "acepack" version))
- (sha256
- (base32
- "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
- (build-system r-build-system)
- (inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/acepack")
- (synopsis "Functions for regression transformations")
- (description
- "This package provides ACE and AVAS methods for choosing regression
- transformations.")
- (license license:expat)))
- (define-public r-formula
- (package
- (name "r-formula")
- (version "1.2-4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "Formula" version))
- (sha256
- (base32
- "1bsw282i5m8rlirbhz7hqvf25zbxschk7yrp152whbzdnmry6w6b"))))
- (properties `((upstream-name . "Formula")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/Formula")
- (synopsis "Extended model formulas")
- (description
- "This package provides a new class @code{Formula}, which extends the base
- class @code{formula}. It supports extended formulas with multiple parts of
- regressors on the right-hand side and/or multiple responses on the left-hand
- side.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-locfit
- (package
- (name "r-locfit")
- (version "1.5-9.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "locfit" version))
- (sha256
- (base32
- "1vcw16qww4v4547w0gfvhqg60l051bsdlxa6zfcgcj9xbxf6dlyr"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (home-page "https://cran.r-project.org/web/packages/locfit")
- (synopsis "Local regression, likelihood and density estimation")
- (description
- "This package provides functions used for local regression, likelihood
- and density estimation.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-chron
- (package
- (name "r-chron")
- (version "2.3-56")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "chron" version))
- (sha256
- (base32
- "0p9zz96jfyf139924hdwkzhr8knkjvx6547ac53rknm3a6wwngl6"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/chron")
- (synopsis "Chronological R objects which can handle dates and times")
- (description
- "This package provides chronological R objects which can handle dates and
- times.")
- (license license:gpl2)))
- (define-public r-data-table
- (package
- (name "r-data-table")
- (version "1.14.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "data.table" version))
- (sha256
- (base32
- "0kgbvap5v2spnkz3dwfm4jh4qcpvbzdn9s8bzfnhzabz9qjdxw8k"))))
- (build-system r-build-system)
- (inputs
- `(("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("r-knitr" ,r-knitr)))
- (home-page "https://github.com/Rdatatable/data.table/wiki")
- (synopsis "Enhanced version of data.frame R object")
- (description
- "The R package @code{data.table} is an extension of @code{data.frame}
- providing functions for fast aggregation of large data (e.g. 100GB in RAM),
- fast ordered joins, fast add/modify/delete of columns by group, column listing
- and fast file reading.")
- (license license:gpl3+)))
- (define-public r-xtable
- (package
- (name "r-xtable")
- (version "1.8-4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "xtable" version))
- (sha256
- (base32
- "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr))) ; for vignettes
- (home-page "http://xtable.r-forge.r-project.org/")
- (synopsis "Export R tables to LaTeX or HTML")
- (description
- "This package provides tools to export R data as LaTeX and HTML tables.")
- (license license:gpl2+)))
- (define-public python-patsy
- (package
- (name "python-patsy")
- (version "0.5.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "patsy" version))
- (sha256
- (base32
- "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _ (invoke "nosetests" "-v"))))))
- (propagated-inputs
- `(("python-numpy" ,python-numpy)
- ("python-scipy" ,python-scipy)
- ("python-six" ,python-six)))
- (native-inputs
- `(("python-nose" ,python-nose)))
- (home-page "https://github.com/pydata/patsy")
- (synopsis "Describe statistical models and build design matrices")
- (description
- "Patsy is a Python package for describing statistical models and for
- building design matrices.")
- ;; The majority of the code is distributed under BSD-2. The module
- ;; patsy.compat contains code derived from the Python standard library,
- ;; and is covered by the PSFL.
- (license (list license:bsd-2 license:psfl))))
- (define-public python2-patsy
- (package-with-python2 python-patsy))
- (define-public python-statsmodels
- (package
- (name "python-statsmodels")
- (version "0.11.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "statsmodels" version))
- (sha256
- (base32
- "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
- (build-system python-build-system)
- (arguments
- `(;; The test suite is very large and rather brittle. Tests often fail
- ;; because of minor changes in dependencies that upstream hasn't fixed
- ;; in a new release.
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-matplotlib-backend-to-agg
- (lambda _
- ;; Set the matplotlib backend to Agg to avoid problems using the
- ;; GTK backend without a display.
- (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
- '("statsmodels/tsa/vector_ar/tests/test_var.py"
- "statsmodels/duration/tests/test_survfunc.py"))
- (("import matplotlib\\.pyplot as plt" line)
- (string-append "import matplotlib;matplotlib.use('Agg');"
- line)))
- #t)))))
- (propagated-inputs
- `(("python-numpy" ,python-numpy)
- ("python-scipy" ,python-scipy)
- ("python-pandas" ,python-pandas)
- ("python-patsy" ,python-patsy)
- ("python-matplotlib" ,python-matplotlib)))
- (native-inputs
- `(("python-cython" ,python-cython)
- ("python-nose" ,python-nose)
- ("python-sphinx" ,python-sphinx)))
- (home-page "http://statsmodels.sourceforge.net/")
- (synopsis "Statistical modeling and econometrics in Python")
- (description
- "Statsmodels is a Python package that provides a complement to scipy for
- statistical computations including descriptive statistics and estimation and
- inference for statistical models.")
- (license license:bsd-3)))
- (define-public python2-statsmodels
- (let ((stats (package-with-python2 python-statsmodels)))
- (package/inherit stats
- (propagated-inputs
- `(("python2-pytz" ,python2-pytz)
- ("python2-numpy" ,python2-numpy)
- ("python2-scipy" ,python2-scipy)
- ("python2-pandas" ,python2-pandas)
- ("python2-patsy" ,python2-patsy)
- ("python2-matplotlib" ,python2-matplotlib))))))
- (define-public r-coda
- (package
- (name "r-coda")
- (version "0.19-4")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "coda" version))
- (sha256
- (base32
- "13z5dwfpnyyhpsbpg4xr9g5c1685jhqj90f4x4qkcykr6kykqba2"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (home-page "https://cran.r-project.org/web/packages/coda")
- (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
- (description "This package provides functions for summarizing and plotting
- the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
- diagnostic tests of convergence to the equilibrium distribution of the Markov
- chain.")
- (license license:gpl2+)))
- (define-public r-ade4
- (package
- (name "r-ade4")
- (version "1.7-17")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "ade4" version))
- (sha256
- (base32
- "0s9x29xscgfdk1cdk1hanmkrrgj9vibf5gvwlbx21mhjnf0dzngf"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mass" ,r-mass)
- ("r-pixmap" ,r-pixmap)
- ("r-sp" ,r-sp)))
- (home-page "http://pbil.univ-lyon1.fr/ADE-4")
- (synopsis "Multivariate data analysis and graphical display")
- (description
- "The ade4 package contains data analysis functions to analyze ecological
- and environmental data in the framework of Euclidean exploratory methods.")
- (license license:gpl2+)))
- (define-public r-xml2
- (package
- (name "r-xml2")
- (version "1.3.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "xml2" version))
- (sha256
- (base32
- "1kx400v62xkd5xal7rzz7jcarz94ac8g1sh4i2dqr78qwgkzj8nz"))))
- (build-system r-build-system)
- (inputs
- `(("libxml2" ,libxml2)
- ("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/xml2")
- (synopsis "Parse XML with R")
- (description
- "This package provides a simple, consistent interface to working with XML
- files in R. It is built on top of the libxml2 C library.")
- (license license:gpl2+)))
- (define-public r-multitaper
- (package
- (name "r-multitaper")
- (version "1.0-15")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "multitaper" version))
- (sha256
- (base32
- "1gm3wr8xqpqiby7q1dr3zxim77v0bvvrqi0hlazf5g3gnkrp2zc3"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://github.com/wesleyburr/multitaper/")
- (synopsis "Multitaper spectral analysis tools")
- (description
- "This package implements multitaper spectral estimation
- techniques using prolate spheroidal sequences (Slepians) and sine
- tapers for time series analysis. It includes an adaptive weighted
- multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
- F-test, and complex demodulation. The Slepians sequences are
- generated efficiently using a tridiagonal matrix solution, and
- jackknifed confidence intervals are available for most estimates.")
- (license license:gpl2+)))
- (define-public r-rversions
- (package
- (name "r-rversions")
- (version "2.1.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "rversions" version))
- (sha256
- (base32
- "1cbwwbz8lqx2n33xr4q904whvld22s63rpyy1nn93395l7ssrakr"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-curl" ,r-curl)
- ("r-xml2" ,r-xml2)))
- (home-page "https://github.com/metacran/rversions")
- (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
- (description
- "This package provides functions to query the main R repository to find
- the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
- previous R versions and their release dates.")
- (license license:expat)))
- (define-public r-whisker
- (package
- (name "r-whisker")
- (version "0.4")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "whisker" version))
- (sha256
- (base32
- "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
- (build-system r-build-system)
- (home-page "https://github.com/edwindj/whisker")
- (synopsis "Logicless mustache templating for R")
- (description
- "This package provides logicless templating, with a syntax that is not
- limited to R.")
- (license license:gpl3+)))
- (define-public r-backports
- (package
- (name "r-backports")
- (version "1.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "backports" version))
- (sha256
- (base32
- "1mf2nz78l97lbxyagv55bcxrny51ds8g28h307cfa1g3ayylp0x2"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/backports")
- (synopsis "Reimplementations of functions introduced since R 3.0.0")
- (description
- "Provides implementations of functions which have been introduced in R
- since version 3.0.0. The backports are conditionally exported which results
- in R resolving the function names to the version shipped with R (if available)
- and uses the implemented backports as fallback. This way package developers
- can make use of the new functions without worrying about the minimum required
- R version.")
- (license license:gpl2+)))
- (define-public r-checkmate
- (package
- (name "r-checkmate")
- (version "2.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "checkmate" version))
- (sha256
- (base32
- "193gkifr9spp0x0rwnjq1spdhjkfkh4mv27iklskcj604075phhd"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-backports" ,r-backports)))
- (home-page "https://github.com/mllg/checkmate")
- (synopsis "Fast and versatile argument checks")
- (description
- "This package provides tests and assertions to perform frequent argument
- checks. A substantial part of the package was written in C to minimize any
- worries about execution time overhead.")
- (license license:bsd-3)))
- (define-public r-bbmisc
- (package
- (name "r-bbmisc")
- (version "1.11")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "BBmisc" version))
- (sha256
- (base32
- "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
- (properties `((upstream-name . "BBmisc")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-checkmate" ,r-checkmate)))
- (home-page "https://github.com/berndbischl/BBmisc")
- (synopsis "Miscellaneous functions for R package development")
- (description
- "This package provides miscellaneous helper functions for the development
- of R packages.")
- (license license:bsd-3)))
- (define-public r-fail
- (package
- (name "r-fail")
- (version "1.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fail" version))
- (sha256
- (base32
- "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-bbmisc" ,r-bbmisc)
- ("r-checkmate" ,r-checkmate)))
- (home-page "https://github.com/mllg/fail")
- (synopsis "File abstraction interface layer (FAIL)")
- (description
- "This package provides a more comfortable interface to work with R data
- or source files in a key-value fashion.")
- (license license:bsd-3)))
- (define-public r-batchjobs
- (package
- (name "r-batchjobs")
- (version "1.8")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "BatchJobs" version))
- (sha256
- (base32
- "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
- (properties `((upstream-name . "BatchJobs")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-backports" ,r-backports)
- ("r-bbmisc" ,r-bbmisc)
- ("r-brew" ,r-brew)
- ("r-checkmate" ,r-checkmate)
- ("r-data-table" ,r-data-table)
- ("r-dbi" ,r-dbi)
- ("r-digest" ,r-digest)
- ("r-rsqlite" ,r-rsqlite)
- ("r-sendmailr" ,r-sendmailr)
- ("r-stringi" ,r-stringi)))
- (home-page "https://github.com/tudo-r/BatchJobs")
- (synopsis "Batch computing with R")
- (description
- "This package provides @code{Map}, @code{Reduce} and @code{Filter}
- variants to generate jobs on batch computing systems like PBS/Torque, LSF,
- SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
- (license license:bsd-2)))
- (define-public r-brew
- (package
- (name "r-brew")
- (version "1.0-6")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "brew" version))
- (sha256
- (base32
- "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/brew")
- (synopsis "Templating framework for report generation")
- (description
- "The brew package implements a templating framework for mixing text and R
- code for report generation. The template syntax is similar to PHP, Ruby's erb
- module, Java Server Pages, and Python's psp module.")
- (license license:gpl2+)))
- (define-public r-desc
- (package
- (name "r-desc")
- (version "1.3.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "desc" version))
- (sha256
- (base32
- "1sw4vya3l971gpccq4gnjywgbl73bgx8la18l0wy617qv94f905y"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-crayon" ,r-crayon)
- ("r-r6" ,r-r6)
- ("r-rprojroot" ,r-rprojroot)))
- (home-page "https://github.com/r-pkgs/desc")
- (synopsis "Manipulate DESCRIPTION Files")
- (description
- "This package provides tools to read, write, create, and manipulate
- DESCRIPTION files. It is intended for packages that create or manipulate
- other packages.")
- (license license:expat)))
- (define-public r-commonmark
- (package
- (name "r-commonmark")
- (version "1.7")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "commonmark" version))
- (sha256
- (base32
- "024iz1qp2kv6iz6y69ir0jk3qhjps86rhkzlcmhqsxx97rx7cjni"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/commonmark")
- (synopsis "CommonMark and Github Markdown Rendering in R")
- (description
- "The CommonMark specification defines a rationalized version of markdown
- syntax. This package uses the @code{cmark} reference implementation for
- converting markdown text into various formats including HTML, LaTeX and groff
- man. In addition, it exposes the markdown parse tree in XML format. The latest
- version of this package also adds support for Github extensions including
- tables, autolinks and strikethrough text.")
- (license license:bsd-2)))
- (define-public r-roxygen2
- (package
- (name "r-roxygen2")
- (version "7.1.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "roxygen2" version))
- (sha256
- (base32
- "0qc8akwfwmaqsjaza87f5fi0zk6sh3l6j3assbs6chvx0gnmvidx"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-brew" ,r-brew)
- ("r-commonmark" ,r-commonmark)
- ("r-desc" ,r-desc)
- ("r-digest" ,r-digest)
- ("r-knitr" ,r-knitr)
- ("r-pkgload" ,r-pkgload)
- ("r-purrr" ,r-purrr)
- ("r-r6" ,r-r6)
- ("r-rcpp" ,r-rcpp)
- ("r-rlang" ,r-rlang)
- ("r-stringi" ,r-stringi)
- ("r-stringr" ,r-stringr)
- ("r-xml2" ,r-xml2)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/klutometis/roxygen")
- (synopsis "In-source documentation system for R")
- (description
- "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
- collation, and NAMESPACE files.")
- (license license:gpl2+)))
- (define-public r-openssl
- (package
- (name "r-openssl")
- (version "1.4.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "openssl" version))
- (sha256
- (base32
- "0x68di44vrqvikr419mgh9wlvbhxs52zda9pb6spikx69m4v83wj"))))
- (build-system r-build-system)
- (inputs
- `(("libressl" ,libressl)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("r-knitr" ,r-knitr)))
- (propagated-inputs
- `(("r-askpass" ,r-askpass)))
- (home-page "https://github.com/jeroenooms/openssl")
- (synopsis "Toolkit for encryption, signatures and certificates")
- (description
- "This package provides R bindings to OpenSSL libssl and libcrypto, plus
- custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
- and P-521. Cryptographic signatures can either be created and verified
- manually or via x509 certificates. AES block cipher is used in CBC mode for
- symmetric encryption; RSA for asymmetric (public key) encryption. High-level
- envelope functions combine RSA and AES for encrypting arbitrary sized data.
- Other utilities include key generators, hash functions (md5, sha1, sha256,
- etc), base64 encoder, a secure random number generator, and @code{bignum} math
- methods for manually performing crypto calculations on large multibyte
- integers.")
- (license license:expat)))
- (define-public r-httr
- (package
- (name "r-httr")
- (version "1.4.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "httr" version))
- (sha256
- (base32
- "1y8y1g1dkgv9jafrk1kj6pzxpw95c0rr9lplblfq2byrs1pfsas6"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-curl" ,r-curl)
- ("r-jsonlite" ,r-jsonlite)
- ("r-openssl" ,r-openssl)
- ("r-mime" ,r-mime)
- ("r-r6" ,r-r6)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/httr")
- (synopsis "Tools for working with URLs and HTTP")
- (description
- "The aim of httr is to provide a wrapper for RCurl customised to the
- demands of modern web APIs. It provides useful tools for working with HTTP
- organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
- functions make it easy to control additional request components.")
- (license license:expat)))
- (define-public r-git2r
- (package
- (name "r-git2r")
- (version "0.28.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "git2r" version))
- (sha256
- (base32
- "1wjmbs9cmm16pm3g0rmqp7cxxyh95m5lgx4fx5bpgj6j466i8vff"))))
- (build-system r-build-system)
- (inputs
- `(("libgit2" ,libgit2)
- ("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)))
- (home-page "https://github.com/ropensci/git2r")
- (synopsis "Access Git repositories with R")
- (description
- "This package provides an R interface to the libgit2 library, which is a
- pure C implementation of the Git core methods.")
- ;; GPLv2 only with linking exception.
- (license license:gpl2)))
- (define-public r-rstudioapi
- (package
- (name "r-rstudioapi")
- (version "0.13")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "rstudioapi" version))
- (sha256
- (base32
- "12vdfzzjc6mv4h105l8cp108j3hjk0mqmg23m6mqr3jarfymphxa"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/rstudioapi")
- (synopsis "Safely access the RStudio API")
- (description
- "This package provides functions to access the RStudio API and provide
- informative error messages when it's not available.")
- (license license:expat)))
- (define-public r-devtools
- (package
- (name "r-devtools")
- (version "2.4.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "devtools" version))
- (sha256
- (base32
- "01cg2ykg0av6z7bgl41njcxcii8vjj8ipch26xazp4yjai8abw3i"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-callr" ,r-callr)
- ("r-cli" ,r-cli)
- ("r-desc" ,r-desc)
- ("r-ellipsis" ,r-ellipsis)
- ("r-fs" ,r-fs)
- ("r-httr" ,r-httr)
- ("r-lifecycle" ,r-lifecycle)
- ("r-memoise" ,r-memoise)
- ("r-pkgbuild" ,r-pkgbuild)
- ("r-pkgload" ,r-pkgload)
- ("r-rcmdcheck" ,r-rcmdcheck)
- ("r-remotes" ,r-remotes)
- ("r-rlang" ,r-rlang)
- ("r-roxygen2" ,r-roxygen2)
- ("r-rstudioapi" ,r-rstudioapi)
- ("r-rversions" ,r-rversions)
- ("r-sessioninfo" ,r-sessioninfo)
- ("r-testthat" ,r-testthat)
- ("r-usethis" ,r-usethis)
- ("r-withr" ,r-withr)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/devtools")
- (synopsis "Tools to make developing R packages easier")
- (description "The devtools package is a collection of package development
- tools to simplify the devolpment of R packages.")
- (license license:gpl2+)))
- (define-public r-withr
- (package
- (name "r-withr")
- (version "2.4.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "withr" version))
- (sha256
- (base32
- "1j5srffi748yxphwli56lkbh4cga0kmz38dyzganzkw0nx66mya8"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/jimhester/withr")
- (synopsis "Run code with temporarily modified global state")
- (description
- "This package provides a set of functions to run R code in an environment
- in which global state has been temporarily modified. Many of these functions
- were originally a part of the r-devtools package.")
- (license license:gpl2+)))
- (define-public r-hms
- (package
- (name "r-hms")
- (version "1.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "hms" version))
- (sha256
- (base32
- "1kmlw5hs2c69qgkkipjxb6j05wdk6jiqrac3y4z9ds63c3r9lng8"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ellipsis" ,r-ellipsis)
- ("r-lifecycle" ,r-lifecycle)
- ("r-pkgconfig" ,r-pkgconfig)
- ("r-rlang" ,r-rlang)
- ("r-vctrs" ,r-vctrs)))
- (home-page "https://github.com/rstats-db/hms")
- (synopsis "Pretty time of day")
- (description
- "This package implements an S3 class for storing and formatting
- time-of-day values, based on the @code{difftime} class.")
- (license license:gpl3+)))
- (define-public r-readr
- (package
- (name "r-readr")
- (version "2.0.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "readr" version))
- (sha256
- (base32
- "0cj5k3ykkhixgdsqm1gnmpc0d8z04l3fhvm2dr5xp7cpmhgsrpfr"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-cli" ,r-cli)
- ("r-clipr" ,r-clipr)
- ("r-cpp11" ,r-cpp11)
- ("r-crayon" ,r-crayon)
- ("r-hms" ,r-hms)
- ("r-lifecycle" ,r-lifecycle)
- ("r-tibble" ,r-tibble)
- ("r-r6" ,r-r6)
- ("r-rlang" ,r-rlang)
- ("r-tzdb" ,r-tzdb)
- ("r-vroom" ,r-vroom)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/readr")
- (synopsis "Read tabular data")
- (description
- "This package provides functions to read flat or tabular text files from
- disk (or a connection).")
- (license license:gpl2+)))
- (define-public r-plotrix
- (package
- (name "r-plotrix")
- (version "3.8-1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "plotrix" version))
- (sha256
- (base32
- "0pxfaalwwmnpv19nff0cg6b871m6gjhhmx63fpxm7730z75qh663"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/plotrix")
- (synopsis "Various plotting functions")
- (description
- "This package provides lots of plotting, various labeling, axis and color
- scaling functions for R.")
- (license license:gpl2+)))
- (define-public r-gridbase
- (package
- (name "r-gridbase")
- (version "0.4-7")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "gridBase" version))
- (sha256
- (base32
- "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/gridBase")
- (synopsis "Integration of base and grid graphics")
- (description
- "This package provides an integration of base and grid graphics for R.")
- (license license:gpl2+)))
- (define-public r-latticeextra
- (package
- (name "r-latticeextra")
- (version "0.6-29")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "latticeExtra" version))
- (sha256
- (base32
- "04fzwcqs594rk5qp98yilh3kdh3sw4xf8wld5rp94ggpaqfw7bbc"))))
- (properties `((upstream-name . "latticeExtra")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-jpeg" ,r-jpeg)
- ("r-lattice" ,r-lattice)
- ("r-png" ,r-png)
- ("r-rcolorbrewer" ,r-rcolorbrewer)))
- (home-page "http://latticeextra.r-forge.r-project.org/")
- (synopsis "Extra graphical utilities based on lattice")
- (description
- "Building on the infrastructure provided by the lattice package, this
- package provides several new high-level graphics functions and methods, as
- well as additional utilities such as panel and axis annotation functions.")
- (license license:gpl2+)))
- (define-public r-rcpparmadillo
- (package
- (name "r-rcpparmadillo")
- (version "0.10.6.0.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "RcppArmadillo" version))
- (sha256
- (base32
- "1bcx8fk5l5mmwb6cw36ndvld9v3amkz6vyc19059dw0xp7mxx04v"))))
- (properties `((upstream-name . "RcppArmadillo")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)))
- (home-page "https://github.com/RcppCore/RcppArmadillo")
- (synopsis "Rcpp integration for the Armadillo linear algebra library")
- (description
- "Armadillo is a templated C++ linear algebra library that aims towards a
- good balance between speed and ease of use. Integer, floating point and
- complex numbers are supported, as well as a subset of trigonometric and
- statistics functions. Various matrix decompositions are provided through
- optional integration with LAPACK and ATLAS libraries. This package includes
- the header files from the templated Armadillo library.")
- ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
- ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
- ;; later, as is the rest of 'Rcpp'.
- (license license:gpl2+)))
- (define-public r-bitops
- (package
- (name "r-bitops")
- (version "1.0-7")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "bitops" version))
- (sha256
- (base32
- "1i0phmq5yynla5x0frqll1gbf5ww59p3sgz1s06a354zqf9grdg9"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/bitops")
- (synopsis "Bitwise operations")
- (description
- "This package provides functions for bitwise operations on integer
- vectors.")
- (license license:gpl2+)))
- (define-public r-catools
- (package
- (name "r-catools")
- (version "1.18.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "caTools" version))
- (sha256
- (base32
- "14q2ry8gaszjl0m97qg62dxv5bpj6k02qwyi7q2lnxgcmwai3mkm"))))
- (properties `((upstream-name . "caTools")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-bitops" ,r-bitops)))
- (home-page "https://cran.r-project.org/web/packages/caTools")
- (synopsis "Various tools including functions for moving window statistics")
- (description
- "This package contains several basic utility functions including:
- moving (rolling, running) window statistic functions, read/write for GIF and
- ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
- encoder/decoder, round-off-error-free sum and cumsum, etc.")
- (license license:gpl3+)))
- (define-public r-rprojroot
- (package
- (name "r-rprojroot")
- (version "2.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rprojroot" version))
- (sha256
- (base32
- "07wy07yhms8zln9qb0iwx69dq08h4lrdi8kavjcplfxcskq638az"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/krlmlr/rprojroot")
- (synopsis "Finding files in project subdirectories")
- (description
- "This package helps accessing files relative to a project root. It
- provides helpers for robust, reliable and flexible paths to files below a
- project root. The root of a project is defined as a directory that matches a
- certain criterion, e.g., it contains a certain regular file.")
- (license license:gpl3)))
- (define-public r-rmarkdown
- (package
- (name "r-rmarkdown")
- (version "2.10")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rmarkdown" version))
- (sha256
- (base32 "1p2cc9ysj906gkl4c6ac7s8njh32p2kcx1ib4gjj3jmfz915k9jk"))))
- (properties `((upstream-name . "rmarkdown")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-evaluate" ,r-evaluate)
- ("r-htmltools" ,r-htmltools)
- ("r-jsonlite" ,r-jsonlite)
- ("r-knitr" ,r-knitr)
- ("r-stringr" ,r-stringr)
- ("r-tinytex" ,r-tinytex)
- ("r-xfun" ,r-xfun)
- ("r-yaml" ,r-yaml)
- ("pandoc" ,pandoc)
- ("pandoc-citeproc" ,pandoc-citeproc)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://rmarkdown.rstudio.com")
- (synopsis "Convert R Markdown documents into a variety of formats")
- (description
- "This package provides tools to convert R Markdown documents into a
- variety of formats.")
- (license license:gpl3+)))
- (define-public r-gtable
- (package
- (name "r-gtable")
- (version "0.3.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "gtable" version))
- (sha256
- (base32
- "1lyncxf2dqdjgw1071cn9c8zwzkz6sldnd5cgmicf70bc726qf7x"))))
- (properties `((upstream-name . "gtable")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/gtable")
- (synopsis "R library to arrange grobs in tables")
- (description
- "Gtable is a collection of tools to make it easier to work with
- \"tables\" of grobs.")
- (license license:gpl2+)))
- (define-public r-gridextra
- (package
- (name "r-gridextra")
- (version "2.3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "gridExtra" version))
- (sha256
- (base32
- "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
- (properties `((upstream-name . "gridExtra")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-gtable" ,r-gtable)))
- (native-inputs
- `(("r-knitr" ,r-knitr))) ;for building vignettes
- (home-page "https://github.com/baptiste/gridextra")
- (synopsis "Miscellaneous functions for \"Grid\" graphics")
- (description
- "This package provides a number of user-level functions to work with
- @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
- and draw tables.")
- (license license:gpl2+)))
- (define-public r-pkgconfig
- (package
- (name "r-pkgconfig")
- (version "2.0.3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "pkgconfig" version))
- (sha256
- (base32
- "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
- (build-system r-build-system)
- (home-page "https://github.com/gaborcsardi/pkgconfig")
- (synopsis "Private configuration for R packages")
- (description "This package provides the functionality to set configuration
- options on a per-package basis. Options set by a given package only apply to
- that package, other packages are unaffected.")
- (license license:expat)))
- (define-public r-blob
- (package
- (name "r-blob")
- (version "1.2.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "blob" version))
- (sha256
- (base32
- "1yn7f13icaix0apxp4drnciwdn8bx8xmbd129jd7ck4rcly0axj9"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rlang" ,r-rlang)
- ("r-vctrs" ,r-vctrs)))
- (home-page "https://github.com/hadley/blob")
- (synopsis "Simple S3 Class for representing vectors of binary data")
- (description "Raw vectors in R are useful for storing a single binary
- object. What if you want to put a vector of them in a data frame? The blob
- package provides the blob object, a list of raw vectors, suitable for use as
- a column in data frame.")
- (license license:gpl3+)))
- (define-public r-rsqlite
- (package
- (name "r-rsqlite")
- (version "2.2.8")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "RSQLite" version))
- (sha256
- (base32
- "1hscgi11px9hq0sx78c2lkfzq121rlvmhxmqf305xg6lgqdxr2hv"))))
- (properties `((upstream-name . "RSQLite")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-dbi" ,r-dbi)
- ("r-memoise" ,r-memoise)
- ("r-plogr" ,r-plogr)
- ("r-rcpp" ,r-rcpp)
- ("r-bit64" ,r-bit64)
- ("r-blob" ,r-blob)
- ("r-pkgconfig" ,r-pkgconfig)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/rstats-db/RSQLite")
- (synopsis "SQLite interface for R")
- (description
- "This package embeds the SQLite database engine in R and provides an
- interface compliant with the DBI package. The source for the SQLite
- engine (version 3.8.8.2) is included.")
- (license license:lgpl2.0+)))
- (define-public r-rcurl
- (package
- (name "r-rcurl")
- (version "1.95-0.1.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://www.bioconductor.org/packages/"
- "release/extra/src/"
- "contrib/RCurl_" version ".tar.gz"))
- (sha256
- (base32
- "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
- (properties `((upstream-name . "RCurl")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'respect-CURL_CA_BUNDLE
- (lambda _
- (substitute* "R/options.S"
- (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
- (string-append "\
- certs = Sys.getenv(\"CURL_CA_BUNDLE\")
- if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
- " m)))
- #t)))))
- (inputs
- `(("libcurl" ,curl)))
- (propagated-inputs
- `(("r-bitops" ,r-bitops)))
- (home-page "http://www.omegahat.net/RCurl")
- (synopsis "General network client interface for R")
- (description
- "The package allows one to compose general HTTP requests and provides
- convenient functions to fetch URIs, GET and POST forms, etc. and process the
- results returned by the Web server. This provides a great deal of control
- over the HTTP/FTP/... connection and the form of the request while providing a
- higher-level interface than is available just using R socket connections.
- Additionally, the underlying implementation is robust and extensive,
- supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
- ldap, and also supports cookies, redirects, authentication, etc.")
- (license license:bsd-3)))
- (define-public r-xml
- (package
- (name "r-xml")
- (version "3.99-0.7")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "XML" version))
- (sha256
- (base32
- "024038g1mrzkv7b7fyrzpzpxlch3sifsnaa584g98y3c3g6jbrz0"))))
- (properties
- `((upstream-name . "XML")))
- (build-system r-build-system)
- (inputs
- `(("libxml2" ,libxml2)
- ("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)))
- (home-page "http://www.omegahat.net/RSXML")
- (synopsis "Tools for parsing and generating XML within R")
- (description
- "Many approaches for both reading and creating XML (and HTML)
- documents (including DTDs), both local and accessible via HTTP or FTP. Also
- offers access to an XPath \"interpreter\".")
- (license license:bsd-2)))
- (define-public r-xnomial
- (package
- (name "r-xnomial")
- (version "1.0.4")
- (source
- (origin (method url-fetch)
- (uri (cran-uri "XNomial" version))
- (sha256
- (base32
- "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
- (properties (quasiquote ((upstream-name . "XNomial"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/XNomial")
- (synopsis "Goodness-of-Fit test for multinomial data")
- (description
- "This package provides an exact Goodness-of-Fit test for
- multinomial data with fixed probabilities. It can be used to
- determine whether a set of counts fits a given expected ratio. To see
- whether a set of observed counts fits an expectation, one can examine
- all possible outcomes with @code{xmulti()} or a random sample of them
- with @code{xmonte()} and find the probability of an observation
- deviating from the expectation by at least as much as the observed.
- As a measure of deviation from the expected, one can use the
- log-likelihood ratio, the multinomial probability, or the classic
- chi-square statistic. A histogram of the test statistic can also be
- plotted and compared with the asymptotic curve.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-lambda-r
- (package
- (name "r-lambda-r")
- (version "1.2.4")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "lambda.r" version))
- (sha256
- (base32
- "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
- (properties `((upstream-name . "lambda.r")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-formatr" ,r-formatr)))
- (home-page "https://cran.r-project.org/web/packages/lambda.r")
- (synopsis "Functional programming extension for R")
- (description
- "This package provides a language extension to efficiently write
- functional programs in R. Syntax extensions include multi-part function
- definitions, pattern matching, guard statements, built-in (optional) type
- safety.")
- (license license:lgpl3+)))
- (define-public r-futile-options
- (package
- (name "r-futile-options")
- (version "1.0.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "futile.options" version))
- (sha256
- (base32
- "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
- (properties
- `((upstream-name . "futile.options")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/futile.options")
- (synopsis "Options management framework")
- (description
- "The futile.options subsystem provides an easy user-defined options
- management system that is properly scoped. This means that options created
- via @code{futile.options} are fully self-contained and will not collide with
- options defined in other packages.")
- (license license:lgpl3+)))
- (define-public r-futile-logger
- (package
- (name "r-futile-logger")
- (version "1.4.3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "futile.logger" version))
- (sha256
- (base32
- "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
- (properties `((upstream-name . "futile.logger")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-futile-options" ,r-futile-options)
- ("r-lambda-r" ,r-lambda-r)))
- (home-page "https://cran.r-project.org/web/packages/futile.logger")
- (synopsis "Logging utility for R")
- (description
- "This package provides a simple yet powerful logging utility. Based
- loosely on log4j, futile.logger takes advantage of R idioms to make logging a
- convenient and easy to use replacement for @code{cat} and @code{print}
- statements.")
- (license license:lgpl3+)))
- (define-public r-segmented
- (package
- (name "r-segmented")
- (version "1.3-4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "segmented" version))
- (sha256
- (base32
- "0bchqcy308kbywavgyg9kb4543rbkfn753q9c6d7l7aw7sxvyxl2"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/segmented")
- (synopsis "Regression models with breakpoints estimation")
- (description
- "Given a regression model, segmented updates the model by adding one or
- more segmented (i.e., piecewise-linear) relationships. Several variables with
- multiple breakpoints are allowed.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-snow
- (package
- (name "r-snow")
- (version "0.4-3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "snow" version))
- (sha256
- (base32
- "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/snow")
- (synopsis "Support for simple parallel computing in R")
- (description
- "The snow package provides support for simple parallel computing on a
- network of workstations using R. A master R process calls @code{makeCluster}
- to start a cluster of worker processes; the master process then uses functions
- such as @code{clusterCall} and @code{clusterApply} to execute R code on the
- worker processes and collect and return the results on the master.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-sparsem
- (package
- (name "r-sparsem")
- (version "1.81")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "SparseM" version))
- (sha256
- (base32
- "0csbqd9wm6r4162mday1iaigzf9wv2rp1zq8hnihys6f38w8z0xx"))))
- (properties
- `((upstream-name . "SparseM")))
- (native-inputs
- `(("gfortran" ,gfortran)))
- (build-system r-build-system)
- (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
- (synopsis "Sparse linear algebra")
- (description
- "This package provides some basic linear algebra functionality for sparse
- matrices. It includes Cholesky decomposition and backsolving as well as
- standard R subsetting and Kronecker products.")
- (license license:gpl2+)))
- (define-public r-iterators
- (package
- (name "r-iterators")
- (version "1.0.13")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "iterators" version))
- (sha256
- (base32
- "190i1y2493v5c9z8978rb3idlwsjymy67k1assa9znljqbj313kp"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/iterators")
- (synopsis "Iterator construct for R")
- (description
- "This package provides support for iterators, which allow a programmer to
- traverse through all the elements of a vector, list, or other collection of
- data.")
- (license license:asl2.0)))
- (define-public r-foreach
- (package
- (name "r-foreach")
- (version "1.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "foreach" version))
- (sha256
- (base32
- "1qb83b1jvpmk8d6kfibkm5q2hiki0x5gipy758mwa62n56gdcnpv"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-codetools" ,r-codetools)
- ("r-iterators" ,r-iterators)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/foreach")
- (synopsis "Foreach looping construct for R")
- (description
- "This package provides support for the @code{foreach} looping construct.
- @code{foreach} is an idiom that allows for iterating over elements in a
- collection, without the use of an explicit loop counter. This package in
- particular is intended to be used for its return value, rather than for its
- side effects. In that sense, it is similar to the standard @code{lapply}
- function, but doesn't require the evaluation of a function. Using
- @code{foreach} without side effects also facilitates executing the loop in
- parallel.")
- (license license:asl2.0)))
- (define-public r-doparallel
- (package
- (name "r-doparallel")
- (version "1.0.16")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "doParallel" version))
- (sha256
- (base32
- "1cjf0mxrxgls5pl7aj22fv9j488craib1wkc9np4f3gkckwjdfzi"))))
- (properties `((upstream-name . "doParallel")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-foreach" ,r-foreach)
- ("r-iterators" ,r-iterators)))
- (home-page "https://cran.r-project.org/web/packages/doParallel")
- (synopsis "Foreach parallel adaptor for the 'parallel' package")
- (description
- "This package provides a parallel backend for the @code{%dopar%} function
- using the parallel package.")
- (license license:gpl2+)))
- (define-public r-domc
- (package
- (name "r-domc")
- (version "1.3.7")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "doMC" version))
- (sha256
- (base32
- "0kdmfhp5m1wisjbfyl9d040jrmjmhcgjb0vdi536g2i9vixb5yny"))))
- (properties `((upstream-name . "doMC")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-foreach" ,r-foreach)
- ("r-iterators" ,r-iterators)))
- (home-page "https://cran.r-project.org/web/packages/doMC")
- (synopsis "Foreach parallel adaptor for the 'parallel' package")
- (description
- "This package provides a parallel backend for the @code{%dopar%} function
- using the multicore functionality of the parallel package.")
- (license license:gpl2+)))
- (define-public r-dt
- (package
- (name "r-dt")
- (version "0.18")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "DT" version))
- (sha256
- (base32
- "1vxqmj01504k9639m2cig1s4qflz3dj54h9rgx5qa72fpkvkk411"))))
- (properties
- `((upstream-name . "DT")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-crosstalk" ,r-crosstalk)
- ("r-htmltools" ,r-htmltools)
- ("r-htmlwidgets" ,r-htmlwidgets)
- ("r-jsonlite" ,r-jsonlite)
- ("r-magrittr" ,r-magrittr)
- ("r-promises" ,r-promises)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://rstudio.github.io/DT")
- (synopsis "R wrapper of the DataTables JavaScript library")
- (description
- "This package allows for data objects in R to be rendered as HTML tables
- using the JavaScript library @code{DataTables} (typically via R Markdown or
- Shiny). The @code{DataTables} library has been included in this R package.")
- ;; The DT package as a whole is distributed under GPLv3. The DT package
- ;; inludes other software components under different licenses:
- ;;
- ;; * Expat: jQuery, jquery.highlight.js, DataTables
- ;; * ASL2.0: selectize.js
- ;; * WTFPL: noUiSlider
- (license (list license:gpl3
- license:expat
- license:asl2.0
- license:wtfpl2))))
- (define-public r-base64enc
- (package
- (name "r-base64enc")
- (version "0.1-3")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "base64enc" version))
- (sha256
- (base32
- "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
- (build-system r-build-system)
- (home-page "https://www.rforge.net/base64enc")
- (synopsis "Tools for Base64 encoding")
- (description
- "This package provides tools for handling Base64 encoding. It is more
- flexible than the orphaned \"base64\" package.")
- (license license:gpl2+)))
- (define-public r-irlba
- (package
- (name "r-irlba")
- (version "2.3.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "irlba" version))
- (sha256
- (base32
- "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-matrix" ,r-matrix)))
- (home-page "https://cran.r-project.org/web/packages/irlba")
- (synopsis "Methods for eigendecomposition of large matrices")
- (description
- "This package provides fast and memory efficient methods for truncated
- singular and eigenvalue decompositions, as well as for principal component
- analysis of large sparse or dense matrices.")
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-glmnet
- (package
- (name "r-glmnet")
- (version "4.1-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "glmnet" version))
- (sha256
- (base32 "1kfd8kfhapx2cxw6qnkbs502c3kya4pd9qmf0mk76cdlq1c2paq6"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)
- ("r-knitr" ,r-knitr)))
- (propagated-inputs
- `(("r-foreach" ,r-foreach)
- ("r-matrix" ,r-matrix)
- ("r-shape" ,r-shape)
- ("r-survival" ,r-survival)))
- (home-page "https://www.jstatsoft.org/article/view/v033i01")
- (synopsis "Lasso and elastic-net regularized generalized linear models")
- (description
- "The glmnet package provides efficient procedures for fitting the entire
- lasso or elastic-net regularization path for linear and Poisson regression, as
- well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
- multinomial models. The algorithm uses cyclical coordinate descent in a
- path-wise fashion.")
- (license license:gpl2+)))
- (define-public r-pkgmaker
- (package
- (name "r-pkgmaker")
- (version "0.32.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "pkgmaker" version))
- (sha256
- (base32
- "14ggsd24n5g5rvn0wl4w90ipxzmywqikh28llj89q6kpxwnv4iff"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-assertthat" ,r-assertthat)
- ("r-codetools" ,r-codetools)
- ("r-digest" ,r-digest)
- ("r-registry" ,r-registry)
- ("r-stringr" ,r-stringr)
- ("r-withr" ,r-withr)
- ("r-xtable" ,r-xtable)))
- (home-page "https://renozao.github.io/pkgmaker")
- (synopsis "Package development utilities")
- (description
- "This package provides some low-level utilities to use for R package
- development. It currently provides managers for multiple package specific
- options and registries, vignette, unit test and bibtex related utilities.")
- (license license:gpl2+)))
- (define-public r-registry
- (package
- (name "r-registry")
- (version "0.5-1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "registry" version))
- (sha256
- (base32
- "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/registry")
- (synopsis "Infrastructure for R package registries")
- (description
- "This package provides a generic infrastructure for creating and using R
- package registries.")
- (license license:gpl2+)))
- (define-public r-rngtools
- (package
- (name "r-rngtools")
- (version "1.5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rngtools" version))
- (sha256
- (base32
- "0xgmg3qb6insc157as47mcm9sdjdpy9jirh7w06bxb7pfcxqfx42"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-digest" ,r-digest)))
- (home-page "https://renozao.github.io/rngtools")
- (synopsis "Utility functions for working with random number generators")
- (description
- "This package contains a set of functions for working with Random Number
- Generators (RNGs). In particular, it defines a generic S4 framework for
- getting/setting the current RNG, or RNG data that are embedded into objects
- for reproducibility. Notably, convenient default methods greatly facilitate
- the way current RNG settings can be changed.")
- (license license:gpl3+)))
- (define-public r-rtsne
- (package
- (name "r-rtsne")
- (version "0.15")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "Rtsne" version))
- (sha256
- (base32
- "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
- (properties `((upstream-name . "Rtsne")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)))
- (home-page "https://github.com/jkrijthe/Rtsne")
- (synopsis "T-distributed stochastic neighbor embedding")
- (description
- "This package provides an R wrapper around the fast T-distributed
- Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
- ;; The declared license for this package is BSD-3, but it also includes
- ;; code licensed under BSD-4.
- (license (list license:bsd-3 license:bsd-4))))
- (define-public r-e1071
- (package
- (name "r-e1071")
- (version "1.7-8")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "e1071" version))
- (sha256
- (base32
- "16lw0pr71h00whndkkv9zh2ixm6vc8bkp8m4i5wwhmihd9abdkdb"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-class" ,r-class)
- ("r-proxy" ,r-proxy)))
- (home-page "https://cran.r-project.org/web/packages/e1071")
- (synopsis "Miscellaneous functions for probability theory")
- (description
- "This package provides functions for latent class analysis, short time
- Fourier transform, fuzzy clustering, support vector machines, shortest path
- computation, bagged clustering, naive Bayes classifier, and more.")
- (license license:gpl2+)))
- (define-public r-bigmemory-sri
- (package
- (name "r-bigmemory-sri")
- (version "0.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "bigmemory.sri" version))
- (sha256
- (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
- (properties
- `((upstream-name . "bigmemory.sri")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
- (synopsis "Shared resource interface for the bigmemory package")
- (description "This package provides a shared resource interface for the
- bigmemory and synchronicity packages.")
- ;; Users can choose either LGPLv3 or ASL2.0.
- (license (list license:lgpl3 license:asl2.0))))
- (define-public r-synchronicity
- (package
- (name "r-synchronicity")
- (version "1.3.5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "synchronicity" version))
- (sha256
- (base32
- "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-bh" ,r-bh)
- ("r-bigmemory-sri" ,r-bigmemory-sri)
- ("r-rcpp" ,r-rcpp)
- ("r-uuid" ,r-uuid)))
- (home-page "http://www.bigmemory.org")
- (synopsis "Boost mutex functionality in R")
- (description "This package provides support for synchronization
- via mutexes and may eventually support interprocess communication and
- message passing.")
- ;; Users can choose either LGPLv3 or ASL2.0.
- (license (list license:lgpl3 license:asl2.0))))
- (define-public r-bigmemory
- (package
- (name "r-bigmemory")
- (version "4.5.36")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "bigmemory" version))
- (sha256
- (base32
- "03pg8mxdc7q0249visjmc8bc3xmwxsfg3i2n6higicj4cfz7zihq"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-bh" ,r-bh)
- ("r-rcpp" ,r-rcpp)
- ("r-bigmemory-sri" ,r-bigmemory-sri)))
- (home-page "http://www.bigmemory.org")
- (synopsis "Manage large matrices with shared memory or memory-mapped files")
- (description "This package provides methods to create, store, access, and
- manipulate large matrices. Matrices are allocated to shared memory and may use
- memory-mapped files.")
- ;; Users can choose either LGPLv3 or ASL2.0.
- (license (list license:lgpl3 license:asl2.0))))
- (define-public r-r-methodss3
- (package
- (name "r-r-methodss3")
- (version "1.8.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R.methodsS3" version))
- (sha256
- (base32
- "16v1br7lf7vxv40z65giv9jnqkpnyqagcmgqa0s1jy7spj0zp64a"))))
- (properties `((upstream-name . "R.methodsS3")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
- (synopsis "S3 methods simplified")
- (description
- "This package provides methods that simplify the setup of S3 generic
- functions and S3 methods. Major effort has been made in making definition of
- methods as simple as possible with a minimum of maintenance for package
- developers. For example, generic functions are created automatically, if
- missing, and naming conflict are automatically solved, if possible. The
- method @code{setMethodS3()} is a good start for those who in the future may
- want to migrate to S4.")
- (license license:lgpl2.1+)))
- (define-public r-r-oo
- (package
- (name "r-r-oo")
- (version "1.24.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R.oo" version))
- (sha256
- (base32
- "1divisff26fmiqg6vmabnwlrx079c066r8qvkakfp336vnwdm89p"))))
- (properties `((upstream-name . "R.oo")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-r-methodss3" ,r-r-methodss3)))
- (home-page "https://github.com/HenrikBengtsson/R.oo")
- (synopsis "R object-oriented programming with or without references")
- (description
- "This package provides methods and classes for object-oriented
- programming in R with or without references. Large effort has been made on
- making definition of methods as simple as possible with a minimum of
- maintenance for package developers.")
- (license license:lgpl2.1+)))
- (define-public r-r-utils
- (package
- (name "r-r-utils")
- (version "2.10.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R.utils" version))
- (sha256
- (base32
- "1gssnk73nhisc20by9kvfl4byfsmwrk6597na0x40ycck58lyylm"))))
- (properties `((upstream-name . "R.utils")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-r-methodss3" ,r-r-methodss3)
- ("r-r-oo" ,r-r-oo)))
- (home-page "https://github.com/HenrikBengtsson/R.utils")
- (synopsis "Various programming utilities")
- (description
- "This package provides utility functions useful when programming and
- developing R packages.")
- (license license:lgpl2.1+)))
- (define-public r-r-cache
- (package
- (name "r-r-cache")
- (version "0.15.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R.cache" version))
- (sha256
- (base32
- "09pipn1974ivjh4sm3n5fjlh31rilf87p30qwq7y25vriyqd7d5d"))))
- (properties `((upstream-name . "R.cache")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
- (propagated-inputs
- `(("r-digest" ,r-digest)
- ("r-r-methodss3" ,r-r-methodss3)
- ("r-r-oo" ,r-r-oo)
- ("r-r-utils" ,r-r-utils)))
- (home-page "https://github.com/HenrikBengtsson/R.cache")
- (synopsis "Light-weight caching of objects and results")
- (description
- "This package provides methods for caching or memoization of objects and
- results. With this package, any R object can be cached in a key-value storage
- where the key can be an arbitrary set of R objects. The cache memory is
- persistent (on the file system).")
- (license license:lgpl2.1+)))
- (define-public r-r-rsp
- (package
- (name "r-r-rsp")
- (version "0.44.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "R.rsp" version))
- (sha256
- (base32
- "0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9"))))
- (properties `((upstream-name . "R.rsp")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
- (propagated-inputs
- `(("r-digest" ,r-digest)
- ("r-r-cache" ,r-r-cache)
- ("r-r-methodss3" ,r-r-methodss3)
- ("r-r-oo" ,r-r-oo)
- ("r-r-utils" ,r-r-utils)))
- (home-page "https://github.com/HenrikBengtsson/R.rsp")
- (synopsis "Dynamic generation of scientific reports")
- (description
- "The RSP markup language provides a powerful markup for controlling the
- content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
- documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
- to many other literate programming languages, with RSP it is straightforward
- to loop over mixtures of code and text sections, e.g. in month-by-month
- summaries. RSP has also several preprocessing directives for incorporating
- static and dynamic contents of external files (local or online) among other
- things. RSP is ideal for self-contained scientific reports and R package
- vignettes.")
- (license license:lgpl2.1+)))
- (define-public r-mvtnorm
- (package
- (name "r-mvtnorm")
- (version "1.1-2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "mvtnorm" version))
- (sha256
- (base32
- "05wh7mprf2sim2kxh3d72pdcmml6vbikzxavws1dq6mxwlsy2p7j"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "http://mvtnorm.R-forge.R-project.org")
- (synopsis "Package for multivariate normal and t-distributions")
- (description "This package can compute multivariate normal and
- t-probabilities, quantiles, random deviates and densities.")
- (license license:gpl2)))
- (define-public r-matrixstats
- (package
- (name "r-matrixstats")
- (version "0.60.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "matrixStats" version))
- (sha256
- (base32
- "08azjib5pwqs683dpgr3p5gid0silddcq6baqmvmazncrw1r7q0f"))))
- (properties `((upstream-name . "matrixStats")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
- (native-inputs
- `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
- (home-page "https://github.com/HenrikBengtsson/matrixStats")
- (synopsis "Methods applying to vectors and matrix rows and columns")
- (description
- "This package provides methods operating on rows and columns of matrices,
- e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
- also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
- @code{weightedMedians()}. All methods have been optimized for speed and
- memory usage.")
- (license license:artistic2.0)))
- (define-public r-viridis
- (package
- (name "r-viridis")
- (version "0.6.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "viridis" version))
- (sha256
- (base32
- "1fyax36ycjiypcnxhrv58pq67qv03vfg4lx822d38jpjly54q128"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ggplot2" ,r-ggplot2)
- ("r-gridextra" ,r-gridextra)
- ("r-viridislite" ,r-viridislite)))
- (native-inputs
- `(("r-knitr" ,r-knitr))) ; for vignettes
- (home-page "https://github.com/sjmgarnier/viridis")
- (synopsis "Matplotlib default color map")
- (description
- "This package is a port of the new @url{matplotlib,
- http://matplotlib.org/} color maps (@code{viridis}--the default--,
- @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
- designed in such a way that they will analytically be perfectly
- perceptually-uniform, both in regular form and also when converted to
- black-and-white. They are also designed to be perceived by readers with the
- most common form of color blindness.")
- (license license:x11)))
- (define-public r-viridislite
- (package
- (name "r-viridislite")
- (version "0.4.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "viridisLite" version))
- (sha256
- (base32
- "0siwr0vq80gs3sbyd542zjb0cl9av5zqdm0fqnym5g6ribf5b6c4"))))
- (properties `((upstream-name . "viridisLite")))
- (build-system r-build-system)
- (home-page "https://github.com/sjmgarnier/viridisLite")
- (synopsis "Default color maps from matplotlib")
- (description
- "This package is a port of the new @code{matplotlib} color maps
- (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
- matplotlib is a popular plotting library for Python. These color maps are
- designed in such a way that they will analytically be perfectly
- perceptually-uniform, both in regular form and also when converted to
- black-and-white. They are also designed to be perceived by readers with the
- most common form of color blindness. This is the @code{lite} version of the
- more complete @code{viridis} package.")
- (license license:expat)))
- (define-public r-tidyselect
- (package
- (name "r-tidyselect")
- (version "1.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tidyselect" version))
- (sha256
- (base32
- "0ss8mq05mwif64cj8zmrfx0ljgy3n0fvyv7f37782shr8rknmsqq"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ellipsis" ,r-ellipsis)
- ("r-glue" ,r-glue)
- ("r-purrr" ,r-purrr)
- ("r-rlang" ,r-rlang)
- ("r-vctrs" ,r-vctrs)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/tidyselect")
- (synopsis "Select from a set of strings")
- (description
- "This package provides a backend for the selecting functions of the
- tidyverse. It makes it easy to implement select-like functions in your own
- packages in a way that is consistent with other tidyverse interfaces for
- selection.")
- (license license:gpl3)))
- (define-public r-tidyr
- (package
- (name "r-tidyr")
- (version "1.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tidyr" version))
- (sha256
- (base32
- "0cpbrvr759z8p7r9lpkjhj2dcdymsbnaib0rma9b4jb7i3qzmh2a"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-cpp11" ,r-cpp11)
- ("r-dplyr" ,r-dplyr)
- ("r-ellipsis" ,r-ellipsis)
- ("r-magrittr" ,r-magrittr)
- ("r-glue" ,r-glue)
- ("r-lifecycle" ,r-lifecycle)
- ("r-purrr" ,r-purrr)
- ("r-rlang" ,r-rlang)
- ("r-tidyselect" ,r-tidyselect)
- ("r-tibble" ,r-tibble)
- ("r-vctrs" ,r-vctrs)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/tidyr")
- (synopsis "Tidy data with `spread()` and `gather()` functions")
- (description
- "tidyr is a reframing of the reshape2 package designed to accompany the
- tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
- a solid pipeline for data analysis. It is designed specifically for tidying
- data, not the general reshaping that reshape2 does, or the general aggregation
- that reshape did. In particular, built-in methods only work for data frames,
- and tidyr provides no margins or aggregation.")
- (license license:expat)))
- (define-public r-hexbin
- (package
- (name "r-hexbin")
- (version "1.28.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "hexbin" version))
- (sha256
- (base32
- "0bbhs5pwxh474w62sq6gqvih7habancxng9wd4f2rgn6lv9zhhb2"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (native-inputs
- `(("gfortran" ,gfortran)
- ("r-knitr" ,r-knitr))) ; for vignettes
- (home-page "https://github.com/edzer/hexbin")
- (synopsis "Hexagonal binning routines")
- (description
- "This package provides binning and plotting functions for hexagonal bins.
- It uses and relies on grid graphics and formal (S4) classes and methods.")
- (license license:gpl2+)))
- (define-public r-purrr
- (package
- (name "r-purrr")
- (version "0.3.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "purrr" version))
- (sha256
- (base32
- "1cj091rsjdj2xz16qhynyw72gh5cyhznifcfbrbygndfr4xwksr3"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-magrittr" ,r-magrittr)
- ("r-rlang" ,r-rlang)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/hadley/purrr")
- (synopsis "Functional programming tools")
- (description
- "This package completes R's functional programming tools with missing
- features present in other programming languages.")
- (license license:gpl3+)))
- (define-public r-plotly
- (package
- (name "r-plotly")
- (version "4.9.4.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "plotly" version))
- (sha256
- (base32
- "1q711c0lg0jmzrmcc2fhjy70ms49as7cakdbgbh2ij9s149fa7iq"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-base64enc" ,r-base64enc)
- ("r-crosstalk" ,r-crosstalk)
- ("r-digest" ,r-digest)
- ("r-data-table" ,r-data-table)
- ("r-dplyr" ,r-dplyr)
- ("r-ggplot2" ,r-ggplot2)
- ("r-htmltools" ,r-htmltools)
- ("r-htmlwidgets" ,r-htmlwidgets)
- ("r-httr" ,r-httr)
- ("r-jsonlite" ,r-jsonlite)
- ("r-lazyeval" ,r-lazyeval)
- ("r-magrittr" ,r-magrittr)
- ("r-promises" ,r-promises)
- ("r-purrr" ,r-purrr)
- ("r-rcolorbrewer" ,r-rcolorbrewer)
- ("r-rlang" ,r-rlang)
- ("r-scales" ,r-scales)
- ("r-tibble" ,r-tibble)
- ("r-tidyr" ,r-tidyr)
- ("r-vctrs" ,r-vctrs)
- ("r-viridislite" ,r-viridislite)))
- (home-page "https://plot.ly/r")
- (synopsis "Create interactive web graphics")
- (description
- "This package enables the translation of ggplot2 graphs to an interactive
- web-based version and/or the creation of custom web-based visualizations
- directly from R. Once uploaded to a plotly account, plotly graphs (and the
- data behind them) can be viewed and modified in a web browser.")
- (license license:x11)))
- (define-public r-biased-urn
- (package
- (name "r-biased-urn")
- (version "1.07")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "BiasedUrn" version))
- (sha256
- (base32
- "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
- (properties `((upstream-name . "BiasedUrn")))
- (build-system r-build-system)
- (home-page "https://www.agner.org/random/")
- (synopsis "Biased urn model distributions")
- (description
- "This package provides statistical models of biased sampling in the form
- of univariate and multivariate noncentral hypergeometric distributions,
- including Wallenius' noncentral hypergeometric distribution and Fisher's
- noncentral hypergeometric distribution (also called extended hypergeometric
- distribution).")
- (license license:gpl3+)))
- (define-public r-rematch
- (package
- (name "r-rematch")
- (version "1.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rematch" version))
- (sha256
- (base32
- "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
- (build-system r-build-system)
- (home-page "https://github.com/MangoTheCat/rematch")
- (synopsis "Match regular expressions with a nicer API")
- (description
- "This package provides a small wrapper on @code{regexpr} to extract the
- matches and captured groups from the match of a regular expression to a
- character vector.")
- (license license:expat)))
- (define-public r-cellranger
- (package
- (name "r-cellranger")
- (version "1.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "cellranger" version))
- (sha256
- (base32
- "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rematch" ,r-rematch)
- ("r-tibble" ,r-tibble)))
- (home-page "https://github.com/rsheets/cellranger")
- (synopsis "Translate spreadsheet cell ranges to rows and columns")
- (description
- "This package provides helper functions to work with spreadsheets and the
- @code{A1:D10} style of cell range specification.")
- (license license:expat)))
- (define-public r-googlesheets
- (package
- (name "r-googlesheets")
- (version "0.3.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "googlesheets" version))
- (sha256
- (base32
- "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-cellranger" ,r-cellranger)
- ("r-dplyr" ,r-dplyr)
- ("r-httr" ,r-httr)
- ("r-jsonlite" ,r-jsonlite)
- ("r-purrr" ,r-purrr)
- ("r-readr" ,r-readr)
- ("r-stringr" ,r-stringr)
- ("r-tibble" ,r-tibble)
- ("r-tidyr" ,r-tidyr)
- ("r-xml2" ,r-xml2)))
- (home-page "https://github.com/jennybc/googlesheets")
- (synopsis "Manage Google spreadsheets from R")
- (description "This package provides tools to interact with Google Sheets
- from within R.")
- (license license:expat)))
- (define-public r-spams
- (package
- (name "r-spams")
- (version "2.6-2017-03-22")
- (source
- (origin
- (method url-fetch)
- ;; Use the ‘Latest version’ link for a stable URI across releases.
- (uri (string-append "https://gforge.inria.fr/frs/download.php/"
- "latestfile/4531/spams-R-v" version ".tar.gz"))
- (sha256
- (base32
- "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _ (chdir "spams") #t))
- ;; Don't tune for the building machine.
- (add-after 'chdir 'no-mtune
- (lambda _
- (substitute* "src/Makevars"
- (("-mtune=native") ""))
- #t)))))
- (propagated-inputs
- `(("r-lattice" ,r-lattice)
- ("r-matrix" ,r-matrix)))
- (home-page "https://spams-devel.gforge.inria.fr")
- (synopsis "Toolbox for solving sparse estimation problems")
- (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
- for solving various sparse estimation problems. It includes tools for the
- following problems:
- @enumerate
- @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
- component analysis} (PCA), ...)
- @item Solving sparse decomposition problems with LARS, coordinate descent,
- OMP, SOMP, proximal methods
- @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
- group lasso, tree-structured regularization, structured sparsity with
- overlapping groups,...).
- @end enumerate\n")
- (license license:gpl3+)))
- (define-public r-base64
- (package
- (name "r-base64")
- (version "2.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "base64" version))
- (sha256
- (base32
- "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-openssl" ,r-openssl)))
- (home-page "https://cran.r-project.org/web/packages/base64")
- (synopsis "Base64 encoder and decoder")
- (description
- "This package is a compatibility wrapper to replace the orphaned package
- by Romain Francois. New applications should use the openssl or base64enc
- package instead.")
- (license license:expat)))
- (define-public r-hmisc
- (package
- (name "r-hmisc")
- (version "4.5-0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "Hmisc" version))
- (sha256
- (base32 "11qj73zj16p113jpwn2vv06l99kqlcxcmrldbpyi5s7pwing9jnx"))))
- (properties `((upstream-name . "Hmisc")))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (propagated-inputs
- `(("r-base64enc" ,r-base64enc)
- ("r-cluster" ,r-cluster)
- ("r-data-table" ,r-data-table)
- ("r-foreign" ,r-foreign)
- ("r-formula" ,r-formula)
- ("r-ggplot2" ,r-ggplot2)
- ("r-gridextra" ,r-gridextra)
- ("r-gtable" ,r-gtable)
- ("r-lattice" ,r-lattice)
- ("r-latticeextra" ,r-latticeextra)
- ("r-htmltable" ,r-htmltable)
- ("r-htmltools" ,r-htmltools)
- ("r-nnet" ,r-nnet)
- ("r-rpart" ,r-rpart)
- ("r-survival" ,r-survival)
- ("r-viridis" ,r-viridis)))
- (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
- (synopsis "Miscellaneous data analysis and graphics functions")
- (description
- "This package contains many functions useful for data analysis,
- high-level graphics, utility operations, functions for computing sample size
- and power, importing and annotating datasets, imputing missing values,
- advanced table making, variable clustering, character string manipulation,
- conversion of R objects to LaTeX code, and recoding variables.")
- (license license:gpl2+)))
- (define-public r-runit
- (package
- (name "r-runit")
- (version "0.4.32")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "RUnit" version))
- (sha256
- (base32
- "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
- (properties `((upstream-name . "RUnit")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/RUnit")
- (synopsis "R unit test framework")
- (description
- "This package provides R functions implementing a standard unit testing
- framework, with additional code inspection and report generation tools.")
- (license license:gpl2+)))
- (define-public r-dynamictreecut
- (package
- (name "r-dynamictreecut")
- (version "1.63-1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "dynamicTreeCut" version))
- (sha256
- (base32
- "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
- (properties `((upstream-name . "dynamicTreeCut")))
- (build-system r-build-system)
- (home-page
- "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
- (synopsis "Detect clusters in hierarchical clustering dendrograms")
- (description
- "This package contains methods for the detection of clusters in
- hierarchical clustering dendrograms.")
- (license license:gpl2+)))
- (define-public r-fastcluster
- (package
- (name "r-fastcluster")
- (version "1.2.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fastcluster" version))
- (sha256
- (base32
- "009amz7i5yndqw2008fgd3p11n4fsb291k2ypg3pip6dw4lr28hz"))))
- (build-system r-build-system)
- (home-page "http://danifold.net/fastcluster.html")
- (synopsis "Fast hierarchical clustering routines")
- (description
- "This package implements fast hierarchical, agglomerative clustering
- routines. Part of the functionality is designed as drop-in replacement for
- existing routines: @code{linkage()} in the SciPy package
- @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
- and the @code{flashClust} package. It provides the same functionality with
- the benefit of a much faster implementation. Moreover, there are
- memory-saving routines for clustering of vector data, which go beyond what the
- existing packages provide.")
- (license license:bsd-2)))
- (define-public r-sfsmisc
- (package
- (name "r-sfsmisc")
- (version "1.1-11")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "sfsmisc" version))
- (sha256
- (base32
- "1qm39v2a41rgiv1hxwxl06grgbmjgg3r2ch5df3zsf82rs9fv2n7"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/sfsmisc")
- (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
- (description
- "This package provides useful utilities from Seminar fuer Statistik ETH
- Zurich, including many that are related to graphics.")
- (license license:gpl2+)))
- (define-public r-gtools
- (package
- (name "r-gtools")
- (version "3.9.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "gtools" version))
- (sha256
- (base32
- "0lx97yafrms2mjym8rhcq5586z7s1iqgy8qfm4px3xl1yn5qkc83"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/gtools")
- (synopsis "Various R programming tools")
- (description
- "This package contains a collection of various functions to assist in R
- programming, such as tools to assist in developing, updating, and maintaining
- R and R packages, calculating the logit and inverse logit transformations,
- tests for whether a value is missing, empty or contains only @code{NA} and
- @code{NULL} values, and many more.")
- (license license:gpl2)))
- (define-public r-gdata
- (package
- (name "r-gdata")
- (version "2.18.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "gdata" version))
- (sha256
- (base32
- "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
- (build-system r-build-system)
- (inputs
- `(("perl" ,perl)))
- (propagated-inputs
- `(("r-gtools" ,r-gtools)))
- (home-page "https://cran.r-project.org/web/packages/gdata")
- (synopsis "Various R programming tools for data manipulation")
- (description
- "This package provides various R programming tools for data manipulation,
- including:
- @itemize
- @item medical unit conversions
- @item combining objects
- @item character vector operations
- @item factor manipulation
- @item obtaining information about R objects
- @item manipulating MS-Excel formatted files
- @item generating fixed-width format files
- @item extricating components of date and time objects
- @item operations on columns of data frames
- @item matrix operations
- @item operations on vectors and data frames
- @item value of last evaluated expression
- @item wrapper for @code{sample} that ensures consistent behavior for
- both scalar and vector arguments
- @end itemize\n")
- (license license:gpl2+)))
- (define-public r-gplots
- (package
- (name "r-gplots")
- (version "3.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "gplots" version))
- (sha256
- (base32
- "0f8khaymz383w2ksnk80d4kpnvgmdk37pbycpsnl2vabaz11kbpr"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-catools" ,r-catools)
- ("r-gtools" ,r-gtools)
- ("r-kernsmooth" ,r-kernsmooth)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/gplots")
- (synopsis "Various R programming tools for plotting data")
- (description
- "This package provides various R programming tools for plotting data,
- including:
- @itemize
- @item calculating and plotting locally smoothed summary function
- @item enhanced versions of standard plots
- @item manipulating colors
- @item calculating and plotting two-dimensional data summaries
- @item enhanced regression diagnostic plots
- @item formula-enabled interface to @code{stats::lowess} function
- @item displaying textual data in plots
- @item balloon plots
- @item plotting \"Venn\" diagrams
- @item displaying Open-Office style plots
- @item plotting multiple data on same region, with separate axes
- @item plotting means and confidence intervals
- @item spacing points in an x-y plot so they don't overlap
- @end itemize\n")
- (license license:gpl2+)))
- (define-public r-rocr
- (package
- (name "r-rocr")
- (version "1.0-11")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "ROCR" version))
- (sha256
- (base32
- "0amvvrkiflmr3qygrsgrsja4gaf2v6r6h6i2bgpsm8r069vmlf2p"))))
- (properties `((upstream-name . "ROCR")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-gplots" ,r-gplots)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://rocr.bioinf.mpi-sb.mpg.de/")
- (synopsis "Visualizing the performance of scoring classifiers")
- (description
- "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
- curves by freely combining two from over 25 performance measures (new
- performance measures can be added using a standard interface). Curves from
- different cross-validation or bootstrapping runs can be averaged by different
- methods, and standard deviations, standard errors or box plots can be used to
- visualize the variability across the runs. The parameterization can be
- visualized by printing cutoff values at the corresponding curve positions, or
- by coloring the curve according to cutoff. All components of a performance
- plot can be quickly adjusted using a flexible parameter dispatching
- mechanism.")
- (license license:gpl2+)))
- (define-public r-ztable
- (package
- (name "r-ztable")
- (version "0.2.2")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "ztable" version))
- (sha256
- (base32
- "0wxcdb7yp2r6w5iznz1k49npp5sn4jiybfcj30s3198hkcnv0r8y"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-flextable" ,r-flextable)
- ("r-magrittr" ,r-magrittr)
- ("r-officer" ,r-officer)
- ("r-rcolorbrewer" ,r-rcolorbrewer)
- ("r-rstudioapi" ,r-rstudioapi)
- ("r-scales" ,r-scales)
- ("r-stringr" ,r-stringr)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/ztable")
- (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
- (description
- "This package provides functions to make zebra-striped tables (tables
- with alternating row colors) in LaTeX and HTML formats easily from
- @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
- @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
- @code{cbind.mytable} objects.")
- (license license:gpl2+)))
- (define-public r-vipor
- (package
- (name "r-vipor")
- (version "0.4.5")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "vipor" version))
- (sha256
- (base32
- "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/vipor")
- (synopsis "Plot categorical data using noise and density estimates")
- (description
- "This package provides tools to generate a violin point plot, a
- combination of a violin/histogram plot and a scatter plot by offsetting points
- within a category based on their density using quasirandom noise.")
- (license license:gpl2+)))
- (define-public r-beeswarm
- (package
- (name "r-beeswarm")
- (version "0.4.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "beeswarm" version))
- (sha256
- (base32
- "016mqcbdksialkmap56rprzna9b6cd6896ml9gl2n2h8yjdk7x2i"))))
- (build-system r-build-system)
- (home-page "https://www.cbs.dtu.dk/~eklund/beeswarm/")
- (synopsis "Implementation of bee swarm plots")
- (description
- "This package provides an implementation of bee swarm plots. The bee
- swarm plot is a one-dimensional scatter plot like stripchart, but with
- closely-packed, non-overlapping points.")
- (license license:artistic2.0)))
- (define-public r-sourcetools
- (package
- (name "r-sourcetools")
- (version "0.1.7")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "sourcetools" version))
- (sha256
- (base32
- "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/sourcetools")
- (synopsis "Tools for reading, tokenizing and parsing R code")
- (description
- "The sourcetools package provides both an R and C++ interface for the
- tokenization of R code, and helpers for interacting with the tokenized
- representation of R code.")
- (license license:expat)))
- (define-public r-ggbeeswarm
- (package
- (name "r-ggbeeswarm")
- (version "0.6.0")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "ggbeeswarm" version))
- (sha256
- (base32
- "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-beeswarm" ,r-beeswarm)
- ("r-ggplot2" ,r-ggplot2)
- ("r-vipor" ,r-vipor)))
- (home-page "https://github.com/eclarke/ggbeeswarm")
- (synopsis "Categorical scatter (violin point) plots")
- (description
- "This package provides two methods of plotting categorical scatter plots
- such that the arrangement of points within a category reflects the density of
- data at that region, and avoids over-plotting.")
- (license license:gpl2+)))
- (define-public r-ggthemes
- (package
- (name "r-ggthemes")
- (version "4.2.4")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "ggthemes" version))
- (sha256
- (base32
- "0rw5f6axyz1pqn6qx9jwm38hjzn8bqs1nfjkvm96z3xnyn61cdbv"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ggplot2" ,r-ggplot2)
- ("r-purrr" ,r-purrr)
- ("r-scales" ,r-scales)
- ("r-stringr" ,r-stringr)
- ("r-tibble" ,r-tibble)))
- (home-page "https://cran.rstudio.com/web/packages/ggthemes")
- (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
- (description "This package provides extra themes and scales for
- @code{ggplot2} that replicate the look of plots by Edward Tufte and
- Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
- Wall Street Journal, among others. This package also provides
- @code{geoms} for Tufte's box plot and range frame.")
- (license license:gpl2)))
- (define-public r-statmod
- (package
- (name "r-statmod")
- (version "1.4.36")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "statmod" version))
- (sha256
- (base32
- "1hkvklcav6gj4zib4g3b4xwsdsbsmnzdblr0v6jaqv227p49gs0l"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/statmod")
- (native-inputs
- `(("gfortran" ,gfortran)))
- (synopsis "Statistical modeling")
- (description
- "This package provides a collection of algorithms and functions to aid
- statistical modeling. It includes growth curve comparisons, limiting dilution
- analysis (aka ELDA), mixed linear models, heteroscedastic regression,
- inverse-Gaussian probability calculations, Gauss quadrature and a secure
- convergence algorithm for nonlinear models. It also includes advanced
- generalized linear model functions that implement secure convergence,
- dispersion modeling and Tweedie power-law families.")
- ;; Statmod is distributed under either license
- (license (list license:gpl2 license:gpl3))))
- (define-public r-rann
- (package
- (name "r-rann")
- (version "2.6.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "RANN" version))
- (sha256
- (base32
- "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
- (properties
- `((upstream-name . "RANN")))
- (build-system r-build-system)
- (home-page "https://github.com/jefferis/RANN")
- (synopsis "Fast nearest neighbour search")
- (description
- "This package finds the k nearest neighbours for every point in a given
- dataset in O(N log N) time using Arya and Mount's ANN library. Provides
- approximate, exact searches, fixed radius searches, bd and kb trees.")
- (license license:gpl3+)))
- (define-public r-fivethirtyeight
- (package
- (name "r-fivethirtyeight")
- (version "0.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://mran.microsoft.com/src/contrib/"
- "fivethirtyeight_" version ".tar.gz"))
- (sha256
- (base32
- "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-knitr" ,r-knitr)
- ("r-rmarkdown" ,r-rmarkdown)
- ("r-dplyr" ,r-dplyr)
- ("r-readr" ,r-readr)
- ("r-ggplot2" ,r-ggplot2)
- ("r-magrittr" ,r-magrittr)
- ("r-stringr" ,r-stringr)))
- (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
- (synopsis "Data and code behind the stories at FiveThirtyEight")
- (description "This R package provides access to the code and data sets
- published by the statistics blog FiveThirtyEight.")
- (license license:expat)))
- (define-public r-compquadform
- (package
- (name "r-compquadform")
- (version "1.4.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "CompQuadForm" version))
- (sha256
- (base32
- "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
- (properties `((upstream-name . "CompQuadForm")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
- (synopsis "Distribution function of quadratic forms in normal variables")
- (description
- "This package provides functions to compute the distribution function of
- quadratic forms in normal variables using Imhof's method, Davies's algorithm,
- Farebrother's algorithm or Liu et al.'s algorithm.")
- (license license:gpl2+)))
- (define-public r-cowplot
- (package
- (name "r-cowplot")
- (version "1.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "cowplot" version))
- (sha256
- (base32
- "0j7d5vhzdxn1blrsfafx5z8lhq122rp8230hp9czrpsnnhjydp67"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ggplot2" ,r-ggplot2)
- ("r-gtable" ,r-gtable)
- ("r-rlang" ,r-rlang)
- ("r-scales" ,r-scales)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/wilkelab/cowplot")
- (synopsis "Streamlined plot theme and plot annotations for ggplot2")
- (description
- "This package provides some helpful extensions and modifications to the
- ggplot2 package to combine multiple ggplot2 plots into one and label them with
- letters, as is often required for scientific publications.")
- (license license:gpl2)))
- (define-public r-mixtools
- (package
- (name "r-mixtools")
- (version "1.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "mixtools" version))
- (sha256
- (base32
- "08whic8hmmzi55b7azwj11l2x5r9s5qbyrv7s9jr08156vqkw0zg"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mass" ,r-mass)
- ("r-kernlab" ,r-kernlab)
- ("r-segmented" ,r-segmented)
- ("r-survival" ,r-survival)))
- (home-page "https://cran.r-project.org/web/packages/mixtools")
- (synopsis "Tools for analyzing finite mixture models")
- (description
- "This package provides a collection of R functions for analyzing finite
- mixture models.")
- (license license:gpl2+)))
- (define-public r-lars
- (package
- (name "r-lars")
- (version "1.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "lars" version))
- (sha256
- (base32
- "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
- (build-system r-build-system)
- (inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://web.stanford.edu/~hastie/Papers/LARS/")
- (synopsis "Least angle regression software")
- (description
- "Least Angle Regression (\"LAR\") is a model selection algorithm; a
- useful and less greedy version of traditional forward selection methods. A
- simple modification of the LAR algorithm implements Tibshirani's Lasso; the
- Lasso modification of LARS calculates the entire Lasso path of coefficients
- for a given problem at the cost of a single least squares fit. Another LARS
- modification efficiently implements epsilon Forward Stagewise linear
- regression.")
- (license license:gpl2)))
- (define-public r-fastica
- (package
- (name "r-fastica")
- (version "1.2-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fastICA" version))
- (sha256
- (base32
- "1zpijqcipm0aa3rxj0mys06lskqy4dbppjpxr1aby0j16y9ka8ij"))))
- (properties `((upstream-name . "fastICA")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/fastICA")
- (synopsis "FastICA algorithms to perform ICA and projection pursuit")
- (description
- "This package provides an implementation of the FastICA algorithm to
- perform @dfn{independent component analysis} (ICA) and projection pursuit.")
- ;; Any GPL version.
- (license license:gpl3+)))
- (define-public r-randomforest
- (package
- (name "r-randomforest")
- (version "4.6-14")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "randomForest" version))
- (sha256
- (base32
- "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
- (properties `((upstream-name . "randomForest")))
- (build-system r-build-system)
- (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
- (native-inputs
- `(("gfortran" ,gfortran)))
- (synopsis "Breiman and Cutler's random forests for classification and regression")
- (description
- "This package provides the Breiman and Cutler's random forests algorithm, based on a
- forest of trees using random inputs, for classification and regression.")
- (license license:gpl2+)))
- (define-public r-diptest
- (package
- (name "r-diptest")
- (version "0.76-0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "diptest" version))
- (sha256
- (base32
- "10629vwn6r2949jjrmj5slbb5v0vnm3w0v8mrl7ws68m2sxmx2jh"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/diptest")
- (synopsis "Hartigan's dip test statistic for unimodality")
- (description
- "This package computes Hartigan's dip test statistic for unimodality,
- multimodality and provides a test with simulation based p-values, where the
- original public code has been corrected.")
- (license license:gpl2+)))
- (define-public r-modeltools
- (package
- (name "r-modeltools")
- (version "0.2-23")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "modeltools" version))
- (sha256
- (base32
- "1vqh69256h344sbj5affm0kmc77dakrxp6442xfdnfd0y5d8sgkb"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/modeltools")
- (synopsis "Tools and classes for statistical models")
- (description
- "This package provides a collection of tools to deal with statistical
- models. The functionality is experimental and the user interface is likely
- to change in the future.")
- (license license:gpl2)))
- (define-public r-flexmix
- (package
- (name "r-flexmix")
- (version "2.3-17")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "flexmix" version))
- (sha256
- (base32
- "0jangf89174p0idh9afbicfiln2sz8jxc3bjc6n0j9036dw9n09n"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)
- ("r-modeltools" ,r-modeltools)
- ("r-nnet" ,r-nnet)))
- (home-page "https://cran.r-project.org/web/packages/flexmix")
- (synopsis "Flexible mixture modeling")
- (description
- "This package implements a general framework for finite mixtures of
- regression models using the EM algorithm. FlexMix provides the E-step and
- all data handling, while the M-step can be supplied by the user to easily
- define new models. Existing drivers implement mixtures of standard linear
- models, generalized linear models and model-based clustering.")
- (license license:gpl2+)))
- (define-public r-mclust
- (package
- (name "r-mclust")
- (version "5.4.7")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "mclust" version))
- (sha256
- (base32
- "08scl72llpinfijiyx14yqvmx8lma9jvh8h92v9ynnzfr9kadxa5"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)
- ("r-knitr" ,r-knitr)))
- (home-page "https://www.stat.washington.edu/mclust/")
- (synopsis "Gaussian mixture modelling for model-based clustering etc.")
- (description
- "This package provides Gaussian finite mixture models fitted via EM
- algorithm for model-based clustering, classification, and density estimation,
- including Bayesian regularization, dimension reduction for visualisation,
- and resampling-based inference.")
- (license license:gpl2+)))
- (define-public r-prabclus
- (package
- (name "r-prabclus")
- (version "2.3-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "prabclus" version))
- (sha256
- (base32
- "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mass" ,r-mass)
- ("r-mclust" ,r-mclust)))
- (home-page "https://cran.r-project.org/web/packages/prabclus")
- (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
- (description
- "This package provides distance-based parametric bootstrap tests for
- clustering with spatial neighborhood information. It implements some distance
- measures, clustering of presence-absence, abundance and multilocus genetical
- data for species delimitation, nearest neighbor based noise detection.")
- (license license:gpl2+)))
- (define-public r-deoptimr
- (package
- (name "r-deoptimr")
- (version "1.0-9")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "DEoptimR" version))
- (sha256
- (base32
- "04k5gi0a5hbm6znzvjaipbmkacp694krkqs38dkbxx1gymsallb1"))))
- (properties `((upstream-name . "DEoptimR")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/DEoptimR")
- (synopsis "Differential evolution optimization in pure R")
- (description
- "This package provides a differential evolution (DE) stochastic
- algorithms for global optimization of problems with and without constraints.
- The aim is to curate a collection of its state-of-the-art variants that (1) do
- not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
- can be efficiently implemented directly in the R language.")
- (license license:gpl2+)))
- (define-public r-robustbase
- (package
- (name "r-robustbase")
- (version "0.93-8")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "robustbase" version))
- (sha256
- (base32
- "16fmnk3p32mi70rkx89l1v4pry3gnrpy9jicnlfnk6lg1pwz5j8w"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (propagated-inputs
- `(("r-deoptimr" ,r-deoptimr)))
- (home-page "http://robustbase.r-forge.r-project.org/")
- (synopsis "Basic robust statistics")
- (description
- "This package analyzes data with robust methods such as
- regression methodology including model selections and multivariate statistics.")
- (license license:gpl2+)))
- (define-public r-pcapp
- (package
- (name "r-pcapp")
- (version "1.9-74")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "pcaPP" version))
- (sha256
- (base32
- "1dlrz5plb8b89vr3j6sn9jwryyhcwflqkiilxkybbr379m1pp0sh"))))
- (properties `((upstream-name . "pcaPP")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mvtnorm" ,r-mvtnorm)))
- (home-page "https://cran.r-project.org/web/packages/pcaPP")
- (synopsis "Robust PCA by projection pursuit")
- (description
- "This package provides functions for robust @dfn{principal component
- analysis} (PCA) by projection pursuit.")
- (license license:gpl3+)))
- (define-public r-rrcov
- (package
- (name "r-rrcov")
- (version "1.5-5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "rrcov" version))
- (sha256
- (base32
- "0ag6q16ajkqwj28dk9vp4xkvqw26fqqqdxnz38gpszilirahfzqz"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)
- ("r-mvtnorm" ,r-mvtnorm)
- ("r-pcapp" ,r-pcapp)
- ("r-robustbase" ,r-robustbase)))
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/rrcov")
- (synopsis "Scalable robust estimators with high breakdown Point")
- (description
- "This package provides an implementation of robust location and scatter
- estimation and robust multivariate analysis with high breakdown point.")
- (license license:gpl2+)))
- (define-public r-fit-models
- (package
- (name "r-fit-models")
- (version "0.64")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fit.models" version))
- (sha256
- (base32
- "1nk4x2q8cv79zcls61saf627ac0fci6jcrd6lmzk61asm2zhc27p"))))
- (properties `((upstream-name . "fit.models")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-lattice" ,r-lattice)))
- (home-page "https://cran.r-project.org/web/packages/fit.models")
- (synopsis "Compare fitted models")
- (description
- "The @code{fit.models} function and its associated methods (coefficients, print,
- summary, plot, etc.) were originally provided in the @code{robust} package to
- compare robustly and classically fitted model objects. The aim of the
- @code{fit.models} package is to separate this fitted model object comparison
- functionality from the robust package and to extend it to support fitting
- methods (e.g., classical, robust, Bayesian, regularized, etc.) more
- generally.")
- ;; Any version of the GPL
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-robust
- (package
- (name "r-robust")
- (version "0.5-0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "robust" version))
- (sha256
- (base32
- "1ks5scp8bnicl9j1r8yrmz668fjs6ifdmi540zw6d2ck500bbw42"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-fit-models" ,r-fit-models)
- ("r-lattice" ,r-lattice)
- ("r-mass" ,r-mass)
- ("r-robustbase" ,r-robustbase)
- ("r-rrcov" ,r-rrcov)))
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/robust")
- (synopsis "Port of the S+ \"Robust Library\"")
- (description
- "This package is a port of the S+ \"Robust Library\". It provides
- methods for robust statistics, notably for robust regression and robust
- multivariate analysis.")
- (license license:gpl2)))
- (define-public r-trimcluster
- (package
- (name "r-trimcluster")
- (version "0.1-5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "trimcluster" version))
- (sha256
- (base32
- "12siv8yx8dcavsz8jk96lwscbj257ar8jpaxksl2zb06987g4fcj"))))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/trimcluster")
- (synopsis "Cluster analysis with trimming")
- (description
- "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
- Matran (1997). This optimizes the k-means criterion under trimming a portion
- of the points.")
- ;; Any GPL version
- (license (list license:gpl2+ license:gpl3+))))
- (define-public r-fpc
- (package
- (name "r-fpc")
- (version "2.2-9")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fpc" version))
- (sha256
- (base32
- "0f7sfmpcycr9y7cy5gasyjm2ardxa62kglqms92mcr68jrp01c19"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-class" ,r-class)
- ("r-cluster" ,r-cluster)
- ("r-diptest" ,r-diptest)
- ("r-flexmix" ,r-flexmix)
- ("r-kernlab" ,r-kernlab)
- ("r-mass" ,r-mass)
- ("r-mclust" ,r-mclust)
- ("r-prabclus" ,r-prabclus)
- ("r-robustbase" ,r-robustbase)))
- (home-page "https://cran.r-project.org/web/packages/fpc")
- (synopsis "Flexible procedures for clustering")
- (description
- "This package provides various methods for clustering and cluster validation.
- For example, it provides fixed point clustering, linear regression clustering,
- clustering by merging Gaussian mixture components, as well as symmetric and
- asymmetric discriminant projections for visualisation of the separation of
- groupings.")
- (license license:gpl2+)))
- (define-public r-vgam
- (package
- (name "r-vgam")
- (version "1.1-5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "VGAM" version))
- (sha256
- (base32 "1fx123h4x5awzshv0m4jqbbllrdjfpslb2i8gl9phm1y1wahn69h"))))
- (properties `((upstream-name . "VGAM")))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
- (synopsis "Vector generalized linear and additive models")
- (description
- "This package is an implementation of about 6 major classes of statistical
- regression models. Currently only fixed-effects models are implemented, i.e.,
- no random-effects models. Many (150+) models and distributions are estimated
- by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
- VGLMs can be loosely thought of as multivariate generalised linear models.")
- (license license:gpl2+)))
- (define-public r-pbapply
- (package
- (name "r-pbapply")
- (version "1.4-3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "pbapply" version))
- (sha256
- (base32
- "08gb6c8p1r9z8wrfidj2dfn6irm43k6f4448d1d6nxmy6msjirlg"))))
- (build-system r-build-system)
- (home-page "https://github.com/psolymos/pbapply")
- (synopsis "Adding progress bar to apply functions")
- (description
- "This lightweight package that adds progress bar to vectorized R
- functions apply. The implementation can easily be added to functions where
- showing the progress is useful e.g. bootstrap.")
- (license license:gpl2)))
- (define-public r-minqa
- (package
- (name "r-minqa")
- (version "1.2.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "minqa" version))
- (sha256
- (base32
- "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)))
- (inputs
- `(("gfortran" ,gfortran)))
- (home-page "http://optimizer.r-forge.r-project.org")
- (synopsis "Derivative-free optimization algorithms by quadratic approximation")
- (description
- "This package provides a derivative-free optimization by quadratic approximation
- based on an interface to Fortran implementations by M. J. D. Powell.")
- (license license:gpl2)))
- (define-public r-rcppeigen
- (package
- (name "r-rcppeigen")
- (version "0.3.3.9.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "RcppEigen" version))
- (sha256
- (base32
- "0qp9gypar280lm84pc8w0fxw4jgwqygwi3qnl5sl52kpkcj8c14a"))))
- (properties `((upstream-name . "RcppEigen")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)
- ("r-matrix" ,r-matrix)))
- (home-page "http://eigen.tuxfamily.org")
- (synopsis "Rcpp integration for the Eigen templated linear algebra library")
- (description
- "This package provides an integration of Eigen in R using a C++ template
- library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
- It supports dense and sparse matrices on integer, floating point and complex numbers,
- decompositions of such matrices, and solutions of linear systems.")
- (license license:gpl2+)))
- (define-public r-modelmetrics
- (package
- (name "r-modelmetrics")
- (version "1.2.2.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "ModelMetrics" version))
- (sha256
- (base32
- "0mrlsw4c5y1vdsqynxr2dcvmhh5h37pnd71jw5a5djpbda9g21jy"))))
- (properties `((upstream-name . "ModelMetrics")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)
- ("r-data-table" ,r-data-table)))
- (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
- (synopsis "Rapid calculation of model metrics")
- (description
- "Written in C++ using @code{Rcpp}, this package provides a collection of
- metrics for evaluating models.")
- (license license:gpl2+)))
- (define-public r-matrixmodels
- (package
- (name "r-matrixmodels")
- (version "0.5-0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "MatrixModels" version))
- (sha256
- (base32
- "1va6i6bpkq71rzl9i4xgyc5x7qcksa3nfzihlaggf6aj30dayzx8"))))
- (properties `((upstream-name . "MatrixModels")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-matrix" ,r-matrix)))
- (home-page "https://cran.r-project.org/web/packages/MatrixModels")
- (synopsis "Modelling with sparse and dense matrices")
- (description
- "This package models with sparse and dense matrix matrices,
- using modular prediction and response module classes.")
- (license license:gpl2+)))
- (define-public r-quantreg
- (package
- (name "r-quantreg")
- (version "5.86")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "quantreg" version))
- (sha256
- (base32 "01fnp6ndh7npxj76xlynndacsgmcfr9kgh2waw0clx3mmwlwilbi"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (propagated-inputs
- `(("r-conquer" ,r-conquer)
- ("r-matrix" ,r-matrix)
- ("r-matrixmodels" ,r-matrixmodels)
- ("r-sparsem" ,r-sparsem)))
- (home-page "https://www.r-project.org")
- (synopsis "Quantile regression")
- (description
- "This package provides an estimation and inference methods for models
- of conditional quantiles: linear and nonlinear parametric and non-parametric
- models for conditional quantiles of a univariate response and several methods
- for handling censored survival data. Portfolio selection methods based on
- expected shortfall risk are also included.")
- (license license:gpl2+)))
- (define-public r-nloptr
- (package
- (name "r-nloptr")
- (version "1.2.2.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "nloptr" version))
- (sha256
- (base32
- "0whkilb85k4wixvr3k7rygfw1rcs1fs9h8c18kz4p3y1k9hsj3p8"))))
- (build-system r-build-system)
- (native-inputs
- `(("r-knitr" ,r-knitr) ; for building vignettes
- ("pkg-config" ,pkg-config)
- ("gfortran" ,gfortran)))
- (inputs
- `(("nlopt" ,nlopt)))
- (home-page "https://cran.r-project.org/web/packages/nloptr")
- (synopsis "R interface to NLopt")
- (description
- "This package is interface to NLopt, a library for nonlinear
- optimization. NLopt is a library for nonlinear optimization, providing a
- common interface for a number of different free optimization routines
- available online as well as original implementations of various other
- algorithms.")
- (license license:lgpl3)))
- (define-public r-lme4
- (package
- (name "r-lme4")
- (version "1.1-27.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "lme4" version))
- (sha256
- (base32
- "1i9f8kl2qj48j75dbn1vmwxz1xlbikdr7v2yq542w6dq74z8gyi5"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-boot" ,r-boot)
- ("r-lattice" ,r-lattice)
- ("r-mass" ,r-mass)
- ("r-matrix" ,r-matrix)
- ("r-minqa" ,r-minqa)
- ("r-nloptr" ,r-nloptr)
- ("r-nlme" ,r-nlme)
- ("r-rcpp" ,r-rcpp)
- ("r-rcppeigen" ,r-rcppeigen)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/lme4")
- (synopsis "Linear mixed-effects models using eigen and S4")
- (description
- "This package provides fit linear and generalized linear mixed-effects
- models. The models and their components are represented using S4 classes and
- methods. The core computational algorithms are implemented using the Eigen
- C++ library for numerical linear algebra and RcppEigen glue.")
- (license license:gpl2+)))
- (define-public r-pbkrtest
- (package
- (name "r-pbkrtest")
- (version "0.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "pbkrtest" version))
- (sha256
- (base32
- "1if7msv9i7jhg1as1f7m81a95dnwhwj3yfs24bqr0f6r0ch4b8xj"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-broom" ,r-broom)
- ("r-dplyr" ,r-dplyr)
- ("r-lme4" ,r-lme4)
- ("r-magrittr" ,r-magrittr)
- ("r-mass" ,r-mass)
- ("r-matrix" ,r-matrix)
- ("r-numderiv" ,r-numderiv)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://people.math.aau.dk/~sorenh/software/pbkrtest/")
- (synopsis "Methods for linear mixed model comparison")
- (description
- "This package implements a parametric bootstrap test and a Kenward Roger
- modification of F-tests for linear mixed effects models and a parametric
- bootstrap test for generalized linear mixed models.")
- (license license:gpl2+)))
- (define-public r-cardata
- (package
- (name "r-cardata")
- (version "3.0-4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "carData" version))
- (sha256
- (base32 "09270j39n4jpswxqps20b12zaj8dz4rrqpk2l2j5bnf1xzizb9nd"))))
- (properties `((upstream-name . "carData")))
- (build-system r-build-system)
- (home-page "https://r-forge.r-project.org/projects/car/")
- (synopsis "Data Sets for the book Companion to Applied Regression")
- (description
- "This package provides datasets to accompany J. Fox and S. Weisberg, An R
- Companion to Applied Regression, Third Edition, Sage.")
- (license license:gpl2+)))
- (define-public r-car
- (package
- (name "r-car")
- (version "3.0-11")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "car" version))
- (sha256
- (base32 "0b2l35656bi75hfvnjhzhlnrnbpjn0vv7nvny8gn65gm0rr94b5k"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-abind" ,r-abind)
- ("r-cardata" ,r-cardata)
- ("r-lme4" ,r-lme4)
- ("r-maptools" ,r-maptools)
- ("r-mass" ,r-mass)
- ("r-mgcv" ,r-mgcv)
- ("r-nlme" ,r-nlme)
- ("r-nnet" ,r-nnet)
- ("r-pbkrtest" ,r-pbkrtest)
- ("r-quantreg" ,r-quantreg)
- ("r-rio" ,r-rio)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://r-forge.r-project.org/projects/car/")
- (synopsis "Companion to applied regression")
- (description
- "This package provides functions and datasets from book Companion
- to Applied regression, Second Edition, Sage, 2011.")
- (license license:gpl2+)))
- (define-public r-rcppprogress
- (package
- (name "r-rcppprogress")
- (version "0.4.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "RcppProgress" version))
- (sha256
- (base32
- "0j2b37gwjpgmrnr00srdzm751hzlpsjb54ph63xxmcdfnwhlnqmi"))))
- (properties `((upstream-name . "RcppProgress")))
- (build-system r-build-system)
- (home-page "https://github.com/kforner/rcpp_progress")
- (synopsis "Interruptible progress bar for C++ in R packages")
- (description
- "This package displays a progress bar in the R console for long running
- computations taking place in C++ code, and support for interrupting those computations
- even in multithreaded code, typically using OpenMP.")
- (license license:gpl3+)))
- (define-public r-tmvnsim
- (package
- (name "r-tmvnsim")
- (version "1.0-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tmvnsim" version))
- (sha256
- (base32
- "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
- (properties `((upstream-name . "tmvnsim")))
- (build-system r-build-system)
- (native-inputs `(("gfortran" ,gfortran)))
- (home-page "https://www.r-project.org")
- (synopsis "Truncated multivariate normal simulation")
- (description
- "This package implements importance sampling from the truncated
- multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
- simulator. Unlike Gibbs sampling which can get stuck in one truncation
- sub-region depending on initial values, this package allows truncation based
- on disjoint regions that are created by truncation of absolute values. The
- GHK algorithm uses simple Cholesky transformation followed by recursive
- simulation of univariate truncated normals hence there are also no convergence
- issues. Importance sample is returned along with sampling weights, based on
- which, one can calculate integrals over truncated regions for multivariate
- normals.")
- (license license:gpl2)))
- (define-public r-mnormt
- (package
- (name "r-mnormt")
- (version "2.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "mnormt" version))
- (sha256
- (base32
- "0d7ka4l4fl1wi77r2r81dc91n6cbj2xrb3lsizz5y0ziscva0sjw"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-tmvnsim" ,r-tmvnsim)))
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
- (synopsis "Multivariate normal and \"t\" distributions")
- (description
- "This package provides functions for computing the density and the
- distribution function of multivariate normal and \"t\" random variables, and
- for generating random vectors sampled from these distributions. Probabilities
- are computed via non-Monte Carlo methods.")
- (license license:gpl2+)))
- (define-public r-numderiv
- (package
- (name "r-numderiv")
- (version "2016.8-1.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "numDeriv" version))
- (sha256
- (base32
- "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
- (properties `((upstream-name . "numDeriv")))
- (build-system r-build-system)
- (home-page "https://cran.r-project.org/web/packages/numDeriv")
- (synopsis "Accurate numerical derivatives")
- (description
- "This package provides methods for calculating accurate numerical
- first and second order derivatives.")
- (license license:gpl2)))
- (define-public r-sn
- (package
- (name "r-sn")
- (version "2.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "sn" version))
- (sha256
- (base32
- "0sl8qzy9isy5fq8qxh1fg5285jzgy895nbgz8gdq5d0r6zdwrmmb"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-mnormt" ,r-mnormt)
- ("r-numderiv" ,r-numderiv)
- ("r-quantreg" ,r-quantreg)))
- (home-page "http://azzalini.stat.unipd.it/SN")
- (synopsis "The skew-normal and skew-t distributions")
- (description
- "This package provides functionalities to build and manipulate
- probability distributions of the skew-normal family and some related
- ones, notably the skew-t family, and provides related statistical
- methods for data fitting and diagnostics, in the univariate and the
- multivariate case.")
- (license license:gpl2+)))
- (define-public r-tclust
- (package
- (name "r-tclust")
- (version "1.4-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tclust" version))
- (sha256
- (base32
- "1nb5iky4kc832627jf28lzj19wrvgwg5da6fyl3kyf0npmyx1p4m"))))
- (build-system r-build-system)
- ;; These are all suggested packages, not build dependencies.
- (propagated-inputs
- `(("r-cluster" ,r-cluster)
- ("r-mclust" ,r-mclust)
- ("r-mvtnorm" ,r-mvtnorm)
- ("r-sn" ,r-sn)))
- (home-page "https://cran.r-project.org/web/packages/tclust")
- (synopsis "Robust trimmed clustering")
- (description
- "This package implements different robust clustering
- algorithms (@code{tclust}) based on trimming and including some graphical
- diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
- (license license:gpl3)))
- (define-public r-ranger
- (package
- (name "r-ranger")
- (version "0.13.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "ranger" version))
- (sha256
- (base32
- "02idcc6zbdz4wsi1mcwh7qyhmlbwvnzxwkdvvppxw7n2rh54z4v0"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)
- ("r-matrix" ,r-matrix)
- ("r-rcppeigen" ,r-rcppeigen)))
- (home-page "https://github.com/imbs-hl/ranger")
- (synopsis "Fast implementation of random forests")
- (description
- "This package provides a fast implementation of Random Forests,
- particularly suited for high dimensional data. Ensembles of classification,
- regression, survival and probability prediction trees are supported. Data from
- genome-wide association studies can be analyzed efficiently.")
- (license license:gpl3)))
- (define-public r-tsne
- (package
- (name "r-tsne")
- (version "0.1-3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tsne" version))
- (sha256
- (base32
- "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
- (build-system r-build-system)
- (home-page "https://github.com/jdonaldson/rtsne/")
- (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
- (description
- "This package provides a pure R implementation of the t-SNE algorithm.")
- (license license:gpl2+)))
- (define-public r-cairo
- (package
- (name "r-cairo")
- (version "1.5-12.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "Cairo" version))
- (sha256
- (base32
- "14hgz5wmnhlbqkd1g662n1agmjnlj3pq69gfng1vb0ivr02l2lnx"))))
- (properties `((upstream-name . "Cairo")))
- (build-system r-build-system)
- (inputs
- `(("cairo" ,cairo)
- ("libxt" ,libxt)
- ("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)))
- (home-page "https://www.rforge.net/Cairo/")
- (synopsis "R graphics device using Cairo graphics library")
- (description
- "This package provides a Cairo graphics device that can be use to
- create high-quality vector (PDF, PostScript and SVG) and bitmap
- output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
- and Win32). Since it uses the same back-end for all output, copying
- across formats is WYSIWYG. Files are created without the dependence
- on X11 or other external programs. This device supports alpha
- channel (semi-transparent drawing) and resulting images can contain
- transparent and semi-transparent regions. It is ideal for use in
- server environments (file output) and as a replacement for other
- devices that don't have Cairo's capabilities such as alpha support or
- anti-aliasing. Backends are modular such that any subset of backends
- is supported.")
- (license license:gpl2)))
- (define-public r-lubridate
- (package
- (name "r-lubridate")
- (version "1.7.10")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "lubridate" version))
- (sha256
- (base32
- "1s653d6rnpf9bkynxmbq4fdjdcz7r9ma19aph8f5y9ck70his4hm"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-generics" ,r-generics)
- ("r-rcpp" ,r-rcpp)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://cran.r-project.org/web/packages/lubridate/")
- (synopsis "Make dealing with dates a little easier")
- (description
- "This package provides functions to work with date-times and time-spans:
- fast and user friendly parsing of date-time data, extraction and updating of
- components of a date-time (years, months, days, hours, minutes, and seconds),
- algebraic manipulation on date-time and time-span objects. The @code{lubridate}
- package has a consistent and memorable syntax that makes working with dates
- easy and fun.")
- (license license:gpl2)))
- (define-public r-fdrtool
- (package
- (name "r-fdrtool")
- (version "1.2.16")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "fdrtool" version))
- (sha256
- (base32
- "1aap4k1l3a9m43374xq688mqnzkgqx8l021li262r3h1xr4adpp7"))))
- (build-system r-build-system)
- (home-page "http://strimmerlab.org/software/fdrtool/")
- (synopsis "Estimation of false discovery rates and higher criticism")
- (description
- "This package provides tools to estimate tail area-based false discovery
- rates as well as local false discovery rates for a variety of null
- models (p-values, z-scores, correlation coefficients, t-scores). The
- proportion of null values and the parameters of the null distribution are
- adaptively estimated from the data. In addition, the package contains
- functions for non-parametric density estimation (Grenander estimator), for
- monotone regression (isotonic regression and antitonic regression with
- weights), for computing the @dfn{greatest convex minorant} (GCM) and the
- @dfn{least concave majorant} (LCM), for the half-normal and correlation
- distributions, and for computing empirical @dfn{higher criticism} (HC) scores
- and the corresponding decision threshold.")
- (license license:gpl3+)))
- (define-public r-forcats
- (package
- (name "r-forcats")
- (version "0.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "forcats" version))
- (sha256
- (base32
- "12d2nv2w15085jscgidmjdnr1ryymciflcmal6ldmgp2fkl9dyy4"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-ellipsis" ,r-ellipsis)
- ("r-magrittr" ,r-magrittr)
- ("r-tibble" ,r-tibble)
- ("r-rlang" ,r-rlang)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://forcats.tidyverse.org")
- (synopsis "Tools for working with factors")
- (description "This package provides helpers for reordering factor
- levels (including moving specified levels to front, ordering by first
- appearance, reversing, and randomly shuffling), and tools for modifying factor
- levels (including collapsing rare levels into other, \"anonymizing\", and
- manually \"recoding\").")
- (license license:gpl3)))
- (define-public r-tgstat
- (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
- (revision "1"))
- (package
- (name "r-tgstat")
- (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
- (source
- (origin
- (method hg-fetch)
- (uri (hg-reference
- (url "https://bitbucket.org/tanaylab/tgstat")
- (changeset changeset)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-isnan
- (lambda _
- (substitute* "src/tgstat.h"
- (("#define isnan ::isnan")
- "#define isnan std::isnan"))
- #t)))))
- (propagated-inputs
- `(("r-rcpp" ,r-rcpp)))
- (home-page "https://bitbucket.org/tanaylab/tgstat/")
- (synopsis "Tanay's group statistical utilities")
- (description
- "The goal of tgstat is to provide fast and efficient statistical
- tools.")
- (license license:gpl2))))
- (define-public r-tgconfig
- (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
- (revision "1"))
- (package
- (name "r-tgconfig")
- (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
- (source
- (origin
- (method hg-fetch)
- (uri (hg-reference
- (url "https://bitbucket.org/tanaylab/tgconfig")
- (changeset changeset)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-yaml" ,r-yaml)))
- (home-page "https://bitbucket.org/tanaylab/tgconfig/")
- (synopsis "Infrastructure for managing package parameters")
- (description
- "The goal of tgconfig is to provide infrastructure for managing package
- parameters.")
- (license license:gpl3))))
- (define-public r-catterplots
- (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
- (revision "3"))
- (package
- (name "r-catterplots")
- (version (git-version "0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Gibbsdavidl/CatterPlots")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-png" ,r-png)))
- (home-page "https://github.com/Gibbsdavidl/CatterPlots")
- (synopsis "Scatter plots with cat shaped points")
- (description "Did you ever wish you could make scatter plots with cat
- shaped points? Now you can!")
- (license license:asl2.0))))
- (define-public r-colorout
- (package
- (name "r-colorout")
- (version "1.2-2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jalvesaq/colorout")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
- (build-system r-build-system)
- (home-page "https://github.com/jalvesaq/colorout")
- (synopsis "Colorize output in the R REPL")
- (description "@code{colorout} is an R package that colorizes R output when
- running in terminal emulator.
- R STDOUT is parsed and numbers, negative numbers, dates in the standard
- format, strings, and R constants are identified and wrapped by special ANSI
- scape codes that are interpreted by terminal emulators as commands to colorize
- the output. R STDERR is also parsed to identify the expressions warning and
- error and their translations to many languages. If these expressions are
- found, the output is colorized accordingly; otherwise, it is colorized as
- STDERROR (blue, by default).
- You can customize the colors according to your taste, guided by the color
- table made by the command @code{show256Colors()}. You can also set the colors
- to any arbitrary string. In this case, it is up to you to set valid values.")
- (license license:gpl3+)))
- (define-public python-rpy2
- (package
- (name "python-rpy2")
- (version "3.4.5")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "rpy2" version))
- (sha256
- (base32
- "1cysswxr5glrdblyl2zsmywcj7xhxn3wmyihxinrz9gm8gmaacax"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (let ((cwd (getcwd)))
- (setenv "TZ" "UTC"))
- ;; test_vector_complex has issues when run in our environment.
- (invoke "pytest" "-v" "rpy2/tests/"
- "-k" "not test_vector_complex"))))))
- (propagated-inputs
- `(("python-cffi" ,python-cffi)
- ("python-six" ,python-six)
- ("python-jinja2" ,python-jinja2)
- ("python-numpy" ,python-numpy)
- ("python-pandas" ,python-pandas)
- ("python-pytz" ,python-pytz)
- ("python-ipython" ,python-ipython)
- ("python-tzlocal" ,python-tzlocal)))
- (inputs
- `(("readline" ,readline)
- ("icu4c" ,icu4c)
- ("pcre" ,pcre)
- ("r-minimal" ,r-minimal)
- ("r-survival" ,r-survival)
- ("r-ggplot2" ,r-ggplot2)
- ("r-rsqlite" ,r-rsqlite)
- ("r-dplyr" ,r-dplyr)
- ("r-dbplyr" ,r-dbplyr)
- ("python-numpy" ,python-numpy)))
- (native-inputs
- `(("zlib" ,zlib)
- ("python-pytest" ,python-pytest)))
- (home-page "https://rpy2.github.io")
- (synopsis "Python interface to the R language")
- (description "rpy2 is a redesign and rewrite of rpy. It is providing a
- low-level interface to R from Python, a proposed high-level interface,
- including wrappers to graphical libraries, as well as R-like structures and
- functions.")
- ;; Any of these licenses can be picked for the R interface. The whole
- ;; project is released under GPLv2+ according to the license declaration
- ;; in "setup.py".
- (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+))))
- (define-public java-jdistlib
- (package
- (name "java-jdistlib")
- (version "0.4.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
- version "-src.jar"))
- (sha256
- (base32
- "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
- (build-system ant-build-system)
- (arguments
- `(#:jar-name "jdistlib.jar"
- #:jdk ,icedtea-8
- #:tests? #f ; no dedicated test directory
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-broken-encoding
- (lambda _
- (with-fluids ((%default-port-encoding "ISO-8859-1"))
- (substitute* "src/jdistlib/Beta.java"
- (("Scheff.+-Tukey") "Scheffe-Tukey")))
- #t)))))
- (propagated-inputs
- `(("java-jtransforms" ,java-jtransforms)))
- (native-inputs
- `(("java-junit" ,java-junit)))
- (home-page "http://jdistlib.sourceforge.net/")
- (synopsis "Java library of statistical distributions")
- (description "JDistlib is the Java Statistical Distribution Library, a
- Java package that provides routines for various statistical distributions.")
- ;; The files that were translated from R code are under GPLv2+; some files
- ;; are under the GPLv3, which is a mistake. The author confirmed in an
- ;; email that this whole project should be under GPLv2+.
- (license license:gpl2+)))
- (define-public emacs-ess
- ;; Latest release is old. This is not the latest commit either due to bug
- ;; reported here: <https://github.com/emacs-ess/ESS/issues/987>.
- (let ((commit "24da603184ce39246611dd5b8602e769d7ebd5bf")
- (version "18.10.2")
- (revision "0"))
- (package
- (name "emacs-ess")
- (version (git-version version revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emacs-ess/ESS")
- (commit commit)))
- (sha256
- (base32 "0j98lv07nzwzd54d4dgcfz01wy5gj48m0mnirxzh5r45ik2myh1r"))
- (file-name (git-file-name name version))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Stop ESS from trying to bundle an external julia-mode.el.
- (substitute* "lisp/Makefile"
- ((" \\$\\(JULIAS)") "")
- (("\ttest.*julia-mode.*\\.el") ""))
- ;; Only build docs in info format.
- (substitute* "doc/Makefile"
- (("all : info text")
- "all : info")
- (("install: install-info install-other-docs")
- "install: install-info"))
- ;; Stop install-info from trying to update the info directory.
- (substitute* "doc/Makefile"
- ((".*/dir.*") ""))
- ;; Fix r-help-mode test.
- (substitute* "test/ess-test-r.el"
- (("\\(equal ess-help-object \"plot.default\")") "t"))
- ;; Avoid generating ess-autoloads.el twice.
- (substitute* "Makefile"
- (("all: lisp doc etc autoloads")
- "all: lisp doc etc"))
- ;; Install to correct directories.
- (substitute* "Makefile"
- (("mkdir -p \\$\\(ESSDESTDIR)")
- "$(MAKE) -C lisp install; $(MAKE) -C doc install")
- (("\\$\\(INSTALL) -R \\./\\* \\$\\(ESSDESTDIR)/")
- "$(MAKE) -C etc install"))
- #t))))
- (build-system gnu-build-system)
- (arguments
- (let ((base-directory "/share/emacs/site-lisp"))
- `(#:make-flags (list (string-append "PREFIX=" %output)
- (string-append "ETCDIR=" %output
- ,base-directory "/etc")
- (string-append "LISPDIR=" %output
- ,base-directory)
- (string-append "INFODIR=" %output
- "/share/info"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'check
- (lambda _ (invoke "make" "test")))))))
- (native-inputs
- `(("perl" ,perl)
- ("r-roxygen2" ,r-roxygen2)
- ("texinfo" ,texinfo)))
- (inputs
- `(("emacs" ,emacs-minimal)
- ("r-minimal" ,r-minimal)))
- (propagated-inputs
- `(("emacs-julia-mode" ,emacs-julia-mode)))
- (home-page "https://ess.r-project.org/")
- (synopsis "Emacs mode for statistical analysis programs")
- (description
- "Emacs Speaks Statistics (ESS) is an add-on package for GNU Emacs. It
- is designed to support editing of scripts and interaction with various
- statistical analysis programs such as R, Julia, and JAGS.")
- (license license:gpl3+))))
- (define-public emacs-poly-r
- (package
- (name "emacs-poly-r")
- (version "0.2.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/polymode/poly-R")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0a4wx73jkngw5nbq1fa4jfhba6bsmyn6vnsf887x3xhb5v3ykhsg"))))
- (build-system emacs-build-system)
- (propagated-inputs
- `(("emacs-ess" ,emacs-ess)
- ("emacs-poly-noweb" ,emacs-poly-noweb)
- ("emacs-polymode-markdown" ,emacs-polymode-markdown)
- ("emacs-polymode" ,emacs-polymode)))
- (properties '((upstream-name . "poly-R")))
- (home-page "https://github.com/polymode/poly-markdown")
- (synopsis "Polymodes for the R language")
- (description
- "This package provides a number of polymodes for working with mixed R
- files, including Rmarkdown files.")
- (license license:gpl3+)))
- (define-public readstat
- (package
- (name "readstat")
- (version "1.1.5")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/WizardMac/ReadStat")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "00sdmaq0qzp6kyv53fpfi6jf3iv4pd0ap0gmw3mbfip52bbnl55w"))))
- (build-system gnu-build-system)
- (native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gettext" ,gnu-gettext)
- ("libtool" ,libtool)))
- (inputs
- `(("zlib" ,zlib))) ; libz
- (synopsis "Convert SAS, Stata, and SPSS files")
- (description "Command-line tool and C library for reading files from
- popular stats packages like SAS, Stata and SPSS.")
- (home-page "https://github.com/WizardMac/ReadStat")
- (license license:expat)))
- (define-public r-quantpsyc
- (package
- (name "r-quantpsyc")
- (version "1.5")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "QuantPsyc" version))
- (sha256
- (base32
- "1i9bh88r8zxndzjqsj14qw64gnvm5a9kvhjhzk3qsrvl3qzjgh93"))))
- (properties `((upstream-name . "QuantPsyc")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-boot" ,r-boot) ("r-mass" ,r-mass)))
- (home-page "https://cran.r-project.org/web/packages/QuantPsyc/")
- (synopsis "Quantitative Psychology Tools")
- (description
- "Contains functions useful for data screening, testing moderation,
- mediation and estimating power.")
- (license license:gpl2+)))
- (define-public r-clubsandwich
- (package
- (name "r-clubsandwich")
- (version "0.5.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "clubSandwich" version))
- (sha256
- (base32
- "0jazgka18bb5n58d5sn94q7rc9sac82qrpl2i5b4rkx9q2pb39cn"))))
- (properties `((upstream-name . "clubSandwich")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-sandwich" ,r-sandwich)))
- (native-inputs `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/jepusto/clubSandwich")
- (synopsis "Cluster-Robust (Sandwich) Variance Estimators with Small-Sample
- Corrections")
- (description
- "Provides several cluster-robust variance estimators (i.e.,
- sandwich estimators) for ordinary and weighted least squares linear regression
- models, including the bias-reduced linearization estimator introduced by Bell
- and McCaffrey (2002)
- @url{http://www.statcan.gc.ca/pub/12-001-x/2002002/article/9058-eng.pdf} and
- developed further by Pustejovsky and Tipton (2017)
- @url{doi:10.1080/07350015.2016.1247004}. The package includes functions for estimating
- the variance- covariance matrix and for testing single- and multiple-
- contrast hypotheses based on Wald test statistics. Tests of single regression
- coefficients use Satterthwaite or saddle-point corrections. Tests of multiple-
- contrast hypotheses use an approximation to Hotelling's T-squared distribution.
- Methods are provided for a variety of fitted models, including @code{lm()} and
- @code{mlm} objects, @code{glm()}, ivreg (from package @code{AER}), @code{plm()}
- (from package @code{plm}), @code{gls()} and @code{lme()} (from @code{nlme}),
- @code{robu()} (from @code{robumeta}), and @code{rma.uni()} and @code{rma.mv()}
- (from @code{metafor}).")
- (license license:gpl3)))
- (define-public r-puniform
- (package
- (name "r-puniform")
- (version "0.2.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "puniform" version))
- (sha256
- (base32
- "0v2977y9cwjx74xk0ig745g09wn7nrcsrg4f6v315sglsm18iaa8"))))
- (properties `((upstream-name . "puniform")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-adgoftest" ,r-adgoftest)
- ("r-metafor" ,r-metafor)
- ("r-rcpp" ,r-rcpp)
- ("r-rcpparmadillo" ,r-rcpparmadillo)))
- (home-page
- "https://github.com/RobbievanAert/puniform")
- (synopsis
- "Meta-Analysis Methods Correcting for Publication Bias")
- (description
- "This package provides meta-analysis methods that correct for publication
- bias and outcome reporting bias. Four methods and a visual tool are currently
- included in the package.
- @enumerate
- @item The p-uniform method as described in van Assen, van Aert, and Wicherts
- (2015) @url{doi:10.1037/met0000025} can be used for estimating the average
- effect size, testing the null hypothesis of no effect, and testing for
- publication bias using only the statistically significant effect sizes of
- primary studies.
- @item The p-uniform* method as described in van Aert and van Assen (2019)
- @url{doi:10.31222/osf.io/zqjr9}. This method is an extension of the p-uniform
- method that allows for estimation of the average effect size and the
- between-study variance in a meta-analysis, and uses both the statistically
- significant and nonsignificant effect sizes.
- @item The hybrid method as described in van Aert and van Assen (2017)
- @url{doi:10.3758/s13428-017-0967-6}. The hybrid method is a meta-analysis
- method for combining an original study and replication and while taking into
- account statistical significance of the original study. The p-uniform and
- hybrid method are based on the statistical theory that the distribution of
- p-values is uniform conditional on the population effect size.
- @item
- The fourth method in the package is the Snapshot Bayesian Hybrid Meta-Analysis
- Method as described in van Aert and van Assen (2018)
- @url{doi:10.1371/journal.pone.0175302}. This method computes posterior
- probabilities for four true effect sizes (no, small, medium, and large) based
- on an original study and replication while taking into account publication bias
- in the original study. The method can also be used for computing the required
- sample size of the replication akin to power analysis in null hypothesis
- significance testing.
- @end enumerate
- The meta-plot is a visual tool for meta-analysis that
- provides information on the primary studies in the meta-analysis, the results
- of the meta-analysis, and characteristics of the research on the effect under
- study (van Assen and others, 2020).
- Helper functions to apply the Correcting for Outcome Reporting Bias (CORB)
- method to correct for outcome reporting bias in a meta-analysis (van Aert &
- Wicherts, 2020).")
- (license license:gpl2+)))
- (define-public r-esc
- (package
- (name "r-esc")
- (version "0.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "esc" version))
- (sha256
- (base32
- "0gns7gz55p6pha05413r3hlvd7f2v1amxkg13d197mab1ypqic7q"))))
- (properties `((upstream-name . "esc")))
- (build-system r-build-system)
- (home-page "https://strengejacke.github.io/esc/")
- (synopsis
- "Effect Size Computation for Meta Analysis")
- (description
- "Implementation of the web-based
- @url{http://www.campbellcollaboration.org/escalc/html/EffectSizeCalculator-Home.php,'Practical
- Meta-Analysis Effect Size Calculator'} from David B. Wilson in R. Based on the
- input, the effect size can be returned as standardized mean difference, Cohen's
- f, Hedges' g, Pearson's r or Fisher's transformation z, odds ratio or log odds,
- or eta squared effect size.")
- (license license:gpl3)))
- (define-public r-kknn
- (package
- (name "r-kknn")
- (version "1.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "kknn" version))
- (sha256
- (base32
- "1nzkg3dxaiqp87p56wm895qx5xn86hv5hjr73qvl1yiaxiq0x112"))))
- (properties `((upstream-name . "kknn")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-igraph" ,r-igraph) ("r-matrix" ,r-matrix)))
- (home-page "https://github.com/KlausVigo/kknn")
- (synopsis "Weighted k-Nearest Neighbors")
- (description
- "Weighted k-Nearest Neighbors for Classification, Regression and Clustering.")
- (license license:gpl2+)))
- (define-public r-logspline
- (package
- (name "r-logspline")
- (version "2.1.16")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "logspline" version))
- (sha256
- (base32
- "12hkdi77vkic05p2vhap025xdcg1n53ywm239v18713pihdlj63l"))))
- (properties `((upstream-name . "logspline")))
- (build-system r-build-system)
- (native-inputs `(("gfortran" ,gfortran)))
- (home-page
- "https://cran.r-project.org/web/packages/logspline/")
- (synopsis
- "Routines for Logspline Density Estimation")
- (description
- "Contains routines for logspline density estimation. The function
- @code{oldlogspline()} uses the same algorithm as the logspline package version
- 1.0.x; i.e. the Kooperberg and Stone (1992) algorithm (with an improved
- interface). The recommended routine @code{logspline()} uses an algorithm from
- @url{doi:10.1214/aos/1031594728,Stone et al (1997)}.")
- (license license:asl2.0)))
- (define-public r-effects
- (package
- (name "r-effects")
- (version "4.2-0")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "effects" version))
- (sha256
- (base32
- "0iks79rd4knrd81x4kvcpgpclr69l0m0v6sfla8k3wzkcnydycv8"))))
- (properties `((upstream-name . "effects")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-cardata" ,r-cardata)
- ("r-colorspace" ,r-colorspace)
- ("r-estimability" ,r-estimability)
- ("r-insight" ,r-insight)
- ("r-lattice" ,r-lattice)
- ("r-lme4" ,r-lme4)
- ("r-nnet" ,r-nnet)
- ("r-survey" ,r-survey)))
- (native-inputs
- `(("r-knitr" ,r-knitr)
- ("r-car", r-car)))
- (home-page "https://www.r-project.org")
- (synopsis
- "Effect Displays for Linear, Generalized Linear, and Other Models")
- (description
- "Graphical and tabular effect displays, e.g., of interactions, for
- various statistical models with linear predictors.")
- (license license:gpl2+)))
- (define-public r-bayesfactor
- (package
- (name "r-bayesfactor")
- (version "0.9.12-4.2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "BayesFactor" version))
- (sha256
- (base32
- "1z083v7is21gm0a458jm5ph3xfdm7mh29a6sg2r1njq82f8x3s3g"))))
- (properties `((upstream-name . "BayesFactor")))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-coda" ,r-coda)
- ("r-gtools" ,r-gtools)
- ("r-hypergeo" ,r-hypergeo)
- ("r-matrix" ,r-matrix)
- ("r-matrixmodels" ,r-matrixmodels)
- ("r-mvtnorm" ,r-mvtnorm)
- ("r-pbapply" ,r-pbapply)
- ("r-rcpp" ,r-rcpp)
- ("r-rcppeigen" ,r-rcppeigen)
- ("r-stringr" ,r-stringr)))
- (native-inputs `(("r-knitr" ,r-knitr)))
- (home-page
- "https://richarddmorey.github.io/BayesFactor/")
- (synopsis
- "Computation of Bayes Factors for Common Designs")
- (description
- "This package provides a suite of functions for computing various Bayes
- factors for simple designs, including contingency tables, one- and two-sample
- designs, one-way designs, general ANOVA designs, and linear regression.")
- (license license:gpl2)))
- (define-public r-norm
- (package
- (name "r-norm")
- (version "1.0-9.5")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "norm" version))
- (sha256
- (base32
- "01j1h412yfjx5r4dd0w8rhlf55997spgb6zd6pawy19rgw0byp1h"))))
- (build-system r-build-system)
- (native-inputs
- `(("gfortran" ,gfortran)))
- (home-page "https://cran.r-project.org/web/packages/norm/")
- (synopsis "Analysis of multivariate normal datasets with missing values")
- (description "Multiple imputation of multivariate continuous data under a
- normal model.")
- ;; Custom license, see https://cran.r-project.org/web/packages/norm/LICENSE.
- (license (license:non-copyleft "file://LICENSE"))))
- (define-public r-naniar
- (package
- (name "r-naniar")
- (version "0.6.1")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "naniar" version))
- (sha256
- (base32
- "0l3l2x85v3srilww483kpgp4zlwixyml257b0cqly8kcpwawlinm"))))
- (build-system r-build-system)
- (propagated-inputs
- `(("r-dplyr" ,r-dplyr)
- ("r-norm" ,r-norm)
- ("r-forcats" ,r-forcats)
- ("r-ggplot2" ,r-ggplot2)
- ("r-glue" ,r-glue)
- ("r-magrittr" ,r-magrittr)
- ("r-purrr" ,r-purrr)
- ("r-rlang" ,r-rlang)
- ("r-tibble" ,r-tibble)
- ("r-tidyr" ,r-tidyr)
- ("r-upsetr" ,r-upsetr)
- ("r-viridis" ,r-viridis)
- ("r-visdat" ,r-visdat)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/njtierney/naniar")
- (synopsis
- "Data structures, summaries, and visualisations for missing data")
- (description
- "Missing values are ubiquitous in data and need to be explored and
- handled in the initial stages of analysis. The package provides data structures
- and functions that facilitate the plotting of missing values and examination of
- imputations. This allows missing data dependencies to be explored with minimal
- deviation from the common work patterns of @code{ggplot2} and tidy data.")
- (license license:expat)))
- (define-public r-glinternet
- (package
- (name "r-glinternet")
- (version "1.0.11")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "glinternet" version))
- (sha256
- (base32
- "1lqph2hj0h826gcfyk290ahkfalpnrd6jzymm60xi2qxia14lzk5"))))
- (build-system r-build-system)
- (home-page "http://web.stanford.edu/~hastie/Papers/glinternet_jcgs.pdf")
- (synopsis "Learning interactions via hierarchical group-lasso regularization")
- (description "Group-Lasso INTERaction-NET. Fits linear pairwise-interaction
- models that satisfy strong hierarchy: if an interaction coefficient is estimated
- to be nonzero, then its two associated main effects also have nonzero estimated
- coefficients. Accommodates categorical variables (factors) with arbitrary
- numbers of levels, continuous variables, and combinations thereof. Implements
- the machinery described in the paper \"Learning interactions via hierarchical
- group-lasso regularization\" (JCGS 2015, Volume 24, Issue 3).
- Michael Lim & Trevor Hastie (2015)")
- (license license:gpl2)))
- (define-public r-datasaurus
- (package
- (name "r-datasaurus")
- (version "0.1.4")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "datasauRus" version))
- (sha256
- (base32
- "1w1yhwwrmh95bklacz44wjwynxd8cj3z8b9zvsnzmk18m5a4k0fl"))))
- (properties `((upstream-name . "datasauRus")))
- (build-system r-build-system)
- (native-inputs `(("r-knitr" ,r-knitr)))
- (home-page
- "https://github.com/lockedata/datasauRus")
- (synopsis "Datasets from the Datasaurus Dozen")
- (description
- "The Datasaurus Dozen is a set of datasets with the same summary
- statistics. They retain the same summary statistics despite having radically
- different distributions. The datasets represent a larger and quirkier object
- lesson that is typically taught via Anscombe's Quartet (available in the
- 'datasets' package). Anscombe's Quartet contains four very different
- distributions with the same summary statistics and as such highlights the value
- of visualisation in understanding data, over and above summary statistics. As
- well as being an engaging variant on the Quartet, the data is generated in a
- novel way. The simulated annealing process used to derive datasets from the
- original Datasaurus is detailed in \"Same Stats, Different Graphs: Generating
- Datasets with Varied Appearance and Identical Statistics through Simulated
- Annealing\" @url{doi:10.1145/3025453.3025912}.")
- (license license:expat)))
|