package is not available under install

I'm trying to migrate from Windows to RStudio Cloud. I have a package called fundAnalysis. I uploaded the source files for the package to the Cloud and used devtools::build() to create a .tar.gz. and then install and received the following message. What would cause this?

install.packages("fundAnalysis_0.0.0.9016.tar.gz")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘fundAnalysis_0.0.0.9016.tar.gz’ is not available (for R version 3.6.0)

To install from source files, try setting these options

install.packages("fundAnalysis_0.0.0.9016.tar.gz", repos = NULL, type="source")

Note: Be aware that if your package requires more than 1GB of RAM to compile, it is not going to be possible to install it on RStudio Cloud because of the RAM limit.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.