Hi,
I'm almost entirely new to coding and currently taking a course on Bioconductor in edX. I'm trying to download a package which is required to complete an assessment however this is what I get:
BiocManager::install("tissueGeneExpression")
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.2 (2020-06-22)
Installing package(s) 'tissueGeneExpression'
package ‘tissueGeneExpression’ is not available (for R version 4.0.2)
I tried to install an older version of R, however it didn't help. I tried to find a way to overcome this problem online, but I can't really figure how to do it. Any help would be very appreciated :)
If this is the tissuesGeneExpression that's part of the genomicsclass GitHub (note that it's tissuesGeneExpression, with an s), then you have to do it a slightly different way.
> library(BiocManager)
Bioconductor version 3.11 (BiocManager 1.30.10), ?BiocManager::install for help
> install("genomicsclass/tissuesGeneExpression")
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.0 (2020-04-24)
Installing github package(s) 'genomicsclass/tissuesGeneExpression'
Downloading GitHub repo genomicsclass/tissuesGeneExpression@HEAD
v checking for file 'C:\Users\Public\Documents\Wondershare\CreatorTemp\RtmpATmFpP\remotes498833df72f\genomicsclass-tissuesGeneExpression-a43cf4b/DESCRIPTION' (1s)
- preparing 'tissuesGeneExpression':
v checking DESCRIPTION meta-information
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- creating default NAMESPACE file
- building 'tissuesGeneExpression_1.0.tar.gz'
* installing *source* package 'tissuesGeneExpression' ...
** using staged installation
** data
** help
No man pages found in package 'tissuesGeneExpression'
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (tissuesGeneExpression)
> library(tissuesGeneExpression)
> data(package="tissuesGeneExpression")
Data sets in package 'tissuesGeneExpression':
e (tissuesGeneExpression)
tab (tissuesGeneExpression)
tissue (tissuesGeneExpression)
Problem solved! Managed to download it as an .rda file and open it with RStudio :)
Please move your comment to an answer and accept it to mark this question as resolved.