{"id":32209354,"url":"https://github.com/cmstatr/cmstatr","last_synced_at":"2025-10-22T06:05:21.057Z","repository":{"id":119617834,"uuid":"67629227","full_name":"cmstatr/cmstatr","owner":"cmstatr","description":"An R Package for Statistical Analysis of Composite Material Data","archived":false,"fork":false,"pushed_at":"2025-03-19T02:45:36.000Z","size":6558,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T21:47:54.146Z","etag":null,"topics":["composite-material-data","cran","data","materials-science","r","statistical-analysis","statistics"],"latest_commit_sha":null,"homepage":"https://www.cmstatr.net/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmstatr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-09-07T17:33:12.000Z","updated_at":"2025-04-07T08:01:00.000Z","dependencies_parsed_at":"2024-12-22T20:18:29.738Z","dependency_job_id":"fd9d9966-14f8-4ba6-87d9-de81e8ae97a7","html_url":"https://github.com/cmstatr/cmstatr","commit_stats":{"total_commits":377,"total_committers":7,"mean_commits":"53.857142857142854","dds":"0.23076923076923073","last_synced_commit":"6955a09ad9d8282a762eeaa77e3c0e1b0fcd1a5d"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/cmstatr/cmstatr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstatr%2Fcmstatr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstatr%2Fcmstatr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstatr%2Fcmstatr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstatr%2Fcmstatr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmstatr","download_url":"https://codeload.github.com/cmstatr/cmstatr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmstatr%2Fcmstatr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280189515,"owners_count":26287723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composite-material-data","cran","data","materials-science","r","statistical-analysis","statistics"],"created_at":"2025-10-22T06:03:10.352Z","updated_at":"2025-10-22T06:05:21.049Z","avatar_url":"https://github.com/cmstatr.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\"\n)\n```\n\n# cmstatr \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/cmstatr/cmstatr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/cmstatr/cmstatr/actions/workflows/R-CMD-check.yaml)\n[![`Codecov` test coverage](https://codecov.io/gh/cmstatr/cmstatr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/cmstatr/cmstatr?branch=master)\n[![DOI](https://joss.theoj.org/papers/10.21105/joss.02265/status.svg)](https://doi.org/10.21105/joss.02265)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/cmstatr)](https://cran.r-project.org/package=cmstatr)\n[![](https://cranlogs.r-pkg.org/badges/cmstatr)](https://cran.r-project.org/package=cmstatr)\n\u003c!-- badges: end --\u003e\n\n# What It Does\nThe `cmstatr` package provides functions for performing statistical analysis\nof composite material data. The statistical methods implemented are those\ndescribed in [CMH-17-1G](https://www.cmh17.org/).\nThis package focuses on calculating basis values (lower tolerance\nbounds) for material strength properties, as well as performing the\nassociated diagnostic tests. Functions are also provided for testing\nfor equivalency between alternate samples and the \"qualification\"\nor \"baseline\" samples.\n\nAdditional details about the package are available in the paper by\nKloppenborg (2020,\n[https://doi.org/10.21105/joss.02265](https://doi.org/10.21105/joss.02265)).\n\nThere is a companion package `cmstatrExt` which provides statistical methods\nthat are not included in CMH-17, but which may be of use to practitioners.\nFor more information, please see the\n[`cmstatrExt` Website](https://cmstatrext.cmstatr.net).\n\n# Installation\nTo install `cmstatr` from CRAN, simply run:\n\n```r\ninstall.packages(\"cmstatr\")\n```\n\nIf you want the latest development version, you can install it\nfrom `github` using `devtools`. This will also install the dependencies\nrequired to build the vignettes. Optionally, change the value of the\nargument `ref` to install `cmstatr` from a different branch of the\nrepository.\n\n```r\ninstall.packages(c(\"devtools\", \"rmarkdown\", \"dplyr\", \"tidyr\"))\ndevtools::install_github(\"cmstatr/cmstatr\", build_vignettes = TRUE,\n                         ref = \"master\",\n                         build_opts = c(\"--no-resave-data\", \"--no-manual\"))\n```\n\n# Usage\nTo compute a B-Basis value from an example data set packaged\nwith `cmstatr` you can do the following:\n\n```{r message=FALSE}\nlibrary(dplyr)\nlibrary(cmstatr)\n\ncarbon.fabric.2 %\u003e%\n  filter(test == \"FC\") %\u003e%\n  filter(condition == \"RTD\") %\u003e%\n  basis_normal(strength, batch)\n```\n\nFor more examples of usage of the `cmstatr` package,\nsee the tutorial vignette, which can be\n[viewed online](https://www.cmstatr.net/articles/cmstatr_Tutorial.html),\nor can be loaded as follows, once the package is installed:\n\n```r\nvignette(\"cmstatr_Tutorial\")\n```\n\nThere is also a vignette showing some examples of the types of graphs\nthat are typically produced when analyzing composite materials.\nYou can view this\n[vignette online](https://www.cmstatr.net/articles/cmstatr_Graphing.html),\nor you can load this vignette with:\n\n```r\nvignette(\"cmstatr_Graphing\")\n```\n\n# Philosophical Notes\nThis package expects\n[`tidy data`](https://doi.org/10.18637/jss.v059.i10).\nThat is, individual observations should be in rows and variables in columns.\n\nWhere possible, this package uses general solutions. Look-up tables are avoided\nwherever possible.\n\n# Issues\nIf you've found a bug, please open an issue in this repository and\ndescribe the bug. Please\ninclude a [reproducible example](https://reprex.tidyverse.org/) of the bug.\nIf you're able to fix the bug, you can do so by submitting a pull request.\n\nIf your bug is related to a particular data set, sharing that data set will\nhelp to fix the bug. If you cannot share the data set, please strip any\nidentifying information and optionally scale the data by an unspecified\nfactor so that the bug can be reproduced and diagnosed.\n\n\n# Contributing\nContributions to `cmstatr` are always welcomed. For small changes (fixing typos\nor improving the documentation), go ahead and submit a pull request. For more\nsignificant changes, such as new features, please discuss the proposed change\nin an issue first.\n\n## Contribution Guidelines\n- Please create a git branch for each pull request (PR)\n- Before submitting a pull request, please make sure that `R CMD check`\n  passes with no errors, warnings or notes\n- New and modified code should follow the style guide enforced by the\n  [`lintr`](https://cran.r-project.org/package=lintr)\n  package\n- Document all exported functions using\n  [`roxygen2`](https://cran.r-project.org/package=roxygen2)\n- Write tests using [`testthat`](https://cran.r-project.org/package=testthat).\n  If your contribution fixes a bug, then the test(s) that you add should fail\n  before your bug-fix patch is applied and should pass after the code is\n  patched.\n- For changes that affect the user, add a bullet at the top of `NEWS.md` below\n  the current development version\n  \n## Development\nTesting is performed using `testthat`. Edition 3 of that package is used and\nparallel processing enabled. If you wish to use more than two CPUs, set the\nenvironment variable `TESTTHAT_CPUS` to the number of CPUs that you want to\nuse. One way of doing this is to create the file `.Rprofile` with the following\ncontents. This file is ignored both by `git` and also in `.Rbuildingore`.\n\n```r\nSys.setenv(TESTTHAT_CPUS = 8)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmstatr%2Fcmstatr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmstatr%2Fcmstatr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmstatr%2Fcmstatr/lists"}