This is a test version of Biostars. For the public version, visit https://www.biostars.org.
load failed for EGSEA on R Studio

I am trying to install EGSEA however, I keep getting the following error

Error: package or namespace load failed for ‘EGSEA’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘mnormt’

I tried to install mnormt which resulted in a long list of warnings.

installing the source package ‘mnormt’

trying URL 'https://cran.rstudio.com/src/contrib/mnormt_2.0.1.tar.gz'
Content type 'application/x-gzip' length 50589 bytes (49 KB)
==================================================
downloaded 49 KB

* installing *source* package ‘mnormt’ ...
** package ‘mnormt’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2  -c biv-nt.f -o biv-nt.o
biv-nt.f:371:11:

  371 |       hs = sign( one, dh - r*dk )
      |           1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
biv-nt.f:372:11:

  372 |       ks = sign( one, dk - r*dh )
      |           1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c mnormt_init.c -o mnormt_init.o
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2  -c sadmvnt.f -o sadmvnt.o
sadmvnt.f:977:3:

  977 |  10      END DO
      |   1
Warning: Label 10 at (1) defined but not used [-Wunused-label]
sadmvnt.f:81:15:

   81 |       INFORM = MVNNIT( N, CORREL, LOWER, UPPER, INFIN, INFIS, D, E )
      |               1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:218:38:

  218 |         IF ( MINCLS .LT. 0 ) SBRGNS = WORK(LENWRK)
      |                                      1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:276:21:

  276 |             RGNCLS = RGNCLS*(MESH(DIVAXN)+1)/MESH(DIVAXN)
      |                     1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:277:21:

  277 |             NWRGNS = NWRGNS*(MESH(DIVAXN)+1)/MESH(DIVAXN)
      |                     1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1275:24:

 1275 |                POINTS = PONTRS(SUBTMP)
      |                        1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1276:24:

 1276 |                POINTP = PONTRS(SUBTMP+1)
      |                        1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1284:21:

 1284 |             POINTS = PONTRS(SUBTMP)
      |                     1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1304:21:

 1304 |             POINTS = PONTRS(SUBTMP)
      |                     1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:325:15:

  325 |          TOP = PONTRS(1)
      |               1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:332:21:

  332 |             RGNCLS = RGNCLS*MESH(I)
      |                     1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:337:18:

  337 |          RGNCLS = RGNCLS*(MESH(DIVAXN)+1)/MESH(DIVAXN)
      |                  1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1586:3:

 1586 |  10      END DO
      |   1
Warning: Label 10 at (1) defined but not used [-Wunused-label]
sadmvnt.f:1433:15:

 1433 |       INFORM = MVTNIT( N, NU, CORREL, LOWER, UPPER, INFIN, INFIS, D, E )
      |               1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
sadmvnt.f:1662:0:

 1662 |      &              /( 1 + BMIN**2/(NU+I-1) )**( (NU+I-2)/TWO )
      | 
Warning: 'bmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
sadmvnt.f:1659:0:

 1659 |      &              /( 1 + AMIN**2/(NU+I-1) )**( (NU+I-2)/TWO )
      | 
Warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
sadmvnt.f:1128:0:

 1128 |       INTEGER S, IXCHNG, LXCHNG, I, L
      | 
Warning: 'lxchng' may be used uninitialized in this function [-Wmaybe-uninitialized]
sadmvnt.f:805:0:

  805 |       END
      | 
Warning: '__result_bvn' may be used uninitialized in this function [-Wmaybe-uninitialized]
sadmvnt.f:763:0:

  763 |       DOUBLE PRECISION FUNCTION BVN ( LOWER, UPPER, INFIN, CORREL )
      | 
note: '__result_bvn' was declared here
sadmvnt.f:1045:0:

 1045 |                   IF ( INFI(I) .EQ. 0 ) Y(I) = BMIN
      | 
Warning: 'bmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
sadmvnt.f:1046:0:

 1046 |                   IF ( INFI(I) .EQ. 1 ) Y(I) = AMIN
      | 
Warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2  -c tvpack.f -o tvpack.o
tvpack.f:459:14:

  459 |          HS = SIGN( ONE, DH - R*DK )
      |              1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
tvpack.f:460:14:

  460 |          KS = SIGN( ONE, DK - R*DH )
      |              1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
tvpack.f:126:52:

  126 |       DOUBLE PRECISION ONE, ZRO, EPS, ZROS(3), HS(3), TVT
      |                                                    1
Warning: Unused variable 'hs' declared at (1) [-Wunused-variable]
tvpack.f:126:45:

  126 |       DOUBLE PRECISION ONE, ZRO, EPS, ZROS(3), HS(3), TVT
      |                                             1
Warning: Unused variable 'zros' declared at (1) [-Wunused-variable]
tvpack.f:286:0:

  286 |       END
      | 
Warning: 'fin' may be used uninitialized in this function [-Wmaybe-uninitialized]
tvpack.f:262:0:

  262 |       DOUBLE PRECISION EI(NL), AI(NL), BI(NL), FI(NL), FIN, ERR, KRNRDT
      | 
note: 'fin' was declared here
clang -mmacosx-version-min=10.13 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o mnormt.so biv-nt.o mnormt_init.o sadmvnt.o tvpack.o -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mnormt.so] Error 1
ERROR: compilation failed for package ‘mnormt’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/mnormt’
Warning in install.packages :
  installation of package ‘mnormt’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/cc/w14vc6710qxd_v4snt40fl2c0000gn/T/RtmptqJ8vI/downloaded_packages’
rna-seq rstudio egsea

0 answers

No answers yet.

Log in to answer this question.