Skip to content

Commit

Permalink
added holepunch stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnFranchak committed Feb 2, 2021
1 parent 4950ea4 commit 6b59842
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions .binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM rocker/binder:4.0.2
LABEL maintainer='John Franchak'
USER root
COPY . ${HOME}
RUN chown -R ${NB_USER} ${HOME}
USER ${NB_USER}



RUN wget https://github.com/JohnFranchak/259-files-import/raw/master/DESCRIPTION && R -e "options(repos = list(CRAN = 'http://mran.revolutionanalytics.com/snapshot/2021-02-02/')); devtools::install_deps()"

RUN rm DESCRIPTION.1; exit 0
23 changes: 23 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Type: Compendium
Package: 259-files-import
Title: Tutorial for the readr Package
Version: 0.0.1
Authors@R:
person(given = "John",
family = "Franchak",
role = c("aut", "cre"),
email = "[email protected]")
Description: Tutorial files for reading in single files in
R
License: What license it uses
Depends:
holepunch,
janitor,
remotes,
stringr,
tidyverse,
visdat
Remotes:
karthik/holepunch
Encoding: UTF-8
LazyData: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- badges: start -->
[![Launch Rstudio Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/JohnFranchak/259-files-import/master?urlpath=rstudio)
<!-- badges: end -->
22 changes: 22 additions & 0 deletions binder_setup/binder_setup_holepunch.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#remotes::install_github("karthik/holepunch")

library(holepunch)
write_compendium_description(package = "259-files-import",
description = "Tutorial files for reading in single files in R")
# to write a description, with dependencies. Be sure to fill in placeholder text

write_dockerfile(maintainer = "John Franchak")
# To write a Dockerfile. It will automatically pick the date of the last
# modified file, match it to that version of R and add it here. You can
# override this by passing r_date to some arbitrary date
# (but one for which a R version exists).

generate_badge() # This generates a badge for your readme.

# ----------------------------------------------
# At this time 🙌 push the code to GitHub 🙌
# ----------------------------------------------

# And click on the badge or use the function below to get the build
# ready ahead of time.
build_binder()

0 comments on commit 6b59842

Please sign in to comment.