You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Put them into the file import packages,
and add stubs in hyperSpec to tell people where to look for the vignettes?
Keep them in hyperSpec, but without the file import?
2 separate vignettes each: one with import only in that package, the 2nd with the data analysis work flow in hyperSpec?
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.
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").
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.
Activity
bryanhanson commentedon May 21, 2020
IIRC from the other day, the
fludata set is about concentrations and calibration,laseris about time-series. At the same time, both have import tasks associated with them. So in my thinking they must be in thefileiopackage. 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..."hyperSpecprovides 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.cbeleites commentedon May 21, 2020
@bryanhanson : If I understand you correctly, you argue for solution 3.?
GegznaV commentedon May 21, 2020
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
bookdownbook.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").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.
For disambiguation:
pkgdownwebsite 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 "pkgdownarticle" is just a fancy word by the tidyverse developers for a vignette that is written in R Markdown.cbeleites commentedon May 21, 2020
... 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?
GegznaV commentedon May 21, 2020
It's more clear now.
We will experiment on this after the functional
pkgdownwebsite is created.bryanhanson commentedon May 21, 2020
Yes, sorry to be unclear, I like option 3.
ximeg commentedon May 24, 2020
Same for me, I vote for option 3
eoduniyi commentedon May 25, 2020
I vote for option 3