[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-698004-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-698004-en":130,"doc-similar-698004":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","methodology-and-research-practice-automated-reproducibility-testing-in-r-markdown","Methodology and Research Practice - Automated Reproducibility Testing in R Markdown","","Computational results are reproducible when identical computation on identical data produces the same outcomes across different computers or at different times. Reproducibility underpins replicable, robust, and credible digital research, yet published raw data is often not reproduced. Building on the R Markdown workflow for executable, dynamically generated reports, this work introduces the reproducibleRchunks R package, which stores metadata for original computational results and automatically verifies later reproduction attempts, aiming to improve transparency and trustworthiness.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/methodology-and-research-practice-automated-reproducibility-testing-in-r-markdown/698004/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/methodology-and-research-practice-automated-reproducibility-testing-in-r-markdown/698004.png","ImageObject",300,407,{"name":42,"@type":43},"\tCallum ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-21","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What does reproducibility mean for computational research results?","Question",{"text":62,"@type":63},"Reproducibility means the same computation on the same data yields the same results when run on a different computer or at a later time on the same computer.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Why is reproducibility important in digital research environments?",{"text":67,"@type":63},"It is a prerequisite for research that is replicable, robust, and transparent, supporting credible findings derived from computational analyses.",{"name":69,"@type":60,"acceptedAnswer":70},"How does the reproducibleRchunks R package support reproducibility in R Markdown documents?",{"text":71,"@type":63},"It automatically stores metadata about original computational results and verifies later reproduction attempts, with minimal changes to users’ workflows.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},698004,1794446947,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},137451211410,"https://ap-avatar.wpscdn.com/avatar/2000bb0a9246f588df?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786362646172706240","Methodology and Research Practice  \nAutomated Reproducibility Testing in R Markdown  \nAndreas M. Brandmaier1,2,3a, Aaron Peikert2,3  \n1 Department of Psychology, MSB Medical School Berlin, Berlin, Germany, 2 Center for Lifespan Psychology, Max Planck Institute for Human Development, Berlin, Germany, 3 Max Planck UCL Centre for Computational Psychiatry and Ageing Research, Berlin, Germany  \nKeywords: reproducibility, R language, Markdown, Open Science, statistical analysis, computation  \n[https://doi.org/10.1525/collabra.138638](https://doi.org/10.1525/collabra.138638)  \n\n| Collabra: Psychology\u003Cbr>Vol. 11, Issue 1, 2025 |  |\n| --- | --- |\n| Computational results are considered reproducible if the same computation on the same data yields the same results if performed on a different computer or on the same computer later in time. Reproducibility is a prerequisite for replicable, robust, and transparent research in digital environments. Various approaches have been suggested to increase chances of reproducibility of R code. Many of them rely on R Markdown as a language to dynamically generate reproducible research assets (e.g., reports, posters, or presentations) . However, a simple way to automatically verify reproducibility is still missing. We introduce the R package reproducibleRchunks, which automatically stores metadata about original computational results and verifies later reproduction attempts automatically. With a minimal change to users’workflows, we hope that this approach increases transparency and trustworthiness of digital research assets. |  |\n| Computational results, including those from statistical data analyses, are considered reproducible if the same computation on the same data yields the same results if performed on a different computer or on the same computer later in time. Reproducibility is a prerequisite for replicable, robust, and credible research in digital environments (Epskamp, 2019; Hardwicke et al., 2018) . Surprisingly often, results from published raw data cannot be reproduced. For example, Artner et al. (2021) were able to reproduce only 70% of major scientific conclusions from a sample of articles published in the domain of Psychology – however, the problem is likely pervasive in all scientific disciplines. Various approaches have been suggested to increase chances of reproducibility of statistical data analyses in the R language (Chan & Schoch, 2023; Nagraj & Turner, 2023; Peikert et al., 2021; Ushey & Wickham, 2024) . Many approaches rely on R Markdown (Allaire et al., 2023) . R Markdown is a simple language that allows users to mix natural language, simple formatting instructions (e.g., what is a headline, what should appear in bold face, or what are list elements), and executable computer code (R, Python, or other languages) in a single document (Xie et al., 2018) . Whenever an R Markdown document is rendered, all of its computer code chunks are executed, which allows for the generation of dynamic content in the document. This is particularly interesting for quantitative research reports, as statistical results and contents of tables and figures can be dynamically generated. Packages like papaja (Aust & Barth, 2022) or stargazer (Hlavac, 2022) further extend R Mark- | down’s capabilities to format documents (including tables, figures, and statistical results) in a standardized style, such as APA style (American Psychological Association, 2020) . As another example, (R) Markdown also forms the basis of executable research articles (Tsang & Maciocci, 2020), a browser-based form of research articles that allows authors to enrich their publications with interactive elements, such as figures or results that dynamically change based on readers’ input. A particular advantage of using R Markdown to create research reports is that it helps to avoid common threats to reproducibility of statistical results, first and foremost, copy-and-paste errors, which happen when results of a regular R script and ","cbCaio45BRhke6I7","https://ap.wps.com/l/cbCaio45BRhke6I7","pdf",671241,11,"English","# Automated Reproducibility Testing in R Markdown\n## Reproducibility as a Prerequisite for Robust Research\n## R Markdown as a Framework for Executable Research Assets\n## Limitations and Remaining Sources of Error\n## reproducibleRchunks Package and Its Verification Approach","[{\"question\":\"What does reproducibility mean for computational research results?\",\"answer\":\"Reproducibility means the same computation on the same data yields the same results when run on a different computer or at a later time on the same computer.\"},{\"question\":\"Why is reproducibility important in digital research environments?\",\"answer\":\"It is a prerequisite for research that is replicable, robust, and transparent, supporting credible findings derived from computational analyses.\"},{\"question\":\"How does the reproducibleRchunks R package support reproducibility in R Markdown documents?\",\"answer\":\"It automatically stores metadata about original computational results and verifies later reproduction attempts, with minimal changes to users’ workflows.\"}]","Methodology and Research Practice - Automated Reproducibility Testing in R Markdown | PDF",28,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f13e4ef57ba40a6b90cc78da68df5660.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0d2bc916e22ff9bfb8e5ed51a0b1ffc0.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/52eb9baab6d126769b6929c397a35290.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/701a6999e1b7df10e1e6e68dfc6eb4ee.webp",980,1385,{"list":163,"token":11},[164,170,176,182,188,194,201,207,214,221],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":26,"category_name":29,"create_tm":169},703191,"Prepare APA Journal Articles with R Markdown - read online","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013446152/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=KQ9Rp2Uun11BxLJOg1I1mVs9IaI%3D","prepare-apa-journal-articles-with-r-markdown-read-online",1794562584,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":33,"category_name":29,"create_tm":175},657561,"Rxiv-Maker - an automated template engine for streamlined scientific publications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975559256/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=FrzyRukzRrLLFKBZPRl%2Fw7u7AG8%3D","rxiv-maker-an-automated-template-engine-for-streamlined-scientific-publications",1792982827,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":139,"category_name":29,"create_tm":181},443288,"PupEyes - An interactive Python library for eye movement data processing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924638023/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=X%2BQ45CaHuvpN9dqAFW7JVS80w%2Bg%3D","pupeyes-an-interactive-python-library-for-eye-movement-data-processing",1790703524,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":115,"category_name":29,"create_tm":187},272522,"A SAT + Computer Algebra System Verification of the Ramsey Problems R(3,8) - R(3,9) - Master of Mathematics Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899503776/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=jF6kJqWQleT7vjKJnpt3DbmmrAI%3D","a-sat-computer-algebra-system-verification-of-the-ramsey-problems-r38-r39-master-of-mathematics-thesis",1789465725,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":96,"category_name":29,"create_tm":193},605551,"Reproducible Workﬂow on a Public Cloud for Computational Fluid Dynamics - Part 1 - Reproducible research and cloud benchmarks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229955777569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=1GyraJrerh9cmVujXdpK%2Bz4WRzk%3D","reproducible-workflow-on-a-public-cloud-for-computational-fluid-dynamics-part-1-reproducible-research-and-cloud-benchmarks",1792132615,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":29,"create_tm":200},86242,"EDAR: Learning Environment-Dependent Action Representations for Robotic Manipulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809392650/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=ovtAHNOjnR1KEm26DoX%2FIUTs52E%3D","edar-learning-environment-dependent-action-representations-for-robotic-manipulation",25,1784209737,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":117,"category_name":29,"create_tm":206},122814,"Analytical and Machine Learning Study of One-Dimensional Non-Interacting Spinless Trapped Fermionic Systems - Ground-State Properties","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836946029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=pZoAOnAVJjXcEVYsS1A3CvIJDnQ%3D","analytical-and-machine-learning-study-of-one-dimensional-non-interacting-spinless-trapped-fermionic-systems-ground-state-properties",1785813042,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},327286,"ISOSCI - A Benchmark of Isomorphic Cross-Domain Science Problems for Evaluating Reasoning versus Knowledge Retrieval in LLMs - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909316238/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=cuBIcp6hQNu1%2FBeFcK%2BDAJ9JbKU%3D","isosci-a-benchmark-of-isomorphic-cross-domain-science-problems-for-evaluating-reasoning-versus-knowledge-retrieval-in-llms-abstract",14,1789976910,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":29,"create_tm":220},85311,"FlowArk Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809300158/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=ILB79vm%2Bd6oxE%2FbNHkeCfzVl%2B8c%3D","flowark-boosting-agentic-data-flow-analysis-for-android-apps-via-context-aware-knowledge-reuse",27,1784202401,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":226,"category_name":29,"create_tm":227},81482,"A Fourier Analytic Approach to Gaussian Mixture Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808447806/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241119&Signature=GdvFhkxesyToeF1IPasCzjod1No%3D","a-fourier-analytic-approach-to-gaussian-mixture-learning",22,1784173732]