8000 オブジェクト不在時の `transcribe()` がエラー · Issue #7 · uribo/sealr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.
This repository was archived by the owner on Oct 25, 2019. It is now read-only.
オブジェクト不在時の transcribe() がエラー #7
Open
@uribo

Description

@uribo
library(sealr)
transcribe(3.14)
#> The given object is not stored in any environment.
#> The given object is not stored in any environment.
#> Error in eval(parse(text = code, keep.source = FALSE), envir): object 'x' not found
x <- 3.14
transcribe(x)
#> [1] "test_that(\"x\", {expect_is(\nx,\n\"numeric\"\n)\nexpect_length(\nx,\n1L\n)\nexpect_equal(\nunique(x),\n3.14\n)\nexpect_equal(\nrange(x),\nc(3.14, 3.14)\n)})"
transcribe(3.14)
#> [1] "test_that(\"x\", {expect_is(\nx,\n\"numeric\"\n)\nexpect_length(\nx,\n1L\n)\nexpect_equal(\nunique(x),\n3.14\n)\nexpect_equal(\nrange(x),\nc(3.14, 3.14)\n)})"

Created on 2018-03-17 by the reprex package (v0.2.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0