Re: Variable names in Jamovi R vs. System R?
Posted: Fri Mar 13, 2020 1:51 am
hmm, you're right, this is freaking ridiculous.
so i've forked RSA, stripped out all references to tcltk, tkrplot, and committed it here:
https://github.com/jonathon-love/RSA
next i've cloned your project, and tweaked the imports as follows:
Imports: jmvcore (>= 0.8.5), R6, formula.tools, lavaan, aplpack
Remotes: jonathon-love/RSA
and still i get:
```
* installing *source* package ‘RSA’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: S3 methods ‘as.character.tclObj’, ‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, ‘[[<-.tclArray’, ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’, ‘names<-.tclArray’, ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’, ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’, ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’, ‘close.tkProgressBar’ were declared in NAMESPACE but not found
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
Execution halted
ERROR: lazy loading failed for package ‘RSA’
* removing ‘/Users/jonathon/Documents/GitHub/rsaj/build/R3.6.1-macos/RSA’
Error: Failed to install 'RSA' from GitHub:
(converted from warning) installation of package ‘/var/folders/k2/zv10wscj78b3q6q2qjyhy3b40000gn/T//RtmpTQqHhL/file3d9dff64fdb/RSA_0.9.13.tar.gz’ had non-zero exit status
Execution halted
Failed to install remotes
```
and i'm like, wtf! *NONE* of these things are defined in the NAMESPACE. this is really weird.
jonathon
so i've forked RSA, stripped out all references to tcltk, tkrplot, and committed it here:
https://github.com/jonathon-love/RSA
next i've cloned your project, and tweaked the imports as follows:
Imports: jmvcore (>= 0.8.5), R6, formula.tools, lavaan, aplpack
Remotes: jonathon-love/RSA
and still i get:
```
* installing *source* package ‘RSA’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: S3 methods ‘as.character.tclObj’, ‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, ‘[[<-.tclArray’, ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’, ‘names<-.tclArray’, ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’, ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’, ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’, ‘close.tkProgressBar’ were declared in NAMESPACE but not found
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
Execution halted
ERROR: lazy loading failed for package ‘RSA’
* removing ‘/Users/jonathon/Documents/GitHub/rsaj/build/R3.6.1-macos/RSA’
Error: Failed to install 'RSA' from GitHub:
(converted from warning) installation of package ‘/var/folders/k2/zv10wscj78b3q6q2qjyhy3b40000gn/T//RtmpTQqHhL/file3d9dff64fdb/RSA_0.9.13.tar.gz’ had non-zero exit status
Execution halted
Failed to install remotes
```
and i'm like, wtf! *NONE* of these things are defined in the NAMESPACE. this is really weird.
jonathon