statistics.scm 188 KB

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