-
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.
Merge pull request #2 from UBC-DSCI/updates-fall-2023
initial material commit
- Loading branch information
Showing
115 changed files
with
49,394 additions
and
50,225 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 |
---|---|---|
@@ -1,29 +1,7 @@ | ||
# Copyright (c) UBC-DSCI Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||
FROM jupyter/r-notebook:notebook-6.4.3 | ||
FROM ubcdsci/py-dsci-100:20230831023622aa49aa | ||
|
||
LABEL maintainer="Tiffany Timbers <[email protected]>" | ||
|
||
# Install R packages with specific versions from conda-forge | ||
# Packages and versions specified in environment.yml | ||
COPY environment.yml . | ||
RUN conda env update --file environment.yml | ||
|
||
# we can't use testthat 2.3 because of weird "no testthat_print" function error https://github.com/r-lib/rlang/issues/1112 | ||
# we can't use testthat 3.0.4 (current release) because it doesn't include the fix to make interactive tests error https://github.com/r-lib/testthat/pull/1443 | ||
# so we will install testthat from a specific commit hash | ||
# old code to do 2.3.2 : RUN Rscript -e "devtools::install_version('testthat', version = '2.3.2', repos = 'http://cran.us.r-project.org')" | ||
RUN Rscript -e "remotes::install_github('r-lib/testthat@4fcc0c7152704c5c2049441920d78d9dfe448836')" | ||
|
||
# Install the palmerpenguins dataset | ||
RUN Rscript -e "devtools::install_github('allisonhorst/[email protected]')" | ||
|
||
# Install ISLR package for the Credit data set | ||
RUN Rscript -e "install.packages('ISLR', repos='http://cran.us.r-project.org')" | ||
|
||
RUN pip install --no-cache-dir vdom==0.5 | ||
|
||
# Make sure the contents of our repo are in ${HOME} | ||
# Make sure the contents of our repo are in ${HOME} for binder | ||
COPY . ${HOME} | ||
USER root | ||
RUN chown -R ${NB_UID} ${HOME} | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
title: "Data Science: A First Introduction Worksheets" | ||
title: "Data Science: A First Introduction (Python Edition) Worksheets" | ||
author: "" | ||
description: "" | ||
theme: minima |
File renamed without changes.
Oops, something went wrong.