Comments (12)
I was literally writing the same thing XD
Yes, if you have few minutes would you mind try to remove that
library(DESeq2)
library(string)
and see if tidybulk installs without DESeq2
?
from tidybulk.
Remember that would need to add the zzz.R
script and its linked scripts as well. Because now you are not exporting anything anymore. Take example from tidySCE
package.
from tidybulk.
i also got this error in tests before I installed DESeq2
── Failed tests ─────────────────────────────────────
Error (test-bulk_methods.R:658:2): DESeq2 differential trancript abundance - no object
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called ‘DESeq2’
Backtrace:
▆
1. └─base::loadNamespace(x) at test-bulk_methods.R:658:8
2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
3. └─base (local) withOneRestart(expr, restarts[[1L]])
4. └─base (local) doWithOneRestart(return(expr), restart)
Error (test-bulk_methods.R:854:2): test prefix
<packageNotFoundError/error/condition>
Error in `library(DESeq2)`: there is no package called ‘DESeq2’
Backtrace:
▆
1. └─base::library(DESeq2) at test-bulk_methods.R:854:8
[ FAIL 2 | WARN 42 | SKIP 2 | PASS 203 ]
from tidybulk.
Why could it be. Maybe there is some object in /data directory which is carrying the DESeq2 class.
from tidybulk.
that error is just because i haven't installed DESeq2 and Suggests in DESCRIPTION
won't install the package automatically during the installation of tidybulk.
usually I'd add a few lines to detect uninstalled CRAN packages in tests/vignette, e.g.
list.pkg <- c("stringr", "DESeq2")
new.pkg <- list.pkg[!(list.pkg %in% installed.packages()[ ,"Package"])]
if (length(new.pkg)) {
install.packages(new.pkg, repos = "https://cloud.r-project.org/")
}
from tidybulk.
The problem is that it should not care about DESeq2
until you call test_differential_abundance
, in the same way, it does not care about edgeR
until you call test_differential_abundance
.
There must be some trace of DESeq2
somewhere. I think it is in the data/
directory. If some file in data/
directory includes DESeq2
class we should remove it.
By the way, I don't remember this error before, I m curious if for a tidybulk
version, 1-month-old, we have the same problem.
from tidybulk.
hmm seems like in tests/testthat/test-bulk_methods.R
test_that("test prefix",{
library(DESeq2)
library(stringr)
here directly uses DESeq2.
In get_differential_transcript_abundance_deseq2_SE()
in R/functions_SE.R
there is a install step already 👍
# Check if package is installed, otherwise install
if (find.package("DESeq2", quiet = TRUE) %>% length %>% equals(0)) {
message("Installing DESeq2 needed for differential transcript abundance analyses")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager", repos = "https://cloud.r-project.org")
BiocManager::install("DESeq2", ask = FALSE)
}
from tidybulk.
Sure! btw is this script dev/dplyr-master-methods.R
still being used? can I delete it? cz it causes some errors in checks
from tidybulk.
The way is to add it to .Rbuildignore
The whole dev directory should already been added to .Rbuildignore
. I don't see why it complains.
from tidybulk.
I don't know the examples there are being tested
* checking examples ... ERROR
Running examples in ‘tidybulk-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: arrange
> ### Title: Order rows using column values
> ### Aliases: arrange arrange.tidybulk
>
> ### ** Examples
>
> arrange(mtcars, cyl, disp)
Error in arrange(mtcars, cyl, disp) : could not find function "arrange"
Execution halted
the error is strange as well..
from tidybulk.
OK I think I found the problem. It was a dataset in the data/ directory. I created a PR that fixes this.
from tidybulk.
@chilampoon I believe is done.
from tidybulk.
Related Issues (20)
- for SE save internals within the metadata rather than attributes.
- github action mac fail HOT 1
- DEG Analysis Between Single Group with Multiple Groups HOT 6
- "Proportion of variance explained" values on reduce_dimensions() output HOT 1
- github actions give preflight error for the whole tidy stack HOT 1
- ERROR; return code from pthread_create() is 22 HOT 3
- pathway analysis using tidybulk HOT 8
- Design and contrasts for tidybulk test differential abundance function HOT 9
- Remove batch effect in test_differential_abundance
- Warning in CHECK, mistery
- test
- Improve the documentation for `tidybulk` HOT 29
- turn pseudobulk from scRNAseq with logCPM value back to a seurat object with counts value? HOT 2
- in `test_gene_rank` check if any feature is NA, because pivot_feature will fail
- the attribute "internals" $ tt_columns abundance_scaled, carries the environment with it inflating the RDS file size
- Prepare for upcoming Seurat v5 release
- Add the method to simplify complete confounders is they are not factor of interest
- limma:MakeContrasts integration issues HOT 2
- The sample data of the `test_gene_enrichment()` function reports an error and cannot be used. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidybulk.