Skip to content

Future of vignettes *flu* and *laser*? #138

Open

Description

@cbeleites

Vignette flu imports its data set with an ASCII file import filter for Perkin Elmer data, laser likewise imports its data set with a Renishaw ASCII import.

As this function will be put into one of the file import packages, what to do with vignettes flu and laser?

  1. Put them into the file import packages,
    and add stubs in hyperSpec to tell people where to look for the vignettes?
  2. Keep them in hyperSpec, but without the file import?
  3. 2 separate vignettes each: one with import only in that package, the 2nd with the data analysis work flow in hyperSpec?
  4. Make it an article (in the pkgdown) sense?

Activity

  1. added
    Type: proposal 💡
    on May 21, 2020
  2. bryanhanson commented on May 21, 2020

    @bryanhanson
    Collaborator

    IIRC from the other day, the flu data set is about concentrations and calibration, laser is about time-series. At the same time, both have import tasks associated with them. So in my thinking they must be in the fileio package. As far as illustrating how to handle calibration and time-series, those could be their own vigs in the main package, which start out with "if you don't already have the data, take a look over here..."

    hyperSpec provides a lot of nice vigs. I think there is an argument to include a "Guide to the Vignettes" in the main package which points to all vigs with a short description.

  3. added
    Topic: documentation 📘
    on May 21, 2020
  4. cbeleites commented on May 21, 2020

    @cbeleites
    OwnerAuthor

    @bryanhanson : If I understand you correctly, you argue for solution 3.?

  5. GegznaV commented on May 21, 2020

    @GegznaV
    Collaborator

    As I understand, all the hyperSpec packages should create an ecosystem. Each package could have some quick-start guides and some "light" vignettes that do not require extremely large data files. As a part of that ecosystem could be a separate GitHub repository that contains resources for extensive documentation (e.g., book). I translate the vignettes with the idea that they could be easily converted into a bookdown book.

    For some ideas how R package and extensive documentation could be split, you may look at this help page of rstatix package: help("anova_test", package = "rstatix").
    image
    It contains some brief examples and links (underlined text) to the online website that describes the methods in detail.

    About flu and laser vignettes – they are good examples of case studies and shouldn't be split into separate documents. I think, end-to-end tutorials are very important to people who are learning new things.

    Make it an article (in the pkgdown) sense?

    For disambiguation: pkgdown website is the documentation of a package, which (in addition to the regular form of documentation that is distributed with the package) is provided in an on-line-friendly form. Everything that is documented in the package is converted into and represented as the website. A "pkgdown article" is just a fancy word by the tidyverse developers for a vignette that is written in R Markdown.

  6. cbeleites commented on May 21, 2020

    @cbeleites
    OwnerAuthor

     A "pkgdown article" is just a fancy word by the tidyverse developers for a vignette that is written in R Markdown.

    ... but with the possibility to have this vignette only online and not distributed with the package explicitly in mind. (via .Rbuildignore).

    @GegznaV Do you have any better term for online-only vignettes?

  7. GegznaV commented on May 21, 2020

    @GegznaV
    Collaborator

    (via .Rbuildignore).

    It's more clear now.

    vignette only online

    We will experiment on this after the functional pkgdown website is created.

  8. bryanhanson commented on May 21, 2020

    @bryanhanson
    Collaborator

    Yes, sorry to be unclear, I like option 3.

  9. ximeg commented on May 24, 2020

    @ximeg
    Collaborator

    Same for me, I vote for option 3

  10. eoduniyi commented on May 25, 2020

    @eoduniyi
    Collaborator

    I vote for option 3

  11. added
    Topic: vignette 📗
    on May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Topic: documentation 📘Topic: vignette 📗Type: proposal 💡

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions