Skip to content
New issue

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

Issues installing kliqfindR #5

Open
bsoller opened this issue Dec 16, 2022 · 2 comments
Open

Issues installing kliqfindR #5

bsoller opened this issue Dec 16, 2022 · 2 comments

Comments

@bsoller
Copy link

bsoller commented Dec 16, 2022

Hi Jason-
I was wondering if you could help me figure out this install error. I have installed the rtools for my version of R (4.2.1). I was able to install it on my old computer no problem. Thanks for your help. Below is what I get from R.
Thanks!
Brian

devtools::install_github("jtbates/kliqfindr", force=TRUE)
Downloading GitHub repo jtbates/kliqfindr@HEAD

checking for file 'C:\Users\bjsol\AppData\Local\Temp\Rtmp8WW9aN\remotesf545e5b8e5\jtbates-kliqfindr-e43f790/DESCRIPTION' ...

✔ checking for file 'C:\Users\bjsol\AppData\Local\Temp\Rtmp8WW9aN\remotesf545e5b8e5\jtbates-kliqfindr-e43f790/DESCRIPTION'

─ preparing 'kliqfindr': (554ms)
checking DESCRIPTION meta-information ...

checking DESCRIPTION meta-information ...

✔ checking DESCRIPTION meta-information
─ cleaning src

─ checking for LF line-endings in source and make files and shell scripts

─ checking for empty or unneeded directories

Omitted 'LazyData' from DESCRIPTION

─ building 'kliqfindr_0.0.0.9000.tar.gz'

Installing package into ‘C:/Users/bjsol/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)

  • installing source package 'kliqfindr' ...
    ** using staged installation
    ** libs
    gfortran -fno-optimize-sibling-calls -O2 -mfpmath=sse -msse2 -mstackrealign -c kliqfindr.f -o kliqfindr.o
    mkdir -p ../inst/bin
    gfortran doskliq/doskliq.f -o ../inst/bin/doskliq
    gfortran -fdollar-ok -w smacof1b/*.for -o ../inst/bin/smacof1b
    smacof1b/Smacof1b.for:1494:31:

1494 | CALL CONF1(X,H4,NP,ND,FORM3,INDATA,IINI)
| 1
Error: Rank mismatch in argument 'form3' at (1) (scalar and rank-1)
make: *** [Makevars:9: smacof1b_exec] Error 1
ERROR: compilation failed for package 'kliqfindr'

  • removing 'C:/Users/bjsol/AppData/Local/R/win-library/4.2/kliqfindr'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/bjsol/AppData/Local/Temp/Rtmp8WW9aN/filef54101f459b/kliqfindr_0.0.0.9000.tar.gz’ had non-zero exit status
@Jooyoung01
Copy link

Hi Brian,
I got the same issues when I the version of R-4.3.1
I solved the problem by uninstalling the new version of R (4.x.x) and reinstalling the versions below.
R version 3.6.2 (2019-12-12)
Rtools35.exe
-> install.packages("devtools",repos="http://cran.us.r-project.org")
-> library(devtools)
-> devtools::install_github("jtbates/kliqfindr", force=TRUE)
-> library(kliqfindr)
I hope this helps you solve the problem.
Jooyoung

@bsoller
Copy link
Author

bsoller commented Oct 12, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants