R package, size of dataset vis-a-vis code -


I am preparing a R package to run Wang-We-Zhu export decomposition ().

The entire package is only 7 9 kilobytes.

I want to give an example dataset, especially because the input objects are complex, a relevant real-world dataset is available, however, the total size of the Radiata object will be approximately 1 megabyte.

My question is, would it be nice to include this relevant dataset, is it bigger than the package?

The code is not much smaller than the data. However, I will not be the only one to give the following suggestions (especially if you want to submit to CRAN):

  • Consult the manual. Specifically, make sure that the data file is in compressed format and use LazyData when applicable.
  • There is one or two things to say about data files, there is a maximum of 5 MB for documentation and data. If the code is likely to change and there is no data, consider creating a separate data package.
  • can also be distributed, so it is possible to write "vignette" which is not manufactured from running code, the package has been bundled, but instead of how the data is downloaded, the static shown Usage is shown with code snippet. It is forbidden to download itself to Vignette, manual says that all the files needed to create it must be available on the local file system.

    I also have to ask whether there is a subset that is not enough to describe the usage of data packages.

    Finally, if you do not intend to submit to a package repository, then I can not imagine violating a megabyte download etiquette.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -