Coder Social home page Coder Social logo

rstudio-conf-2020 / my-org-first-pkg Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 18.0 304.38 MB

Home Page: https://my-org-first-pkg-2020.netlify.com/

License: Creative Commons Attribution Share Alike 4.0 International

R 59.61% CSS 30.49% JavaScript 9.90%

my-org-first-pkg's People

Contributors

malcolmbarrett avatar mine-cetinkaya-rundel avatar rich-iannone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

my-org-first-pkg's Issues

Fully Working Digital Ocean Setup

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:

  1. fab build_image -H your_build_droplet_ip_address
  2. 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.

Schedule and Topics

First day: R package development

Second day: Topics in internal packages

  • Set up live databases to practice connecting to (create MySQL DB with sample data through AWS)
  • Report templates (possibly using ymlthis for standard yaml)
  • opening and editing files (usethis helpers?)
  • Themes (e.g. ggplot, palette functions, css, formatters for style guides (e.g. rounding))
  • Where should I host my package? (Git services, S3, tar.gz, RStudio Package Manager?)
  • Hosting documentation internally? R Markdown sites, distill, pkgdown
  • wrapper functions for plotting and analysis
  • automation, particularly in reporting (cron jobs, connect, emailing)
  • Shiny app functions (local shiny apps, helper functions for dashboards etc)
  • logging (https://github.com/daroczig/logger)
  • using httr? set up something with plumbr to play with
  • maintaining and feedback?
  • slack/google drive etc helpers?

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?

Resources

Clean up website

  • Favicon
  • TA details
  • Day 2 details
  • Links to materials and slides

Course package

An R package to download materials and install needed packages. I'll handle this, as I have a template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.