Giter Club home page Giter Club logo

Comments (2)

trinker avatar trinker commented on September 26, 2024

I can't reproduce this. Can you try the following without pacman and see what you get:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BiocStyle")

from pacman.

NathanSkene avatar NathanSkene commented on September 26, 2024

Thanks for responding (and for developing the package!).

Ran this to confirm I still get the error:

> pacman::p_load("BiocStyle",try.bioconductor=TRUE,update.bioconductor=TRUE)
Installing package into ‘/home/nskene/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Installing package into ‘/home/nskene/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Warning messages:
1: package ‘TRUE’ is not available (for R version 3.6.1) 
2: In p_install(package, character.only = TRUE, ...) : 
3: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘TRUE’
4: package ‘TRUE’ is not available (for R version 3.6.1) 
5: In p_install(package, character.only = TRUE, ...) : 
6: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘TRUE’
7: In pacman::p_load("BiocStyle", try.bioconductor = TRUE, update.bioconductor = TRUE) :
  Failed to install/load:
TRUE, TRUE
> if (!requireNamespace("BiocManager", quietly = TRUE))
+     install.packages("BiocManager")
> 

Then here's what you suggested I run:

> BiocManager::install("BiocStyle")
Bioconductor version 3.9 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'BiocStyle'
trying URL 'https://bioconductor.org/packages/3.9/bioc/src/contrib/BiocStyle_2.12.0.tar.gz'
Content type 'application/x-gzip' length 738703 bytes (721 KB)
==================================================
downloaded 721 KB

* installing *source* package ‘BiocStyle’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (BiocStyle)

The downloaded source packages are in
	‘/tmp/RtmpVBlcCY/downloaded_packages’
Installation path not writeable, unable to update packages: boot, foreign, KernSmooth, MASS, Matrix, mgcv, nlme, survival

from pacman.

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.