-
Notifications
You must be signed in to change notification settings - Fork 15
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
4950ea4
commit 6b59842
Showing
5 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
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,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 |
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,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 |
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,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 --> |
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,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() |