We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibly related to #55. With:
> foo <- function(...) get("...", mode="...", envir=environment()) > x <- foo(a=1, b=2) > str(x) length 2, mode "...": 1 2 > str(x[1][[1]]) promise to NULL
you get:
> pryr::inspect(x) type: 17Error in inspect_(x, env) : Unimplemented type Enter a frame number, or 0 to exit 1: pryr::inspect(x) 2: inspect_(x, env) 3: stop(list(message = "Unimplemented type", call = inspect_(x, env), cppstack ...
> pryr::inspect(x[1]) <VECSXP 0x5562f6e81d60> <PROMSXP 0x5562f6bae7f0> value: [REALSXP 0x5562f6dd49a8] code: <REALSXP 0x5562f6dd49a8> env: NULL
> sessionInfo() R version 3.6.1 Patched (2019-10-31 r77348) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.3 LTS Matrix products: default BLAS: /home/hb/software/R-devel/R-3-6-branch/lib/R/lib/libRblas.so LAPACK: /home/hb/software/R-devel/R-3-6-branch/lib/R/lib/libRlapack.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.6.1 pryr_0.1.4 magrittr_1.5 tools_3.6.1 [5] Rcpp_1.0.2 stringi_1.4.3 codetools_0.2-16 stringr_1.4.0
The text was updated successfully, but these errors were encountered:
pryr is unlikely to get updated.
With lobstr it seems to work:
lobstr::sxp(x[1][[1]]) #> [1:0x7f9fad6b9ef0] <PROMSXP> (named:7) #> _value [2:0x7f9faa801e38] <SYMSXP> (named:7) #> _code [3:0x7f9fb107bc50] <REALSXP[1]> (named:7) #> _env [4:0x7f9faa060390] <ENVSXP: global> (named:7)
Sorry, something went wrong.
oops this should be:
lobstr::sxp(x) #> [1:0x7f9fad6b9c88] <DOTSXP> (named:7) #> a [2:0x7f9fad6b9ef0] <PROMSXP> (named:7) #> _value [3:0x7f9faa801e38] <SYMSXP> (named:7) #> _code [4:0x7f9fb107bc50] <REALSXP[1]> (named:7) #> _env [5:0x7f9faa060390] <ENVSXP: global> (named:7) #> b [6:0x7f9fad6b9e80] <PROMSXP> (named:0) #> _value [3:0x7f9faa801e38] #> _code [7:0x7f9fb107bc88] <REALSXP[1]> (named:7) #> _env [5:0x7f9faa060390]
Thxs. Didn't know lobstr was replacing pryr - it's hard to stay up-to-date with you guys :p
No branches or pull requests
Possibly related to #55. With:
you get:
The text was updated successfully, but these errors were encountered: