jsq R package?

Discuss the jamovi platform, possible improvements, etc.
Post Reply
kcipora
Posts: 2
Joined: Tue Oct 05, 2021 2:27 pm

jsq R package?

Post by kcipora »

Dear Jonathon et al.,

I was wondering whether there is a chance that the jsq R package will be released (or that it is already available, but I cannot find it). It would be of a great help for our current project, which we want to make fully reproducible via R script.

The JAMOVI tool seems to be the most reasonable method to get a nice Bayesian correlation matrix together with credible intervals.

Any advice greatly appreciated!

Cheers,
Krzysztof
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: jsq R package?

Post by MAgojam »

Hi, Krzysztof.

Didn't think about checking it out here:
https://github.com/jonathon-love/jsq

Cheers,
Maurizio
kcipora
Posts: 2
Joined: Tue Oct 05, 2021 2:27 pm

Re: jsq R package?

Post by kcipora »

Hi Maurizio,

My bad!
After finding the repo before I, for some unexplained reasons, thought it was the source code of the jamovi library rather than the actual R package... As if the "R" folder name was not suggestive enough...

Sorry and thanks for help!

Cheers,
Krzysztof
jbuczny
Posts: 4
Joined: Tue Jun 28, 2022 10:18 am

Re: jsq R package?

Post by jbuczny »

Hi there!

While is try to install the package form the repository: remotes::install_github('jonathon-love/jsq'), I receive the following feedback:

---

ERROR: dependency ‘conting’ is not available for package ‘jsq’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/jsq’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/qd/wsq7vs7j3tl4g6vcqkzsshn00000gn/T//Rtmpnqf7WX/file14912e9d01df/jsq_1.2.0.tar.gz’ had non-zero exit status

---

The conting package seems retractracted from CRAN. Manual installation does not help. Any solution? I want to run Bayesian ANCOVA in RStudio.

Thanks!
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: jsq R package?

Post by jonathon »

manual installation should work ...

jonathon
jbuczny
Posts: 4
Joined: Tue Jun 28, 2022 10:18 am

Re: jsq R package?

Post by jbuczny »

I tried to manually install the dependent package, but the installation was not successful.

Do you have any suggestions, Jonathon, how to bypass this?

J
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: jsq R package?

Post by jonathon »

let us figure out why the installation of conting was not successful ... what error did you receive?

jonathon
jbuczny
Posts: 4
Joined: Tue Jun 28, 2022 10:18 am

Re: jsq R package?

Post by jbuczny »

(1) Downloaded form https://www.jstatsoft.org/article/view/v058i07

> install.packages("~/Downloads/conting_1.3.tar.gz", repos = NULL, type = "source")
ERROR: dependencies ‘BMS’, ‘tseries’ are not available for package ‘conting’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/conting’
Warning in install.packages :
installation of package ‘/Users/jbuczny/Downloads/conting_1.3.tar.gz’ had non-zero exit status

(2) Downloaded from https://cran.r-project.org/src/contrib/Archive/conting/

> install.packages("~/Downloads/conting_1.7.tar.gz", repos = NULL, type = "source")
ERROR: dependencies ‘BMS’, ‘tseries’ are not available for package ‘conting’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/conting’
Warning in install.packages :
installation of package ‘/Users/jbuczny/Downloads/conting_1.7.tar.gz’ had non-zero exit status

RStudio 2022.02.3 Build 492, R version 4.2.0, mac OS 11.6.7
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: jsq R package?

Post by jonathon »

as per the error, you just need to install the BMS and tseries packages first.

cheers

jonathon
jbuczny
Posts: 4
Joined: Tue Jun 28, 2022 10:18 am

Re: jsq R package?

Post by jbuczny »

Thank you.

Manual installation of BMS was necessary. All in all, jsq is successfully installed now.

J
Post Reply