-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63675b2
commit 7fdb64e
Showing
14 changed files
with
710 additions
and
28 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,255 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "raw", | ||
"metadata": {}, | ||
"source": [ | ||
"---\n", | ||
"format:\n", | ||
" revealjs:\n", | ||
" width: 1290\n", | ||
" height: 720\n", | ||
" progress: true\n", | ||
" incremental: false\n", | ||
" preview-links: auto\n", | ||
" logo: logo.png\n", | ||
" footer: \"[https://startrooper08.github.io/latinR-lightningtalk-2024/](https://startrooper08.github.io/latinR-lightningtalk-2024/)\"\n", | ||
"---" | ||
], | ||
"id": "ff8fcddf" | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## {.center}\n", | ||
"\n", | ||
"::: rows\n", | ||
"::: row\n", | ||
"![](logo.png)\n", | ||
":::\n", | ||
"\n", | ||
"::: r-fit-text\n", | ||
"**Making Code Contributions Seamless**\n", | ||
":::\n", | ||
"\n", | ||
"::: row\n", | ||
"with **R Dev Container**\n", | ||
":::\n", | ||
"\n", | ||
"::: dateplace\n", | ||
"18th November 2024 \\@ **LatinR 2024**\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## Little Bit About me\n", | ||
"\n", | ||
"::: columns\n", | ||
"::: {.column width=\"70%\"}\n", | ||
"::: nonincremental\n", | ||
"- 👋 Hi Everyone, I'm **Atharva Shirdhankar** a **Backend and DevOps enthusiast**, with a passion for **seamless systems** and tech **tinkering** with **Raspberry Pi**!\n", | ||
"\n", | ||
"- 💻 2x **Google Summer of Code Mentee 2023 and 2024 @R project for statistical computing**\n", | ||
"\n", | ||
"- 📈 2x **Devto Hackathon Runner-Up** (Github Actions 2021, Azure Trail 2022)\n", | ||
"\n", | ||
"- 🔗 Lets Connect :\n", | ||
" [Linkedin/**@atharvashirdhankar**](https://www.linkedin.com/in/atharvashirdhankar/)\n", | ||
" [Github/**@StarTrooper08**](https://github.com/StarTrooper08)\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"::: {.column width=\"30%\"}\n", | ||
"![](selfintro.gif)\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## About the R Dev Container Project\n", | ||
"\n", | ||
"::: nonincremental\n", | ||
"- Development Environment Platform for R, built with Linux, Bash, and Docker, designed for seamless integration with GitHub Codespaces and Gitpod.\n", | ||
"\n", | ||
"::: {style=\"text-align: center; margin-top: 0.2em\"}\n", | ||
"<img src=\"https://img.icons8.com/color/48/linux--v1.png\" alt=\"linux--v1\" width=\"48\" height=\"48\"/> \n", | ||
"<img src=\"https://img.icons8.com/color/48/bash.png\" alt=\"bash\" width=\"48\" height=\"48\"/> \n", | ||
"<img src=\"https://img.icons8.com/doodle/48/docker.png\" alt=\"docker\" width=\"48\" height=\"48\"/>\n", | ||
":::\n", | ||
"\n", | ||
"- Main Goal of the Project to setup R Development Environment seamlessly in few clicks.\n", | ||
"\n", | ||
":::\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## R Dev Container Quick Setup{.scrollable}\n", | ||
"\n", | ||
"\n", | ||
"- Visit the R Dev Container [github repo](https://github.com/r-devel/r-dev-env){preview-link=\"true\"}.\n", | ||
"\n", | ||
"- Click on Code button and change the tab to Codespaces ![](resources/ss1.png){width=\"750\" height=\"400\"}\n", | ||
"\n", | ||
"- After that Click on \"Create Codespace on main\"![](resources/ss2.png){width=\"900\" height=\"500\"}\n", | ||
"\n", | ||
"- You can also run R program. To do so, you need to click on R: not attached option in status bar(botton right). This will open up a R interactive console.\n", | ||
"\n", | ||
" ![](resources/ss3.png){width=\"400\" height=\"300\"}\n", | ||
"\n", | ||
"- Just create a R file and run it using the run button on the top beside file tabs.\n", | ||
"\n", | ||
" ![](resources/ss4.png){width=\"750\" height=\"400\"}\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## {.center background-video=\"projectdemo.mp4\" background-video-loop=\"true\" background-video-muted=\"true\" background-opacity=0.2}\n", | ||
"\n", | ||
"::: {.r-fit-text}\n", | ||
"R Contribution Workflow\n", | ||
":::\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## Find a Bug Report on Bugzilla{.center}\n", | ||
"\n", | ||
"\n", | ||
"- [R Bugzilla](https://bugs.r-project.org/buglist.cgi?bug_status=__open__) - Open bug report list\n", | ||
"\n", | ||
"- Example Bug Report - [18810](https://bugs.r-project.org/show_bug.cgi?id=18810). Potential Solution to this issue is also mentioned by Jeroen Ooms in the discussion.\n", | ||
"\n", | ||
"\n", | ||
"## Building R{.center}\n", | ||
"\n", | ||
"- To build R we can just follow easy steps mentioned in [R Dev Container Building R Docs](https://contributor.r-project.org/r-dev-env/tutorials/building_r/){preview-link=\"true\"}.\n", | ||
"\n", | ||
"\n", | ||
"## Code Contribution\n", | ||
"\n", | ||
"## {}\n", | ||
"\n", | ||
"**Bug Report Statement**\n", | ||
"\n", | ||
"readRDS errors do not indicate the filename or connection source, leading to generic \"error reading from connection\" messages.\n", | ||
"\n", | ||
"```{.r}\n", | ||
"install.packages('MASS')\n", | ||
"rdsfile <- system.file('Meta/links.rds', package = 'MASS')\n", | ||
"unlink(rdsfile)\n", | ||
"file.create(rdsfile) #create corrupted file\n", | ||
"tools::findHTMLlinks() #errors without clues\n", | ||
"```\n", | ||
"\n", | ||
"Output with Error msg\n", | ||
"```txt {code-line-numbers=\"10\"}\n", | ||
"** testing if installed package can be loaded from temporary location\n", | ||
"** checking absolute paths in shared objects and dynamic libraries\n", | ||
"** testing if installed package can be loaded from final location\n", | ||
"** testing if installed package keeps a record of temporary installation path\n", | ||
"* DONE (MASS)\n", | ||
"\n", | ||
"The downloaded source packages are in\n", | ||
" ‘/tmp/RtmpMuQ5kv/downloaded_packages’\n", | ||
"[1] TRUE\n", | ||
"Error in readRDS(f) : error reading from connection\n", | ||
"```\n", | ||
"\n", | ||
"## Patch file{.center}\n", | ||
"\n", | ||
"- create a patch file for the code changes made.\n", | ||
"\n", | ||
"- The following command will save the changes made in source code in $PATCHDIR directory\n", | ||
"\n", | ||
"```{bash}\n", | ||
"cd $TOP_SRCDIR\n", | ||
"svn diff > $PATCHDIR/patch.diff\n", | ||
"```\n", | ||
"\n", | ||
"\n", | ||
" ![](resources/ss5.png){width=\"750\" height=\"400\"}\n", | ||
"\n", | ||
"\n", | ||
"\n", | ||
"## Its Features!!{.center style=\"text-align: center; margin-top: 0.2em\"}\n", | ||
"\n", | ||
"::: columns\n", | ||
"::: {.column width=\"33%\"}\n", | ||
"::: {.fragment .fade-left}\n", | ||
"**Multiple R Builds**\n", | ||
"\n", | ||
"<img src=\"https://img.icons8.com/external-soft-fill-juicy-fish/100/external-multiple-project-management-soft-fill-soft-fill-juicy-fish.png\" alt=\"external-multiple-project-management-soft-fill-soft-fill-juicy-fish\" width=\"100\" height=\"100\"/>\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"::: {.column width=\"33%\"}\n", | ||
"::: {.fragment .fade-left}\n", | ||
"**Switch R Versions** <img src=\"https://img.icons8.com/external-others-lafs/100/external-control-iiot-outline-colored-iconset-others-lafs.png\" alt=\"external-control-iiot-outline-colored-iconset-others-lafs\" width=\"100\" height=\"100\"/>\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"::: {.column width=\"33%\"}\n", | ||
"::: {.fragment .fade-left}\n", | ||
"**Work in Teams**\n", | ||
"\n", | ||
"<img src=\"https://img.icons8.com/external-soft-fill-juicy-fish/100/external-teamwork-business-process-soft-fill-soft-fill-juicy-fish.png\" alt=\"external-teamwork-business-process-soft-fill-soft-fill-juicy-fish\" width=\"100\" height=\"100\"/>\n", | ||
":::\n", | ||
":::\n", | ||
":::\n", | ||
"\n", | ||
"\n", | ||
"## Multiple R\n", | ||
"\n", | ||
"\n", | ||
"```bash\n", | ||
"gitpod /workspace/r-dev-env $ set_build_r r-raw\n", | ||
"BUILDDIR is now set to /workspace/r-dev-env/build/r-raw\n", | ||
"TOP_SRCDIR is now set to /workspace/r-dev-env/svn/r-raw\n", | ||
"```\n", | ||
"\n", | ||
"## Special Mentions\n", | ||
"::: nonincremental\n", | ||
"- R Dev Container project Mentors : **Heather Turner, James Tripp, Iain Emsley**\n", | ||
"\n", | ||
"- A [Blogpost](https://www.dicook.org/posts/2024-07-14-r-devel/){preview-link=\"true\"} on Fixing R graphics issues during R Dev Day Austria(July 2024) using R Dev Container - by **Di Cook** .\n", | ||
"\n", | ||
"- Some amazing contributors who helped us bring this project all together by contributing to docs, giving feedback and helping out in finding solutions\n", | ||
"**Elio Campitelli, Lorena Abad Crespo, Robert (Bob) Turner and Dan Brady**\n", | ||
":::" | ||
], | ||
"id": "59afec25" | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
Oops, something went wrong.