rohan-shah / mpMap2

New version of mpMap
12 stars 5 forks source link

mpMap2 install error (using standard tools/ windows) #3

Closed TallyWright closed 5 years ago

TallyWright commented 5 years ago

To use mpmapinteractive2 - I've updated to R version 3.5.2 (2018-12-20) and I'm trying to reinstall mpMap2. I'm using the same method I used for the older R version. However, the package compile now fails. I have tested with Rtools version 33 and 35. The same error appears.

I'm using devtools :: install_github("rohan-shah/mpMap2")

The output is:

devtools :: install_github("rohan-shah/mpMap2") Downloading GitHub repo rohan-shah/mpMap2@master √ checking for file 'C:\Users\x991625\AppData\Local\Temp\RtmpAZSf9s\remotes498c71623fcc\rohan-shah-mpMap2-766d738/DESCRIPTION' ...

  • preparing 'mpMap2': (488ms) √ 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 (798ms)
  • building 'mpMap2_0.0.5.tar.gz'

Installing package into ‘C:/Users/x991625/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified)

*** arch - i386 c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-35~1.2/include" -DNDEBUG -I. -DUSE_OPENMP -fopenmp -O2 -Wall -mtune=generic -c alleleDataErrors.cpp -o alleleDataErrors.o In file included from alleleDataErrors.cpp:1:0: alleleDataErrors.h:3:18: fatal error: Rcpp.h: No such file or directory

include

              ^

compilation terminated. make: *** [alleleDataErrors.o] Error 1 ERROR: compilation failed for package 'mpMap2'

Thanks!

rohan-shah commented 5 years ago

I see the same error on travis-ci, looking into this soon.....

rohan-shah commented 5 years ago

I accidentally deleted a line from the DESCRIPTION file, oops! It's now updated on github, and I will put out a new release when I get the chance. In the meantime, can you build it off git and confirm that it works?

TallyWright commented 5 years ago

I've built on github using the same method, all seems to work fine! There are some warnings, but they don't seem to effect the functionality:

Warning: replacing previous import 'igraph::decompose' by 'stats::decompose' when loading 'mpMap2' Warning: replacing previous import 'igraph::spectrum' by 'stats::spectrum' when loading 'mpMap2' Warning: replacing previous import 'stats::hclust' by 'fastcluster::hclust' when loading 'mpMap2' ** help *** installing help indices converting help for package 'mpMap2' finding HTML links ... done addExtraMarkerFromRawCall html
addExtraMarkers html
finding level-2 HTML links ... done

Rd warning: C:/Users/x991625/AppData/Local/Temp/RtmpusuQok/R.INSTALL5c507b5fc71/mpMap2/man/addExtraMarkers.Rd:30: missing link 'orderCross' biparentalDominant html
combineMpcross html
detailedPedigree-class html
Rd warning: C:/Users/x991625/AppData/Local/Temp/RtmpusuQok/R.INSTALL5c507b5fc71/mpMap2/man/detailedPedigree-class.Rd:48: file link 'detailedPedigree' in package 'mpMap2' does not exist and so has been treated as a topic eightParentPedigreeImproperFunnels html
eightParentPedigreeRandomFunnels html
eightParentPedigreeSingleFunnel html
estimateMap html
Rd warning: C:/Users/x991625/AppData/Local/Temp/RtmpusuQok/R.INSTALL5c507b5fc71/mpMap2/man/estimateMap.Rd:22: file link 'qtl-package' in package 'qtl' does not exist and so has been treated as a topic estimateRF html
f2Pedigree html
formGroups html
fourParentPedigreeRandomFunnels html
fourParentPedigreeSingleFunnel html
imputeFounders html
internalOperators html
mapFunctions html
pedigree-class html
rilPedigree html
simulateMPCross html
sixteenParentPedigreeRandomFunnels html
twoParentPedigree html
building package indices testing if installed package can be loaded arch - i386 Warning: replacing previous import 'igraph::spectrum' by 'stats::spectrum' when loading 'mpMap2' Warning: replacing previous import 'igraph::decompose' by 'stats::decompose' when loading 'mpMap2' Warning: replacing previous import 'stats::hclust' by 'fastcluster::hclust' when loading 'mpMap2' arch - x64 Warning: replacing previous import 'igraph::decompose' by 'stats::decompose' when loading 'mpMap2' Warning: replacing previous import 'igraph::spectrum' by 'stats::spectrum' when loading 'mpMap2' Warning: replacing previous import 'stats::hclust' by 'fastcluster::hclust' when loading 'mpMap2'

Thanks!