search for: methods_insertsource

Displaying 2 results from an estimated 2 matches for "methods_insertsource".

2018 Jan 29
2
bug [methods]: double execution of `insertSource` within the same session does not work
...ed working. I figured out, that it is because I am using it on the same function multiple times within one session. It also produces warnings even during the first call, but somehow still works. Below I provide a reproducible example: SETUP: ```bash demetrio at laptop:[folder_structure]/Bugreports/methods_insertSource$ ls -a . .. gmapsdistance_fix.R methods_insertSource.R ``` file `gmapsdistance_fix.R` ```R gmapsdistance = function(param) { print('I am a bug report, my params are:') print(param) } ``` file `methods_insertSource.R` ```R library(gmapsdistance) # works with any package metho...
2018 Jan 29
0
bug [methods]: double execution of `insertSource` within the same session does not work
...is > because I am using it on the same function multiple times within one > session. It also produces warnings even during the first call, but somehow > still works. Below I provide a reproducible example: > > SETUP: > ```bash > demetrio at laptop:[folder_structure]/Bugreports/methods_insertSource$ ls -a > . .. gmapsdistance_fix.R methods_insertSource.R > ``` > > file `gmapsdistance_fix.R` > ```R > gmapsdistance = function(param) { > print('I am a bug report, my params are:') > print(param) > } > ``` > > > file `methods_insertSource.R...