From 2137836e9864d950a058eb79ea22f8542bcb70b5 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Fri, 19 Nov 2021 21:46:51 -0500 Subject: [PATCH 1/4] use_tidy_issue_template() & use_tidy_support() --- .github/ISSUE_TEMPLATE/issue_template.md | 14 ++++++++++ .github/SUPPORT.md | 35 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue_template.md create mode 100644 .github/SUPPORT.md diff --git a/.github/ISSUE_TEMPLATE/issue_template.md b/.github/ISSUE_TEMPLATE/issue_template.md new file mode 100644 index 00000000..898687a4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_template.md @@ -0,0 +1,14 @@ +--- +name: Bug report or feature request +about: Describe a bug you've seen or make a case for a new feature +--- + +Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on or . + +Please include a minimal reproducible example (AKA a reprex). If you've never heard of a [reprex](http://reprex.tidyverse.org/) before, start by reading . + +Brief description of the problem + +```r +# insert reprex here +``` diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md new file mode 100644 index 00000000..ef09e386 --- /dev/null +++ b/.github/SUPPORT.md @@ -0,0 +1,35 @@ +# Getting help with mikropml + +Thanks for using mikropml! +Before filing an issue, there are a few places to explore and pieces to put together to make the process as smooth as possible. + +## Make a reprex + +Start by making a minimal **repr**oducible **ex**ample using the [reprex](https://reprex.tidyverse.org/) package. +If you haven't heard of or used reprex before, you're in for a treat! +Seriously, reprex will make all of your R-question-asking endeavors easier (which is a pretty insane ROI for the five to ten minutes it'll take you to learn what it's all about). +For additional reprex pointers, check out the [Get help!](https://www.tidyverse.org/help/) section of the tidyverse site. + +## Where to ask? + +Armed with your reprex, the next step is to figure out [where to ask](https://www.tidyverse.org/help/#where-to-ask). + +* If it's a question: start with [community.rstudio.com](https://community.rstudio.com/), and/or StackOverflow. There are more people there to answer questions. + +* If it's a bug: you're in the right place, [file an issue](https://github.com/SchlossLab/mikropml/issues/new). + +* If you're not sure: let the community help you figure it out! + If your problem _is_ a bug or a feature request, you can easily return here and report it. + +Before opening a new issue, be sure to [search issues and pull requests](https://github.com/SchlossLab/mikropml/issues) to make sure the bug hasn't been reported and/or already fixed in the development version. +By default, the search will be pre-populated with `is:issue is:open`. +You can [edit the qualifiers](https://help.github.com/articles/searching-issues-and-pull-requests/) (e.g. `is:pr`, `is:closed`) as needed. +For example, you'd simply remove `is:open` to search _all_ issues in the repo, open or closed. + +## What happens next? + +To be as efficient as possible, development of tidyverse packages tends to be very bursty, so you shouldn't worry if you don't get an immediate response. +Typically we don't look at a repo until a sufficient quantity of issues accumulates, then there’s a burst of intense activity as we focus our efforts. +That makes development more efficient because it avoids expensive context switching between problems, at the cost of taking longer to get back to you. +This process makes a good reprex particularly important because it might be multiple months between your initial report and when we start working on it. +If we can’t reproduce the bug, we can’t fix it! From be1a0195a9f5ef73f979e54713f90b6e2c296a61 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Fri, 19 Nov 2021 21:47:48 -0500 Subject: [PATCH 2/4] use_tidy_description() --- DESCRIPTION | 129 +++++++++++++++++++++++++--------------------------- 1 file changed, 62 insertions(+), 67 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0d6670d2..23e9e029 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,73 +1,65 @@ Package: mikropml Title: User-Friendly R Package for Supervised Machine Learning Pipelines Version: 1.2.0.9000 -Authors@R: c( - person(given = "Begüm", - family = "Topçuoğlu", - role = c("aut"), - email = "topcuoglu.begum@gmail.com", - comment = c(ORCID = "0000-0003-3140-537X") - ), - person(given = "Zena", - family = "Lapp", - role = c("aut"), - email = "zenalapp@umich.edu", - comment = c(ORCID = "0000-0003-4674-2176") - ), - person(given = "Kelly", - family = "Sovacool", - role = c("aut", "cre"), - email = "sovacool@umich.edu", - comment = c(ORCID = "0000-0003-3283-829X") - ), - person(given = "Evan", - family = "Snitkin", - role = c('aut'), - comment = c(ORCID = "0000-0001-8409-278X") - ), - person(given = "Jenna", - family = "Wiens", - role = c('aut'), - comment = c(ORCID = "0000-0002-1057-7722") - ), - person(given = "Patrick", - family = "Schloss", - role = c('aut'), - email = 'pschloss@umich.edu', - comment = c(ORCID = "0000-0002-6935-4275") - ), - person(given = "Nick", - family = "Lesniak", - role = c("ctb"), - email = "nlesniak@umich.edu", - comment = c(ORCID = "0000-0001-9359-5194") - ), - person(given = "Courtney", - family = "Armour", - role = c("ctb"), - email = "armourc@umich.edu", - comment = c(ORCID = "0000-0002-5250-1224") - ), - person(given = "Sarah", - family = "Lucas", - role = c("ctb"), - email = "salucas@umich.edu", - comment = c(ORCID = "0000-0003-1676-5801"))) Date: 2021-11-10 -URL: https://www.schlosslab.org/mikropml/, https://github.com/SchlossLab/mikropml -BugReports: https://github.com/SchlossLab/mikropml/issues -Description: An interface to build machine learning models for classification - and regression problems. 'mikropml' implements the ML pipeline described - by Topçuoğlu et al. (2020) with reasonable - default options for data preprocessing, hyperparameter tuning, - cross-validation, testing, model evaluation, and interpretation steps. - See the website for more information, +Authors@R: + c(person(given = "Begüm", + family = "Topçuoğlu", + role = "aut", + email = "topcuoglu.begum@gmail.com", + comment = c(ORCID = "0000-0003-3140-537X")), + person(given = "Zena", + family = "Lapp", + role = "aut", + email = "zenalapp@umich.edu", + comment = c(ORCID = "0000-0003-4674-2176")), + person(given = "Kelly", + family = "Sovacool", + role = c("aut", "cre"), + email = "sovacool@umich.edu", + comment = c(ORCID = "0000-0003-3283-829X")), + person(given = "Evan", + family = "Snitkin", + role = "aut", + comment = c(ORCID = "0000-0001-8409-278X")), + person(given = "Jenna", + family = "Wiens", + role = "aut", + comment = c(ORCID = "0000-0002-1057-7722")), + person(given = "Patrick", + family = "Schloss", + role = "aut", + email = "pschloss@umich.edu", + comment = c(ORCID = "0000-0002-6935-4275")), + person(given = "Nick", + family = "Lesniak", + role = "ctb", + email = "nlesniak@umich.edu", + comment = c(ORCID = "0000-0001-9359-5194")), + person(given = "Courtney", + family = "Armour", + role = "ctb", + email = "armourc@umich.edu", + comment = c(ORCID = "0000-0002-5250-1224")), + person(given = "Sarah", + family = "Lucas", + role = "ctb", + email = "salucas@umich.edu", + comment = c(ORCID = "0000-0003-1676-5801"))) +Description: An interface to build machine learning models for + classification and regression problems. 'mikropml' implements the ML + pipeline described by Topçuoğlu et al. (2020) + with reasonable default options for data + preprocessing, hyperparameter tuning, cross-validation, testing, model + evaluation, and interpretation steps. See the website + for more information, documentation, and examples. License: MIT + file LICENSE -Encoding: UTF-8 -LazyData: true -Roxygen: list(markdown = TRUE) -RoxygenNote: 7.1.1 +URL: https://www.schlosslab.org/mikropml/, + https://github.com/SchlossLab/mikropml +BugReports: https://github.com/SchlossLab/mikropml/issues +Depends: + R (>= 2.10) Imports: caret, dplyr, @@ -94,6 +86,9 @@ Suggests: rmarkdown, testthat, tidyr -VignetteBuilder: knitr -Depends: - R (>= 2.10) +VignetteBuilder: + knitr +Encoding: UTF-8 +LazyData: true +Roxygen: list(markdown = TRUE) +RoxygenNote: 7.1.1 From bfa163528aff7e006576721dbbaf1b8f583d11c7 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Fri, 19 Nov 2021 21:48:01 -0500 Subject: [PATCH 3/4] tidy & modify cran-comments environments --- cran-comments.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index 99b2f2bb..99718375 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,10 +1,9 @@ ## Test environments -- local macOS install; R 4.1.1 -- win-builder; R release -- github-actions macOS-latest; R release -- github-actions ubuntu-latest; R devel, devel, and oldrel -- github-actions windows-latest; R release +* GitHub Actions (ubuntu-16.04): devel, release, oldrel +* GitHub Actions (windows): release +* GitHub Actions (macOS): release +* win-builder: devel ## R CMD check results From 0b4146bb4b1394a4d247d8f5e33b357361a24174 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 22 Nov 2021 16:22:52 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=93=91=20Build=20docs=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/SUPPORT.html | 208 +++++++++++++++++++++++++ docs/index.html | 13 +- docs/pkgdown.yml | 2 +- docs/reference/get_perf_metric_fn.html | 6 +- 4 files changed, 219 insertions(+), 10 deletions(-) create mode 100644 docs/SUPPORT.html diff --git a/docs/SUPPORT.html b/docs/SUPPORT.html new file mode 100644 index 00000000..416565e7 --- /dev/null +++ b/docs/SUPPORT.html @@ -0,0 +1,208 @@ + + + + + + + + +Getting help with mikropml • mikropml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ +
+
+ + +
+ +

Thanks for using mikropml! Before filing an issue, there are a few places to explore and pieces to put together to make the process as smooth as possible.

+
+

+Make a reprex

+

Start by making a minimal reproducible example using the reprex package. If you haven’t heard of or used reprex before, you’re in for a treat! Seriously, reprex will make all of your R-question-asking endeavors easier (which is a pretty insane ROI for the five to ten minutes it’ll take you to learn what it’s all about). For additional reprex pointers, check out the Get help! section of the tidyverse site.

+
+
+

+Where to ask?

+

Armed with your reprex, the next step is to figure out where to ask.

+
    +
  • If it’s a question: start with community.rstudio.com, and/or StackOverflow. There are more people there to answer questions.

  • +
  • If it’s a bug: you’re in the right place, file an issue.

  • +
  • If you’re not sure: let the community help you figure it out! If your problem is a bug or a feature request, you can easily return here and report it.

  • +
+

Before opening a new issue, be sure to search issues and pull requests to make sure the bug hasn’t been reported and/or already fixed in the development version. By default, the search will be pre-populated with is:issue is:open. You can edit the qualifiers (e.g. is:pr, is:closed) as needed. For example, you’d simply remove is:open to search all issues in the repo, open or closed.

+
+
+

+What happens next?

+

To be as efficient as possible, development of tidyverse packages tends to be very bursty, so you shouldn’t worry if you don’t get an immediate response. Typically we don’t look at a repo until a sufficient quantity of issues accumulates, then there’s a burst of intense activity as we focus our efforts. That makes development more efficient because it avoids expensive context switching between problems, at the cost of taking longer to get back to you. This process makes a good reprex particularly important because it might be multiple months between your initial report and when we start working on it. If we can’t reproduce the bug, we can’t fix it!

+
+
+ +
+ + + +
+ + + + +
+ + + + + + + + diff --git a/docs/index.html b/docs/index.html index 94c30817..6fb6957f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,12 +18,13 @@ -