Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement tutorial_package_dependencies() #329

Merged
merged 12 commits into from Feb 12, 2020
Merged

Conversation

@kevinushey
Copy link
Collaborator

@kevinushey kevinushey commented Feb 11, 2020

For front-ends that might want to enumerate a tutorial's required R package dependencies.

This is admittedly quick-and-dirty; @schloerke let me know if this looks okay or if you'd prefer some tweaks.

NAMESPACE Outdated Show resolved Hide resolved
@schloerke schloerke self-assigned this Feb 12, 2020
@schloerke schloerke requested a review from wch Feb 12, 2020
@schloerke
Copy link
Collaborator

@schloerke schloerke commented Feb 12, 2020

Two major changes.

  • Adds column package_dependencies to available_tutorials() output
  • Adds function tutorial_package_dependencies()
Copy link
Collaborator

@wch wch left a comment

I had a few comments on this PR. There's also a test that's failing on older versions of R:
https://github.com/rstudio/learnr/pull/329/checks?check_run_id=441404857#step:9:87

NEWS.md Outdated Show resolved Hide resolved
R/tutorial_package_dependencies.R Outdated Show resolved Hide resolved
R/tutorial_package_dependencies.R Outdated Show resolved Hide resolved
tests/testthat/test-dependency.R Outdated Show resolved Hide resolved
@schloerke schloerke self-requested a review Feb 12, 2020
@schloerke schloerke requested review from wch and removed request for wch Feb 12, 2020
@schloerke schloerke dismissed wch’s stale review Feb 12, 2020

Need to merge PR

@schloerke schloerke changed the title implement tutorial_dependencies() implement tutorial_package_dependencies() Feb 12, 2020
@schloerke schloerke merged commit 89c1d14 into master Feb 12, 2020
9 checks passed
9 checks passed
windows-latest (3.6) windows-latest (3.6)
Details
windows-latest (devel)
Details
macOS-latest (3.6)
Details
ubuntu-16.04 (3.2)
Details
ubuntu-16.04 (3.3)
Details
ubuntu-16.04 (3.4)
Details
ubuntu-16.04 (3.5)
Details
ubuntu-16.04 (3.6)
Details
license/cla Contributor License Agreement is signed.
Details
@schloerke schloerke deleted the feature/tutorial-dependencies branch Feb 12, 2020
schloerke added a commit that referenced this pull request Feb 12, 2020
* master:
  implement tutorial_package_dependencies() (#329)
  Fix progressive reveal and Topics with special characters not loading (#330)
  Remove dead event, clarify Rmd/HTML docs (#331)
  Add session start/stop events (#328)
  Use `.on("load", fn)` as `.load(fn)` has been deprecated (#326)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.