rstudio-conf-2020 / my-org-first-pkg Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://my-org-first-pkg-2020.netlify.com/
License: Creative Commons Attribution Share Alike 4.0 International
Home Page: https://my-org-first-pkg-2020.netlify.com/
License: Creative Commons Attribution Share Alike 4.0 International
Hi!!
I've created a do-setup
branch (https://github.com/pachamaltese/my-org-first-pkg/tree/do-setup) that does some "magic" in three steps:
From terminal:
fab build_image -H your_build_droplet_ip_address
ssh [email protected] && adduser the_user
From browser:
3. Go to 123.456.789:8787
and login as the_user
1+2+3 creates an image with all the packages used in the workshop and the intendo database, the only difference with respect to the workshop is this:
# old connection
con <- DBI::dbConnect(drv = RMariaDB::MariaDB(), dbname = "intendo", username = "student", password = "old_password", host = "foo.bar/very-long-url", port = 3306)
# new connection
con <- DBI::dbConnect(drv = RMariaDB::MariaDB(), dbname = "intendo", username = "student", password = "new_password", host = "127.0.0.1", port = 3306)
My idea is to send this to DigitalOcean Marketplace later so that users need 3 clicks and in ~1 minute they shall have the full setup to follow the workshop. See as a reference this (scalable) image I created after I attended Hadley's workshop: https://marketplace.digitalocean.com/apps/rstudio-pkgdev at LatinR 2019.
From the instructor's side, this allows each attendee to have his/her own RStudio Server instance, or the instructor can click 3 times on DigitalOcean panel and create a server with, lets say, 0.5GB x "# of attendees" in RAM that is billed only for the duration of the workshop.
An R package to download materials and install needed packages. I'll handle this, as I have a template.
https://r-mageddon.netlify.com/post/writing-an-r-package-from-scratch/
https://rviews.rstudio.com/2017/07/19/supporting-corporate-r-user-groups/
https://masalmon.eu/2017/07/22/chaimagic/
https://support.rstudio.com/hc/en-us/articles/115000239587-Sharing-Internal-R-Packages
https://github.com/gta-r-user-group/gtar/tree/master/2019-06-04/proprietary-r-packages
https://auth0.com/blog/rauth0-internal-r-package-open-source/
https://db.rstudio.com/best-practices/managing-credentials/
https://db.rstudio.com/best-practices/deployment/
https://httr.r-lib.org/articles/secrets.html
https://github.com/daroczig/dbr
https://github.com/daroczig/botor
https://www.lucymcgowan.com/talk/asa_joint_statistical_meeting_2018/
https://httr.r-lib.org/articles/api-packages.html
https://emilyriederer.netlify.com/post/resource-roundup-r-in-industry-edition/
tar.gz
, RStudio Package Manager?)As closing material, perhaps point people to resources like drake, research compendiums, and holepunch for additional strategies
include "helping others contribute" section using usethis pr_*() functions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.