镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

froll.Rraw could use test()'s options verbose #7013

Open

Description

@jangorecki

instead of using

options(datatable.verbose=TRUE)
test(...)
options(datatable.verbose=FALSE)

we could use

test(..., options(datatable.verbose=TRUE))

Filling out this issue to not forget.
As this is not a high priority, it is postponed till rolling functions related PRs are merged, to reduce work needed to resolve merge conflicts.

Activity

  1. jangorecki commented on May 23, 2025

    @jangorecki
    MemberAuthor

    I think we should not blindly replace all such instances as some extreme cases will bring an extra cost at no benefits really.

    In case of having hundreds of verbose tests (I don't think we have them here) in a block we will just waste a lot of screen for readers of those tests in future.
    Moreover package size will get unnecessarily bigger because of storing same string repeatedly hundreds of times.

  2. MichaelChirico commented on May 26, 2025

    @MichaelChirico
    Member

    In such cases we should wrap the block of tests in local(), to make them more hermetic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions