diff --git a/README.Rmd b/README.Rmd index 487eea30..fb9f9f0b 100644 --- a/README.Rmd +++ b/README.Rmd @@ -273,11 +273,6 @@ Install with: install.packages("wrapr") ``` -Or you get get the latest development version with: - -```{r, eval=FALSE} -devtools::install_github("WinVector/wrapr") -``` ## More Information diff --git a/README.md b/README.md index 07c74b8a..1aaa3c46 100644 --- a/README.md +++ b/README.md @@ -298,12 +298,6 @@ Install with: install.packages("wrapr") ``` -Or you get get the latest development version with: - -``` r -devtools::install_github("WinVector/wrapr") -``` - More Information ---------------- diff --git a/docs/articles/CornerCases.html b/docs/articles/CornerCases.html index 2764a87e..4f571e88 100644 --- a/docs/articles/CornerCases.html +++ b/docs/articles/CornerCases.html @@ -115,7 +115,7 @@

Corner Cases

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/CornerCases.Rmd diff --git a/docs/articles/DebugFnW.html b/docs/articles/DebugFnW.html index 67067a91..3b21354b 100644 --- a/docs/articles/DebugFnW.html +++ b/docs/articles/DebugFnW.html @@ -115,7 +115,7 @@

Debug Vignette

John Mount, Nina Zumel

-

2019-01-26

+

2019-01-27

Source: vignettes/DebugFnW.Rmd @@ -167,7 +167,7 @@

2019-01-26

## List of 4
 ##  $ fn       :function (i)  
 ##   ..- attr(*, "srcref")= 'srcref' int [1:8] 5 6 5 32 6 32 5 5
-##   .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7f9ec71f0858> 
+##   .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fe80ec4ec58> 
 ##  $ args     :List of 1
 ##   ..$ : num 0
 ##  $ namedargs: language df(x)
diff --git a/docs/articles/FrameTools.html b/docs/articles/FrameTools.html
index c14ff4d5..7fb15ba2 100644
--- a/docs/articles/FrameTools.html
+++ b/docs/articles/FrameTools.html
@@ -115,7 +115,7 @@
       

Frame Tools

John Mount, Win-Vector LLC

-

2019-01-26

+

2019-01-27

Source: vignettes/FrameTools.Rmd diff --git a/docs/articles/Function_Objects.html b/docs/articles/Function_Objects.html index da4e7a36..171061d9 100644 --- a/docs/articles/Function_Objects.html +++ b/docs/articles/Function_Objects.html @@ -115,7 +115,7 @@

Function Objects

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/Function_Objects.Rmd diff --git a/docs/articles/Named_Arguments.html b/docs/articles/Named_Arguments.html index be9c1889..906ac9ea 100644 --- a/docs/articles/Named_Arguments.html +++ b/docs/articles/Named_Arguments.html @@ -115,7 +115,7 @@

Named Arguments

John Mount, Win-Vector LLC

-

2019-01-26

+

2019-01-27

Source: vignettes/Named_Arguments.Rmd diff --git a/docs/articles/QuotingConcatinate.html b/docs/articles/QuotingConcatinate.html index 7beed5e1..080f510c 100644 --- a/docs/articles/QuotingConcatinate.html +++ b/docs/articles/QuotingConcatinate.html @@ -115,7 +115,7 @@

Quoting Concatinate

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/QuotingConcatinate.Rmd diff --git a/docs/articles/SubstitutionModes.html b/docs/articles/SubstitutionModes.html index 74347651..162fd5de 100644 --- a/docs/articles/SubstitutionModes.html +++ b/docs/articles/SubstitutionModes.html @@ -115,7 +115,7 @@

Substitution Modes

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/SubstitutionModes.Rmd diff --git a/docs/articles/bquote.html b/docs/articles/bquote.html index d143f35f..79ad1c8a 100644 --- a/docs/articles/bquote.html +++ b/docs/articles/bquote.html @@ -115,7 +115,7 @@

bquote

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/bquote.Rmd @@ -173,7 +173,7 @@

## envir = where, ## enclos = where) ## } -## <bytecode: 0x7fdeb6f34cf8> +## <bytecode: 0x7fb4bf0df0f8> ## <environment: namespace:wrapr>

All evalb() does is: call bquote() as intended. A way to teach this is to just call bqoute() alone.

bquote(
diff --git a/docs/articles/dot_pipe.html b/docs/articles/dot_pipe.html
index 095c2e0c..d70dca52 100644
--- a/docs/articles/dot_pipe.html
+++ b/docs/articles/dot_pipe.html
@@ -115,7 +115,7 @@
       

Dot Pipe

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/dot_pipe.Rmd diff --git a/docs/articles/lambda.html b/docs/articles/lambda.html index 0fcc8528..4a5ac6f0 100644 --- a/docs/articles/lambda.html +++ b/docs/articles/lambda.html @@ -115,7 +115,7 @@

lambda Function Builder

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/lambda.Rmd diff --git a/docs/articles/let.html b/docs/articles/let.html index 708ade8b..3a56ed0d 100644 --- a/docs/articles/let.html +++ b/docs/articles/let.html @@ -115,7 +115,7 @@

Let

Nina Zumel, John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/let.Rmd diff --git a/docs/articles/named_map_builder.html b/docs/articles/named_map_builder.html index a2186ced..ee53fed3 100644 --- a/docs/articles/named_map_builder.html +++ b/docs/articles/named_map_builder.html @@ -115,7 +115,7 @@

Named Map Builder

John Mount

-

2019-01-26

+

2019-01-27

Source: vignettes/named_map_builder.Rmd diff --git a/docs/articles/wrapr_applicable.html b/docs/articles/wrapr_applicable.html index cc927c14..6910f57d 100644 --- a/docs/articles/wrapr_applicable.html +++ b/docs/articles/wrapr_applicable.html @@ -115,7 +115,7 @@

wrapr_applicable

John Mount, Win-Vector LLC

-

2019-01-26

+

2019-01-27

Source: vignettes/wrapr_applicable.Rmd diff --git a/docs/index.html b/docs/index.html index 013cc84a..0d8109b5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -383,8 +383,6 @@

Installation

Install with:

install.packages("wrapr")
-

Or you get get the latest development version with:

-
devtools::install_github("WinVector/wrapr")

diff --git a/docs/reference/DebugFn.html b/docs/reference/DebugFn.html index 09186293..bedaf2bb 100644 --- a/docs/reference/DebugFn.html +++ b/docs/reference/DebugFn.html @@ -195,14 +195,14 @@

Examp # capture error on incorrect run tryCatch( DebugFn(saveDest, f, 12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugFn: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb6db08614.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugFn: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5442a909745.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb6db08614.RDS'); do.call(p$fn, p$args)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5442a909745.RDS'); do.call(p$fn, p$args)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 3 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4f9c8500> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb46bd6dd0> #> $ args :List of 1 #> ..$ : num 12 #> $ fn_name: chr "f"
# fix and re-run diff --git a/docs/reference/DebugFnE.html b/docs/reference/DebugFnE.html index b8b3bab0..c6b42914 100644 --- a/docs/reference/DebugFnE.html +++ b/docs/reference/DebugFnE.html @@ -195,17 +195,17 @@

Examp # capture error on incorrect run tryCatch( DebugFnE(saveDest, f, 12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugFnE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb17c0c438.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugFnE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54458717cc6.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb17c0c438.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54458717cc6.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 4 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4ea9c0d8> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb472731e8> #> $ args :List of 1 #> ..$ : num 12 -#> $ env :<environment: 0x7fae4ea9c458> +#> $ env :<environment: 0x7fdb47273568> #> $ fn_name: chr "f"
# fix and re-run situation$args[[1]] <- 6 do.call(situation$fn, situation$args, envir=situation$env)
#> [1] 6
# clean up diff --git a/docs/reference/DebugFnW.html b/docs/reference/DebugFnW.html index 51742ee0..bc4a66d4 100644 --- a/docs/reference/DebugFnW.html +++ b/docs/reference/DebugFnW.html @@ -192,14 +192,14 @@

Examp # capture error on incorrect run tryCatch( df(12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugFnW: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb57874e86.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugFnW: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54432d78b13.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb57874e86.RDS'); do.call(p$fn, p$args)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54432d78b13.RDS'); do.call(p$fn, p$args)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 4 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4caf9808> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb465b4858> #> $ args :List of 1 #> ..$ : num 12 #> $ namedargs: language df(12) @@ -222,7 +222,7 @@

Examp #> 'do.call(p$fn, p$args)' (replace 'p' with actual variable name)>

str(lastError)
#> List of 4 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 22 6 22 32 6 32 22 22 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4f14c5c8> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb481a9430> #> $ args :List of 1 #> ..$ : num 12 #> $ namedargs: language df(12) diff --git a/docs/reference/DebugFnWE.html b/docs/reference/DebugFnWE.html index 04e206c9..6605a582 100644 --- a/docs/reference/DebugFnWE.html +++ b/docs/reference/DebugFnWE.html @@ -197,19 +197,19 @@

Examp # capture error on incorrect run tryCatch( df(12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugFnWE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb7a1f8b0b.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugFnWE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5442b9875ef.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb7a1f8b0b.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5442b9875ef.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 5 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4fe8fe88> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb47abe7b8> #> $ args :List of 1 #> ..$ : num 12 #> $ namedargs: language df(12) #> $ fn_name : chr "f" -#> $ env :<environment: 0x7fae4fe90208>
# fix and re-run +#> $ env :<environment: 0x7fdb47abeb70>
# fix and re-run situation$args[[1]] <- 6 do.call(situation$fn, situation$args, envir=situation$env)
#> [1] 6
# clean up file.remove(saveDest)
#> [1] TRUE
diff --git a/docs/reference/DebugPrintFn.html b/docs/reference/DebugPrintFn.html index aa3a0723..82c5ab2c 100644 --- a/docs/reference/DebugPrintFn.html +++ b/docs/reference/DebugPrintFn.html @@ -197,14 +197,14 @@

Examp # capture error on incorrect run tryCatch( DebugPrintFn(saveDest, f, 12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugPrintFn: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb5a94a99c.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugPrintFn: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54445b2a9e2.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb5a94a99c.RDS'); do.call(p$fn, p$args)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd54445b2a9e2.RDS'); do.call(p$fn, p$args)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 3 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4a8ee980> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb42674c38> #> $ args :List of 1 #> ..$ : num 12 #> $ fn_name: chr "f"
# fix and re-run diff --git a/docs/reference/DebugPrintFnE.html b/docs/reference/DebugPrintFnE.html index 5db3a14c..8532aaa9 100644 --- a/docs/reference/DebugPrintFnE.html +++ b/docs/reference/DebugPrintFnE.html @@ -197,17 +197,17 @@

Examp # capture error on incorrect run tryCatch( DebugPrintFnE(saveDest, f, 12), - error = function(e) { print(e) })

#> <simpleError in value[[3L]](cond): wrapr::DebugPrintFnE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb5bdace18.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' + error = function(e) { print(e) })
#> <simpleError in value[[3L]](cond): wrapr::DebugPrintFnE: wrote '/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5444d8ecf55.RDS' on catching 'Error in (1:10)[[i]]: subscript out of bounds' #> You can reproduce the error with: -#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmp9zIcCB/debug79cb5bdace18.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details +#> 'p <- readRDS('/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpqi6igX/debugd5444d8ecf55.RDS'); do.call(p$fn, p$args, envir= p$env)'>
# examine details situation <- readRDS(saveDest) str(situation)
#> List of 4 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4d124a18> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb45ebeeb0> #> $ args :List of 1 #> ..$ : num 12 -#> $ env :<environment: 0x7fae4d124d98> +#> $ env :<environment: 0x7fdb45ebf230> #> $ fn_name: chr "f"
# fix and re-run situation$args[[1]] <- 6 do.call(situation$fn, situation$args, envir=situation$env)
#> [1] 6
# clean up diff --git a/docs/reference/buildNameCallback.html b/docs/reference/buildNameCallback.html index f91150da..41be287b 100644 --- a/docs/reference/buildNameCallback.html +++ b/docs/reference/buildNameCallback.html @@ -189,7 +189,7 @@

Examp str(lastError)

#> List of 4 #> $ fn :function (i) #> ..- attr(*, "srcref")= 'srcref' int [1:8] 3 6 3 32 6 32 3 3 -#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fae4f0f3f50> +#> .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x7fdb4651ef58> #> $ args :List of 1 #> ..$ : num 12 #> $ namedargs: language df(12)