Shiny - read file with BCG_ATTR
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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"))
- 主要言語
- R
- スター
- 15
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
leppott/BioMonTools のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
leppott/BioMonTools#162 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
leppott/BioMonTools#156 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
leppott/BioMonTools#160 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
leppott/BioMonTools#158 ·
-
More TolVal fieldsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
leppott/BioMonTools#146 · コメント 2 件 ·
leppott/BioMonTools の issue をすべて見る
似ている issue
-
publications
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
epiforecasts/epiforecasts.github.io#161 ·
メンテナーはふだん 1 日以内に返信
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlighting対応中かも @michaelmayer2 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microbiome/OMA#1031 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ThinkR-open/golem#1265 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
furrer-lab/abn#291 · コメント 2 件 ·