Skip to content

Compare pacakge sizes #5

@bms63

Description

@bms63

Background

admiral has almost breached the 5MB size, which is a limit for CRAN submissions. We are trying to look for ways to reduce the size but looking at individual files within the R package and preparing dataframes that compare previous submission that is on CRAN with the development submission.

This is a bit tedious to do over and over again and I think an addin where we could supply the package in development and the package installed from CRAN.

There is some background discussion, images and code here: pharmaverse/admiral#2971

Definition of Done

  • Create an addin that can compare the development version and installed version of a package
  • The addin should produce two reports in the user directory
    • The first report should list all the sizes of each file in descending order
    • The second report should compare the sizes of each file between dev and install
      • This report should report the size differences between the two files
  • Both report should have location/file path of the file provided

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions