RfastOfficial / Rfast2

A collection of Rfast2 functions for data analysis. Note 1: The vast majority of the functions accept matrices only, not data.frames. Note 2: Do not have matrices or vectors with have missing data (i.e NAs). We do no check about them and C++ internally transforms them into zeros (0), so you may get wrong results. Note 3: In general, make sure you give the correct input, in order to get the correct output. We do no checks and this is one of the many reasons we are fast.
37 stars 4 forks source link

Can't install on Ubuntu 20.04.4 LTS with R 3.6.3 #18

Closed Lenticular closed 2 years ago

Lenticular commented 2 years ago

I realise that this is an old version of R on a rather old OS version (although still supported), but as far as I can tell I have all the required package versions (including Rcpp 1.0.3). However, when I try to install from CRAN with:

install.packages(Rfast2)

I get the following message:

** R Error in parse(outFile) : /tmp/RtmpfXWq0m/R.INSTALL286524c372d3e/Rfast2/R/onAttach.R:7:26: unexpected string constant 6: msg <- paste( 7: r"( ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ )" ^ ERROR: unable to collate and parse R files for package ‘Rfast2’

Any idea how I might fix or circumvent this? Thanks in advance!

ManosPapadakis95 commented 2 years ago

I don't think that this is our problem. Perhaps you need to update R (>=3.5).