statistics.scm 207 KB

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