Cooccur
C 68 completed
Other
unknown / r · tiny
23
Files
2,768
LOC
0
Frameworks
2
Languages
Pipeline State
completedRun ID
#1537399Phase
doneProgress
0%Started
2026-04-16 18:07:11Finished
2026-04-16 18:07:11LLM tokens
0Pipeline Metadata
Stage
SkippedDecision
skip_scaffold_dupNovelty
—Framework unique
—Isolation
—Last stage change
2026-04-16 18:15:42About: code-quality intelligence by Repobility · https://repobility.com
AI Prompt
Create an R function called `cooccurrence` that builds co-occurrence networks from various data formats. It should support six different input formats and allow users to specify eight different similarity measures and eight scaling methods. The function must return a tidy edge data frame with columns for `from`, `to`, `weight`, and `count`. I also want it to seamlessly convert the results to `igraph`, `tidygraph`, `cograph`, and `Nestimate` objects. Please include examples demonstrating its use with delimited fields and multi-column delimited data.
r statistics network-analysis bibliometrics data-science
Generated by gemma4:latest
Catalog Information
Create an R function called cooccurrence that builds co-occurrence networks from various data formats. It should support six different input formats and allow users to specify eight different similarity measures and eight scaling methods. The function must return a tidy edge data frame with columns for from, to, weight, and count. I also want it to seamlessly convert the results to igraph, tidygraph, cograph, and Nestimate objects. Please include examples demonstrating its use
Tags
r statistics network-analysis bibliometrics data-science
Quality Score
C
68.3/100
Structure
66
Code Quality
58
Documentation
55
Testing
70
Practices
78
Security
100
Dependencies
50
Strengths
- Good test coverage (67% test-to-source ratio)
- Good security practices — no major issues detected
- Properly licensed project
Weaknesses
- No CI/CD configuration — manual testing and deployment
Recommendations
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a linter configuration to enforce code style consistency
Languages
Frameworks
None detected
Embed Badge
Add to your README:
