{"id":43279,"date":"2025-04-17T12:48:17","date_gmt":"2025-04-17T10:48:17","guid":{"rendered":"https:\/\/www.idiv.de\/?post_type=events&#038;p=43279"},"modified":"2026-06-18T15:22:20","modified_gmt":"2026-06-18T13:22:20","slug":"writing-reproducible-r-code","status":"publish","type":"events","link":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/","title":{"rendered":"Writing reproducible R code"},"content":{"rendered":"<div class=\"textbildrepeater pb-24 pt-0 no-bg modulclass \" id=\"\">\n    <div class=\"container\">\n        <div class=\"row\">\n                                                                <div class=\"pb-24   mod_textheadlinebtn  col-md-2 offset-md-2 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h4 class=\"h4 tleft\" >Application<\/h4>\n    <div class=\"contentrepeater\">\n        <hr \/>\n<p>Please register <a href=\"https:\/\/umfrage.uni-leipzig.de\/index.php\/974885?lang=en\">here<\/a>.<\/p>\n    <\/div>\n\n\n        <div class=\"btncf-block  tleft\">\n        <a href=\"m&#97;&#105;&#108;&#x74;&#x6f;&#x3a;yd&#105;&#118;&#x40;&#x69;&#x64;&#x69;v&#46;&#100;&#101;\" class=\"mr-24 btncf normal\" target=\"_blank\" type=\"button\">Email                            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"7.621\" height=\"12.243\" aria-hidden=\"true\" viewBox=\"0 0 7.621 12.243\"><path  data-name=\"Icon feather-chevron-right\" d=\"M17.5,17l-4-4,4-4\" transform=\"translate(19.621 19.121) rotate(180)\" fill=\"none\" stroke=\"#447226\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"\/><\/svg>\n                    <\/a>\n    <\/div>\n    <\/div>\n                            <\/div>\n                                                                    <div class=\"pb-24   mod_textheadlinebtn  col-md-2 offset-md-0 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h4 class=\"h4 tleft\" >Location<\/h4>\n    <div class=\"contentrepeater\">\n        <hr \/>\n<p>iDiv Leipzig,<br \/>\nBeehive (Groundfloor, 26 Oct)<br \/>\nRed Queen (B.01.04, 28 Oct)<\/p>\n<div class=\"rb-client-js-common-timeline-___TimelineContent-module__sub-label___6qe5Q\"><\/div>\n    <\/div>\n\n\n    <\/div>\n                            <\/div>\n                                                                    <div class=\"pb-24   mod_textheadlinebtn  col-md-2 offset-md-0 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h4 class=\"h4 tleft\" >Dates<\/h4>\n    <div class=\"contentrepeater\">\n        <hr \/>\n<p>26 &amp; 28 October 2026,<br \/>\n10:00am &#8211; 4:00pm<\/p>\n    <\/div>\n\n\n    <\/div>\n                            <\/div>\n                                                                    <div class=\"pb-24   mod_textheadlinebtn  col-md-2 offset-md-0 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h4 class=\"h4 tleft\" >Credit points<\/h4>\n    <div class=\"contentrepeater\">\n        <hr \/>\n<p>1.0 CP<\/p>\n    <\/div>\n\n\n    <\/div>\n                            <\/div>\n                        <\/div>\n    <\/div>\n<\/div>\n\n<hr class=\"modulborder nm np\"><div class=\"textbildrepeater pb-24 pt-24 bg-lightgrey \" id=\"\">\n    <div class=\"container\">\n        <div class=\"row\">\n                                                                <div class=\"pb-24   mod_textheadlinebtn  col-md-8 offset-md-2 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h2 class=\"h2 tleft\" >Contents<\/h2>\n    <div class=\"contentrepeater\">\n        <p>This course will present best practices for documenting the work they did using R code and for sharing the computational environment needed to reproduce it. Particular emphasis will be placed on the use of R notebooks and the packages \u201crenv\u201d and \u201crang\u201d for managing package dependencies. We will also discuss the use of Binder, but not containerization with Docker.<\/p>\n<p>You will learn:<br \/>\n&#8211; how to write and document R code that can be easily re-used<br \/>\n&#8211; how to use the \u201crenv\u201d package to keep track of the packages being used in a project<br \/>\n&#8211; how to use the \u201crang\u201d package to recover the packages used in a project<br \/>\n&#8211; how to use mybinder to share their work in a ready-to-use interactive notebook<\/p>\n<p>Participants need to be familiar with R and the basics of management of R libraries and their dependencies.<\/p>\n<p>Please be present for the lectures on the first day and you will benefit greatly if you prepare work that you want to make reproducible. On the first day, we will look at the basics of management and reproducibility of a research project involving R. Students will be given a \u201ctoy\u201d project to work on throughout the course. As homework, you have to create a reproducible \u201cbundle\u201d (they can keep working on the example or apply the lessons to their own material). On the second day of the course, we will go through the homework and any problems that might have arisen from implementing the workflow shown in the course. To finish, we will create a Binder notebook.<\/p>\n    <\/div>\n\n\n    <\/div>\n                            <\/div>\n                        <\/div>\n    <\/div>\n<\/div>\n\n<hr class=\"modulborder nm np\"><div class=\"textbildrepeater pb-24 pt-24 no-bg modulclass \" id=\"\">\n    <div class=\"container\">\n        <div class=\"row\">\n                                                                <div class=\"pb-24   mod_bild  col-md-1 offset-md-3 pos_top\">\n                            <div class=\"bildrepeater \" id=\"\">\n    <div class=\"relativ\"><img decoding=\"async\" class=\"responsiv desktop\" src=\"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/08\/Ludmilla-Figueiredo-Portrait.png\" height=\"\" width=\"\" alt=\"idiv-\"\/><img decoding=\"async\" class=\"responsiv mobile\" src=\"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/08\/Ludmilla-Figueiredo-Portrait.png\" height=\"\" width=\"\" alt=\"idiv-\"\/><\/div><\/div>\n                            <\/div>\n                                                                    <div class=\"pb-24   mod_textheadlinebtn  col-md-5 offset-md-0 pos_top\">\n                            <div class=\"textrepeater \" id=\"\">\n\n\n    <h2 class=\"h2 tleft\" >Lecturer<\/h2>\n    <div class=\"contentrepeater\">\n        <header>\n<h3 class=\"\">Ludmilla Figueiredo<\/h3>\n<\/header>\n<p>Ludmilla is a biologist specialized in ecological modelling through her Master\u2019s and PhD. She is now the Data &amp; Code Curator for the iDiv Data Portal, where, among other tasks, she reviews data or code documentation before its publication. In addition, she is also the author and maintainer of an R package (\u201cestar\u201d).<\/p>\n    <\/div>\n\n\n    <\/div>\n                            <\/div>\n                        <\/div>\n    <\/div>\n<\/div>\n\n\n<p><\/p>\n","protected":false},"author":12,"template":"","meta":{"_acf_changed":false,"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","_links_to":"","_links_to_target":""},"class_list":["post-43279","events","type-events","status-publish","hentry"],"acf":{"text":"","standort":"","email":"","thumb":18519,"copyrightthumb":"iDiv\/Stefan Bernhardt","imagesingle":9679,"copyrightimagesingle":"Mathisa\/Adobe Stock","breadcrumb":true},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Writing reproducible R code | iDiv<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Writing reproducible R code | iDiv\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/\" \/>\n<meta property=\"og:site_name\" content=\"iDiv\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-18T13:22:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/11\/iDivSocialMediaShare.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@idiv\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/events\\\/writing-reproducible-r-code\\\/\",\"url\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/events\\\/writing-reproducible-r-code\\\/\",\"name\":\"Writing reproducible R code | iDiv\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#website\"},\"datePublished\":\"2025-04-17T10:48:17+00:00\",\"dateModified\":\"2026-06-18T13:22:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/events\\\/writing-reproducible-r-code\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.idiv.de\\\/de\\\/events\\\/writing-reproducible-r-code\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/events\\\/writing-reproducible-r-code\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Writing reproducible R code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/\",\"name\":\"iDiv\",\"description\":\"Hotspot in Biodiversity Research\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#organization\",\"name\":\"idiv\",\"url\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.idiv.de\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/iDiv_Logo_long_v1_EN_black_4c.jpg\",\"contentUrl\":\"https:\\\/\\\/www.idiv.de\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/iDiv_Logo_long_v1_EN_black_4c.jpg\",\"width\":2448,\"height\":674,\"caption\":\"idiv\"},\"image\":{\"@id\":\"https:\\\/\\\/www.idiv.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/idiv\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/idiv-biodiversity\\\/\",\"https:\\\/\\\/www.youtube.com\\\/idiv-research\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Writing reproducible R code | iDiv","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/","og_locale":"de_DE","og_type":"article","og_title":"Writing reproducible R code | iDiv","og_url":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/","og_site_name":"iDiv","article_modified_time":"2026-06-18T13:22:20+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/11\/iDivSocialMediaShare.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@idiv","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/","url":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/","name":"Writing reproducible R code | iDiv","isPartOf":{"@id":"https:\/\/www.idiv.de\/de\/#website"},"datePublished":"2025-04-17T10:48:17+00:00","dateModified":"2026-06-18T13:22:20+00:00","breadcrumb":{"@id":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.idiv.de\/de\/events\/writing-reproducible-r-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.idiv.de\/de\/"},{"@type":"ListItem","position":2,"name":"Writing reproducible R code"}]},{"@type":"WebSite","@id":"https:\/\/www.idiv.de\/de\/#website","url":"https:\/\/www.idiv.de\/de\/","name":"iDiv","description":"Hotspot in Biodiversity Research","publisher":{"@id":"https:\/\/www.idiv.de\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.idiv.de\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.idiv.de\/de\/#organization","name":"idiv","url":"https:\/\/www.idiv.de\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.idiv.de\/de\/#\/schema\/logo\/image\/","url":"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/08\/iDiv_Logo_long_v1_EN_black_4c.jpg","contentUrl":"https:\/\/www.idiv.de\/wp-content\/uploads\/2024\/08\/iDiv_Logo_long_v1_EN_black_4c.jpg","width":2448,"height":674,"caption":"idiv"},"image":{"@id":"https:\/\/www.idiv.de\/de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/idiv","https:\/\/www.linkedin.com\/company\/idiv-biodiversity\/","https:\/\/www.youtube.com\/idiv-research"]}]}},"featured_img":false,"coauthors":[],"author_meta":{"author_link":"https:\/\/www.idiv.de\/de\/author\/beate-horn\/","display_name":"Beate Horn"},"relative_dates":{"created":"Ver\u00f6ffentlicht 1\u00a0Jahr vor","modified":"Aktualisiert 3\u00a0Tagen vor"},"absolute_dates":{"created":"Ver\u00f6ffentlicht am 17. April 2025","modified":"Aktualisiert am 18. Juni 2026"},"absolute_dates_time":{"created":"Ver\u00f6ffentlicht am 17. April 2025 12:48","modified":"Aktualisiert am 18. Juni 2026 15:22"},"featured_img_caption":"","tax_additional":{"translation_priority":{"linked":["<a href=\"https:\/\/www.idiv.de\/de\/?taxonomy=translation_priority&#038;term=optional\" class=\"advgb-post-tax-term\">Optional<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Optional<\/span>"],"slug":"translation_priority","name":"\u00dcbersetzungspriorit\u00e4ten"}},"series_order":"","_links":{"self":[{"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/events\/43279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/events"}],"about":[{"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/types\/events"}],"version-history":[{"count":13,"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/events\/43279\/revisions"}],"predecessor-version":[{"id":43314,"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/events\/43279\/revisions\/43314"}],"wp:attachment":[{"href":"https:\/\/www.idiv.de\/de\/wp-json\/wp\/v2\/media?parent=43279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}