MyNixOS website logo
Description

Easily Install and Load the R4SUB Ecosystem.

The 'r4sub' package is a meta-package that installs and loads core packages of the R4SUB (R for Regulatory Submission) clinical submission readiness ecosystem. Loading 'r4sub' attaches 'r4subcore', 'r4subtrace', 'r4subscore', 'r4subrisk', 'r4subdata', and 'r4subprofile'.

r4sub

r4sub is the meta-package for the R4SUB (R for Regulatory Submission) clinical submission readiness ecosystem.

A single library(r4sub) call installs and attaches all core packages.

Installation

install.packages("r4sub")

Usage

library(r4sub)
# -- Attaching R4SUB packages (r4sub 0.1.0) -----
#   r4subcore    0.1.1
#   r4subtrace   0.1.0
#   r4subscore   0.1.0
#   r4subrisk    0.1.0
#   r4subdata    0.1.1
#   r4subprofile 0.1.0

# All ecosystem functions are now available
data(evidence_pharma)                                    # from r4subdata
scores <- compute_indicator_scores(evidence_pharma)      # from r4subscore
sci    <- compute_sci(compute_pillar_scores(scores))     # from r4subscore

# Ecosystem utilities
r4sub_packages()   # versions and attachment status
r4sub_status()     # installation check
r4sub_conflicts()  # detect function name collisions
r4sub_news()       # what changed in each package
r4sub_cite()       # citation info for regulatory documents

Suppress startup message

options(r4sub.quiet = TRUE)
library(r4sub)

Packages

PackagePurposeAuto-attached?
r4subcoreEvidence schema, scoring primitives, parsersYes
r4subtraceADaM/SDTM traceability engineYes
r4subscoreSubmission Confidence Index (SCI) scoringYes
r4subriskFMEA-based risk quantificationYes
r4subdataExample datasets for demos and testingYes
r4subprofileRegulatory submission profilesYes
r4subuiInteractive Shiny dashboardNo (install separately)

Exported Functions

FunctionPurpose
core_packages()List the 6 auto-attached package names
r4sub_packages()Show all packages with installed version and attachment status
r4sub_status()Check which ecosystem packages are installed
r4sub_conflicts()Report function name conflicts with other loaded packages
r4sub_news()Show NEWS entries for each ecosystem package
r4sub_cite()Print citation information for regulatory or academic use

Managing Conflicts

If another loaded package exports a function with the same name as an R4SUB function, use the :: operator to be explicit:

r4subcore::validate_evidence(ev)
r4subscore::compute_sci(pillar_scores)

Run r4sub_conflicts() after library(r4sub) to see any collisions.

License

MIT.

Metadata

Version

0.1.0

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows