-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathknown_issues.Rmd
More file actions
38 lines (33 loc) · 1.21 KB
/
known_issues.Rmd
File metadata and controls
38 lines (33 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: Known issues
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Known issues}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
This document lists known issues with the package and suggests possible solutions.
```{r known-issues, echo=FALSE, results="asis"}
known_issues_path <- system.file("known_issues.yaml", package = "anndataR")
data <- yaml::read_yaml(known_issues_path)$known_issues
for (i in seq_along(data)) {
str <- paste0(
"## Issue: ", data[[i]]$description, "\n\n",
" * Affected backend: ", paste0("`", data[[i]]$backend, "`", collapse = ", "), "\n",
" * Affected slot(s): ", paste0("`", data[[i]]$slot, "`", collapse = ", "), "\n",
" * Affected dtype(s): ", paste0("`", data[[i]]$dtype, "`", collapse = ", "), "\n",
" * Probable cause: ", data[[i]]$process, "\n",
" * To investigate: ", data[[i]]$to_investigate, "\n",
" * To fix: ", data[[i]]$to_fix, "\n\n",
"### Error message\n\n",
paste(paste0(" ", strsplit(data[[i]]$error_message, "\n")[[1]], "\n"), collapse = ""), "\n\n",
"### Proposed solution\n\n",
data[[i]]$proposed_solution, "\n\n"
)
cat(str)
}
```
## Session info
```{r sessioninfo}
sessionInfo()
```