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
Can you write down the main points, why make is used in hyperSpec?
To build vignettes? And if it is the only reason, we can temporarily remove vignettes and return them back later.
To build data? In this scenario, we can use usethis::use_data() to save data in a correct format to make them distributable with hyperSpec. Later, we can write instructions (documentation) how these datasets could be obtained from the raw data.
chondro and fileio vignettes will anyways be removed during GSoC since chondro will become its own data package and the file import functions will be split into several packages dedicated each to a single file format.
the raw data files of flu can easily live in the package rawdata (or raw_data) directory. They are actually shipped with the package. The data set technically is in flu.rda, though, which is created from the files in the raw data directory when the vignette is built. As the file import functions are going to be separated into their own packages, this is not possible any more. => Future of vignettes *flu* and *laser*? #138
The main idea historically was to make sure vignettes and data kept in sync - even if the vignette was distributed pre-built. So, yes, flu, laser, barbiturates and paracetamol are built from their raw data when the vignettes are built. AFAIK, we cannot have this inside the package.
So: Convert small data sets to "static" versions #137
Due to the changes in #159, we can build a package without make. Is this enough to close this issue or some other changes should be made? (E.g., some more Make files be removed).
Activity
cbeleites commentedon May 21, 2020
An immediately needed "subissue" of this is to sufficiently reduce the usage of
maketo allowdevtools::build()anddevtools::check()to run.GegznaV commentedon May 21, 2020
Can you write down the main points, why
makeis used in hyperSpec?usethis::use_data()to save data in a correct format to make them distributable with hyperSpec. Later, we can write instructions (documentation) how these datasets could be obtained from the raw data.What are the other reasons?
cbeleites commentedon May 21, 2020
@GegznaV
vignette/directory.flucan easily live in the packagerawdata(orraw_data) directory. They are actually shipped with the package. The data set technically is influ.rda, though, which is created from the files in the raw data directory when the vignette is built. As the file import functions are going to be separated into their own packages, this is not possible any more. => Future of vignettes *flu* and *laser*? #138The main idea historically was to make sure vignettes and data kept in sync - even if the vignette was distributed pre-built. So, yes,
flu,laser,barbituratesandparacetamolare built from their raw data when the vignettes are built. AFAIK, we cannot have this inside the package.So: Convert small data sets to "static" versions #137
see also How to handle large data sets #129
GegznaV commentedon Jun 16, 2020
Due to the changes in #159, we can build a package without
make. Is this enough to close this issue or some other changes should be made? (E.g., some moreMakefiles be removed).eoduniyi commentedon Jun 22, 2020
cbeleites commentedon Jul 5, 2020
No more
make😄eoduniyi commentedon Jul 6, 2020