Shiny - read file with BCG_ATTR
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with Server.R and trace the file import flow for the Shiny feature that reads BCG_ATTR. Check how the input column name is detected and passed to the import; the issue’s example uses a header read followed by colClasses. Done when files with BCG_ATTR values that could be parsed as complex numbers import that column as character across the supported permutations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
BCG_ATTR can cause issue with complex number.
To Reproduce
Rework import feature as not all permutations.
Server.R
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
From BCGcalc Server.R
Read the file first:
df_header <- read.delim(fn_inFile
, header = TRUE
, sep = ","
, stringsAsFactors = FALSE
, na.strings = c("", "NA")
, nrows = 0)
col_num_bcgattr <- grep("BCG_ATTR", toupper(names(df_header)))
classes_df <- sapply(df_header, class)
col_name_bcgattr <- names(df_header)[col_num_bcgattr]
Then use column name present in file during import.
df_input <- read.table(fn_inFile
, header = TRUE
, sep = ","
, stringsAsFactors = FALSE
, na.strings = c("", "NA")
, colClasses = c(col_name_bcgattr = "character"))
- Ngôn ngữ chính
- R
- Star
- 15
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của leppott/BioMonTools
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
leppott/BioMonTools#162 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
leppott/BioMonTools#156 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
leppott/BioMonTools#160 ·
-
Taxa Maps - no legendĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
leppott/BioMonTools#158 ·
-
More TolVal fieldsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
leppott/BioMonTools#146 · 2 bình luận ·
Tất cả issue của leppott/BioMonTools
Issue tương tự
-
publications
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlightingCó thể đã có người làm @michaelmayer2 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microbiome/OMA#1031 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ThinkR-open/golem#1265 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
furrer-lab/abn#291 · 2 bình luận ·