Coder Social home page Coder Social logo

Comments (2)

Toseph avatar Toseph commented on July 19, 2024

To get around the two "type=" errors, I changed the lines on 261 and 265 to "==" which allows cisTools to finish compile and installing on R from source, though it might have been incorrect to do so this way.

[root@rstudio-sanjana01 snapatac]# R CMD INSTALL cisTopic installing to library ‘/usr/lib64/R/library’ installing *source* package ‘cisTopic’ ... R Error in parse(outFile) : /root/snapatac/cisTopic/R/RunModels.R:261:33: unexpected '=' 260: 261: if (length(models) < 3 && type=

Error in parse(outFile) : /root/snapatac/cisTopic/R/RunModels.R:265:61: unexpected '=' 264: 265: if (is.null([email protected][['runWarpModels']]) && type=

Now when loading the library it loads but with warnings,

` > library(cisTopic)
There were 17 warnings (use warnings() to see them)

warnings()
Warning messages:
1: replacing previous import ‘GenomicRanges::shift’ by ‘data.table::shift’ when loading ‘cisTopic’
2: replacing previous import ‘data.table::last’ by ‘dplyr::last’ when loading ‘cisTopic’
3: replacing previous import ‘GenomicRanges::union’ by ‘dplyr::union’ when loading ‘cisTopic’
4: replacing previous import ‘GenomicRanges::intersect’ by ‘dplyr::intersect’ when loading ‘cisTopic’
5: replacing previous import ‘GenomicRanges::setdiff’ by ‘dplyr::setdiff’ when loading ‘cisTopic’
6: replacing previous import ‘data.table::first’ by ‘dplyr::first’ when loading ‘cisTopic’
7: replacing previous import ‘data.table::between’ by ‘dplyr::between’ when loading ‘cisTopic’
8: replacing previous import ‘dplyr::failwith’ by ‘plyr::failwith’ when loading ‘cisTopic’
9: replacing previous import ‘dplyr::id’ by ‘plyr::id’ when loading ‘cisTopic’
10: replacing previous import ‘dplyr::summarize’ by ‘plyr::summarize’ when loading ‘cisTopic’
11: replacing previous import ‘dplyr::count’ by ‘plyr::count’ when loading ‘cisTopic’
12: replacing previous import ‘dplyr::desc’ by ‘plyr::desc’ when loading ‘cisTopic’
13: replacing previous import ‘dplyr::mutate’ by ‘plyr::mutate’ when loading ‘cisTopic’
14: replacing previous import ‘dplyr::arrange’ by ‘plyr::arrange’ when loading ‘cisTopic’
15: replacing previous import ‘dplyr::rename’ by ‘plyr::rename’ when loading ‘cisTopic’
16: replacing previous import ‘dplyr::summarise’ by ‘plyr::summarise’ when loading ‘cisTopic’
17: replacing previous import ‘dplyr::collect’ by ‘text2vec::collect’ when loading ‘cisTopic’
`

from cistopic.

cbravo93 avatar cbravo93 commented on July 19, 2024

Hi @Toseph !

Indeed, it was a typo I accidentally added in the last update yesterday, and your solution is correct. Now it should be solved.

Thanks a ton for reporting!

C

from cistopic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.