Giter Site home page Giter Site logo

boxly's People

Contributors

elong0527 avatar jasonmvictor avatar nanxstats avatar wangben718 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ghas-results

boxly's Issues

Repo description

I think this description would be a bit better:

Create interactive box plots with ease, ideal for visualizing data from lab tests, vital signs, electrocardiograms, and more.

compared to the current

Create interactive box plot for lab test, vital signs, electrocardiogram etc.

The reasoning:

  1. Not limiting to visualizing only the listed types of data.
  2. Consistent usage of plurals.
  3. Avoids using "etc."

Reduce declare of global variables

Why would we have so many global variables? Better to check what is absolutely required.

utils::globalVariables(c(
  "ANL01FL", "boxly_adlb", "CHG", "Freq", "group", "label", "outdata", "outlier",
  "param", "PARAMCD", "text", "TRT01A", "TRTA", "x", "AVISITN"
))

Fix example code in vignette

In vignettes/boxly-cran.Rmd, you have:

library("boxploy")

meta_boxly(
  boxly_adsl,
  boxly_adlb,
  population_term = "apat",
  observation_term = "wk12",
  observation_subset = AVISITN <= 12 & !is.na(CHG)
) |>
  prepare_boxly() |>
  boxply()

This does not actually work because there is no package called "boxploy" and there is no function called boxply().

Replace exclamation points with full stop in messages

In prepare_boxly(), there are a few message() calls with exclamation points (!) at the end of the message.

Don't use exclamation points in text except when they're part of a code example. Rather than using exclamation points to call attention to an important point, consider using notices such as Note or Caution.

Release boxly 0.1.0

Prepare for release

  • Check current CRAN check results
  • Check licensing of included files
  • Review pkgdown reference index for, e.g., missing topics
  • Bump version
  • Update cran-comments.md (optional)
  • Update NEWS.md
  • Review pkgdown website
  • urlchecker::url_check()
  • Check with local machine
  • Check with GitHub Actions
  • Check with win-builder

Submit to CRAN

  • Draft GitHub release
  • Submit to CRAN via web form
  • Approve emails

Wait for CRAN

  • Accepted ๐ŸŽ‰
  • Post on r-packages mailing list
  • Tweet

Remove r2rtf dependency

It seems you only need a dataset from r2rtf::r2rtf_adsl. Better to create an independent dataset boxly::boxly_adsl to remove the dependency.

Handle situation with 0 rows

Seems we have bug when a PARAM has 0 rows after we adding more parameters using change in #18

Example code

meta <- meta_boxly(
  boxly_adsl,
  boxly_adlb,
  population_term = "apat",
  observation_term = "wk12",
  observation_subset = ANL01FL == "Y" & AVISITN <= 12 & !is.na(CHG)
  )

outdata <- prepare_boxly(meta,
  population = "apat",
  observation = "wk12",
  parameter = meta$plan$parameter,
  analysis = "boxly"
)

Message

Warning: In observation level data, the facet variable 'PARAM' is automatically transformed into a factor!
Warning: In observation level data, the group variable 'AVISITN' is automatically transformed into a factor!
Error in `$<-.data.frame`(`*tmp*`, outlier, value = NA) : 
  replacement has 1 row, data has 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.