Comments (5)
This is very easy to add, but tedious. It will require modifying the roxygen-section of almost every single source file. However, the Usage section of documentation is extremely useful and should be added.
from phyloseq.
Done as of now.
from phyloseq.
@Usage tags missing after build w latest roxygen2 devel
Although the latest roxygen2 devel has solved many previous bugs and now allows a complete package build, the usage section is now missing from all functions, even after adding an explicit @Usage statement to all functions.
This is the cause behind a recent documentation issue for tipglom()
#44
And is basically a re-opening of the previous @Usage issue
from phyloseq.
There are two things to test, stemming from looking at the latest description of roxygen2 on the devtools wiki:
https://github.com/hadley/devtools/wiki/docs-function
(1) @Usage might be better left empty (nothing follows the tag but a newline), so that something automated in roxygen2 can add the "Usage" section automagically.
(update)
Leaving @Usage empty produces the following error with current roxygen2 devel (klutometis):
Error: usage requires a value in block helloworld.r:2
It appears "Usage" section is build some of the time, even with the latest roxygen2-devel that I thought was the origin of the problem. Instead, it is probably something else. . .
Okay, the problem appears to be that the latest roxygen-devel is not building the "Usage" section for S4 generics, but is building it for vanilla functions, even if both have an explicit @Usage tag.
The solution, for now, will be option (2) below. Revert to that build of roxygen2, re-build the documentation, hope that this issue was already present in that version. If so, will have to wait.
Either way, this bug needs to be reported.
(2) If the above doesn't work, or the bug is more tedious, then can revert the installed roxygen2 to the modified fork that you have saved under joey711:
install_github("roxygen", "joey711")
CONFIRMED. The latest klutometis fork does not build @usage/Usage sections for S4 generics, even if explicitly provided with @Usage tag. It builds "Usage" automagically from regular functions even when the @Usage tag is missing from the header. This is most likely a true bug in roxygen/klutometis fork. I will add it to the issue list if not already there. I'm aware from personal communication that the klutometis fork has been under recent development for documenting S4 generics/methods/classes, and this might be an artifact of that recent work.
CONFIRMED. The previous fork saved as a snapshot as roxygen/joey711 does properly build everything, including the Usage section for S4 generics. It will be used to build the phyloseq documentation prior to Bioconductor submission.
from phyloseq.
The bug was reported on the klutometis devel site:
from phyloseq.
Related Issues (20)
- phyloseq x metagMisc phyloseq_coverage_raref: Error "OTU abundance data must have non-zero dimensions"
- reorganization of x-axis for heat plot, using factors as x-axis
- . HOT 1
- Reverse the color of legend in phyloseq tree plot
- Showing top 5 genus in ordination plot legend HOT 3
- Phyloseq taxa don't match error, but TRUE when asked if values match? HOT 4
- merging two phyloseq objects is duplicating phyloseq objects
- Facet Taxa axis in Phyloseq heatmap
- Error in eval(call("force", as.symbol(paste0("..", x)))) HOT 3
- Very High Log2FoldChanges HOT 2
- How to decrease x axis size of rarefaction curve HOT 1
- Difference in relative abundance between MicrobiomeDB and r phyloseq
- MicroViz error Error in (function (cond) : error in evaluating the argument 'object' in selecting a method for function 'otu_table': Can't find column `OTU_ID` in `.data`. HOT 1
- Creating a relative abundance bar plot by body site
- Failure to merge files into a phyloseq object after renaming taxa, and sequences HOT 2
- Is it possible to transform sample counts by value stored in sample data? HOT 1
- `merge_phyloseq` fails if sample data contains only one column HOT 2
- Run the Wilcoxon test for each of the taxa ranks
- Missing reads creating phyloseq object after dada2 pipeline HOT 1
- Extremely wide variation of alpha diversity estimates among different studies
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 phyloseq.