if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.12")
I've tried this a dozen times, still the same problem, the whole thing shows like this:
Installing package into ‘C:/Users/User/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
BiocManager 1.30.12 1.30.15 FALSE
installing the source package ‘BiocManager’
trying URL 'https://cran.rstudio.com/src/contrib/BiocManager_1.30.15.tar.gz'
Content type 'application/x-gzip' length 262210 bytes (256 KB)
downloaded 256 KB
usage: gdc-client.exe [-h] [--version] {download,upload,settings} ...
The Genomic Data Commons Command Line Client
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
commands:
{download,upload,settings}
for more information, specify -h after a command
download download data from the GDC
upload upload data to the GDC
settings display default settings
gdc-client error: argument command: invalid choice: '/c' (choose from 'download', 'upload', 'settings')
Warning in install.packages :
installation of package ‘BiocManager’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\User\AppData\Local\Temp\RtmpasGEa5\downloaded_packages’
> BiocManager::install(version = "3.12")
Error in loadNamespace(name) : there is no package called ‘BiocManager’