Skip to content

Move Suggest-ed package tests out of tests.Rraw #5516

Description

@mattdowle

To reduce RAM usage in attempt to work on (I guess severely overloaded) CRAN Windows #5507
Thanks to a comment by @ben-schwen here: #5515 (comment)

Activity

  1. added this to the 1.14.5 milestone on Nov 8, 2022
  2. mattdowle commented on Nov 9, 2022

    @mattdowle
    MemberAuthor

    bit64 tends to be tagged onto sets of type tests, so that will be tricky to move out. There is a lot of usage too (52). Loading it uses 15MB so let's leave bit64 for now.

    x = system("grep -o 'if [(]test_[^)]*[)]' inst/tests/tests.Rraw", intern=TRUE)
    as.matrix(sort(table(x)))
                                    [,1]
    if (test_bit64 && test_R.utils)    1
    if (test_yaml)                     1
    if (test_xts)                      4
    if (test_longdouble)               5
    if (test_nanotime)                 6
    if (test_R.utils)                 28
    if (test_bit64)                   52
    
    # fresh R
    rss = function()as.integer(as.numeric(system(paste0("ps -o rss --no-headers ",Sys.getpid()),intern=TRUE))/1024)
    rss()
    # 53
    require(bit64)
    rss()
    # 68
    
  3. modified the milestones: 1.14.9, 1.15.0 on Oct 29, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions