
roxygen2 - In-Line Documentation for R
Generate your Rd documentation, 'NAMESPACE' file, and collation field using specially formatted comments. Writing documentation in-line with code makes it easier to keep your documentation up-to-date as your requirements change. 'roxygen2' is inspired by the 'Doxygen' system for C++.
Last updated
devtoolsdocumentationcpp
19.65 score 663 stars 234 dependents 2.7k scripts 272k downloads
chk - Check User-Supplied Function Arguments
For developers to check user-supplied function arguments. It is designed to be simple, fast and customizable. Error messages follow the tidyverse style guide.
Last updated
chk
11.83 score 50 stars 78 dependents 34 scripts 11k downloadsfledge - Smoother Change Tracking and Versioning for R Packages
Streamlines the process of updating changelogs (NEWS.md) and versioning R packages developed in git repositories.
Last updated
changeloggitpackage-creation
9.05 score 192 stars 14 scripts 399 downloads
term - Create, Manipulate and Query Parameter Terms
Creates, manipulates, queries and repairs vectors of parameter terms. Parameter terms are the labels used to reference values in vectors, matrices and arrays. They represent the names in coefficient tables and the column names in 'mcmc' and 'mcmc.list' objects.
Last updated
coefficientsmcmcterm
8.29 score 11 stars 15 dependents 79 scripts 528 downloads
mcmcr - Manipulate MCMC Samples
Functions and classes to store, manipulate and summarise Monte Carlo Markov Chain (MCMC) samples. For more information see Brooks et al. (2011) <isbn:978-1-4200-7941-8>.
Last updated
codamcmc
8.29 score 20 stars 11 dependents 164 scripts 516 downloads
nlist - Lists of Numeric Atomic Objects
Create and manipulate numeric list ('nlist') objects. An 'nlist' is an S3 list of uniquely named numeric objects. An numeric object is an integer or double vector, matrix or array. An 'nlists' object is a S3 class list of 'nlist' objects with the same names, dimensionalities and typeofs. Numeric list objects are of interest because they are the raw data inputs for analytic engines such as 'JAGS', 'STAN' and 'TMB'. Numeric lists objects, which are useful for storing multiple realizations of of simulated data sets, can be converted to coda::mcmc and coda::mcmc.list objects.
Last updated
data-framenatomicnlistnlists
7.77 score 6 stars 13 dependents 21 scripts 524 downloads
readwritesqlite - Enhanced Reading and Writing for 'SQLite' Databases
Reads and writes data frames to 'SQLite' databases while preserving time zones (for POSIXct columns), projections (for 'sfc' columns), units (for 'units' columns), levels (for factors and ordered factors) and classes for logical, Date and 'hms' columns. It also logs changes to tables and provides more informative error messages.
Last updated
dbilogmetadataposixctreadsfcsqliteunitswrite
7.25 score 39 stars 2 dependents 14 scripts 56 downloads
universals - S3 Generics for Bayesian Analyses
Provides S3 generic methods and some default implementations for Bayesian analyses that generate Markov Chain Monte Carlo (MCMC) samples. The purpose of 'universals' is to reduce package dependencies and conflicts. The 'nlist' package implements many of the methods for its 'nlist' class.
Last updated
genericsmodel-fittings3
6.43 score 4 stars 25 dependents 1 scripts 592 downloads
newdata - Generate New Data Frames for Prediction
Generates new data frames for predictive purposes. By default, all specified variables vary across their range while all other variables are held constant at the default reference value. Types, classes, factor levels and time zones are always preserved. The user can specify the length of each sequence, require that only observed values and combinations are used and add new variables.
Last updated
5.79 score 5 stars 8 dependents 19 scripts
mcmcderive - Derive MCMC Parameters
Generates derived parameter(s) from Monte Carlo Markov Chain (MCMC) samples using R code. This allows Bayesian models to be fitted without the inclusion of derived parameters which add unnecessary clutter and slow model fitting. For more information on MCMC samples see Brooks et al. (2011) <isbn:978-1-4200-7941-8>.
Last updated
derived-parametersmcmcmcmcr
5.39 score 9 dependents 7 scripts 356 downloads
hmstimer - 'hms' Based Timer
Tracks elapsed clock time using a `hms::hms()` scalar. It was was originally developed to time Bayesian model runs. It should not be used to estimate how long extremely fast code takes to execute as the package code adds a small time cost.
Last updated
hmstimer
5.28 score 2 stars 1 dependents 4 scripts 363 downloads
err - Customizable Object Sensitive Messages
Messages should provide users with readable information about R objects without flooding their console. 'cc()' concatenates vector and data frame values into a grammatically correct string using commas, an ellipsis and conjunction. 'cn()' allows the user to define a string which varies based on a count. 'co()' combines the two to produce a customizable object aware string. The package further facilitates this process by providing five 'sprintf'-like types such as '%n' for the length of an object and '%o' for its name as well as wrappers for pasting objects and issuing errors, warnings and messages.
Last updated
errorsmessageswarnings
5.20 score 9 stars 118 scripts 64 downloadsembr - Model Builder Utility Functions and Virtual Classes
Utility functions and virtual classes shared by model builder packages such as tmbr, jmbr and smbr.
Last updated
analysesmbr
5.19 score 3 stars 4 dependents 12 scripts
dbflobr - Read and Write Files to SQLite Databases
Reads and writes files to SQLite databases <https://www.sqlite.org/index.html> as flobs (a flob is a blob that preserves the file extension).
Last updated
blobdatabasesflobsqlite
4.94 score 5 stars 5 scripts 87 downloads
batchr - Batch Process Files
Processes multiple files with a user-supplied function. The key design principle is that only files which were last modified before the directory was configured are processed. A hidden file stores the configuration time and function etc while successfully processed files are automatically touched to update their modification date. As a result batch processing can be stopped and restarted and any files created (or modified or deleted) during processing are ignored.
Last updated
batch-processing
4.92 score 7 stars 9 scripts 18 downloadsjmbr - Analyses Using JAGS
Facilitates analyses using 'Just Another Gibbs Sampler'.
Last updated
jagsmbrcpp
4.88 score 3 stars 7 scripts
flobr - Convert Files to and from Binary Objects (BLOBs)
Converts files to and from flobs. A flob is a file that was read into binary in raw-mode, saved as the single element of a named list (where the name is the name of the original file) and then serialized before being coerced into a blob. Flobs are useful for writing and reading files to and from databases.
Last updated
blobflob
4.69 score 10 stars 1 dependents 12 scripts 88 downloads
fwatlasbc - Freshwater Atlas British Columbia
Queries the Freshwater Atlas (FWA) of British Columbia through the 'fwapg' API <https://www.hillcrestgeo.ca/fwapg/index.html> via the 'fwapgr' package and returns spatial data as simple features ('sf'). Also provides tools to convert streams to and from river meters, snap points to streams, and split, prune and join stream networks.
Last updated
bcfwapgfwapgr
4.48 score 11 stars 6 scriptssubfoldr2 - Save and Load R Objects
Facilitates saving and loading R objects, data frames, tables, plots, text blocks and numbers to subfolders.
Last updated
4.45 score 2 stars 1 dependents 5 scriptskootlake - Kootenay Lake Data
Annual Rainbow Trout, Bull Trout and Kokanee datasets for Kootenay Lake.
Last updated
bcgovkootenay-lake
3.95 score 4 scriptsevrfish - R Tools for EVR Fish Projects
Provides functions linearly interpolate missing values and calculate growing season degree days and growing degree days from daily water temperature data. It also exports fish codes for British Columbia and Alberta from the `fishbc` package.
Last updated
4.30 score 1 stars 4 scriptsgsdd - Calculate Growing Season Degree Days from Water Temperature Data
Calculates Growing Season Degree Days (GSDD), Growing Degree Days (GDD) and the Growing Seasons (GSS) from water temperature data. GSSD is a water temperature metric that is a useful predictor of age-0 trout size at the beginning of winter. It is the accumulated thermal units (in C) during the growing season based on the mean daily water temperature values. GDD is the GSSD to a particular date.
Last updated
4.21 score 6 stars 1 dependents 5 scriptssmbr - Facilitates Bayesian Analysis using STAN
Facilitates analyses using STAN.
Last updated
mbrstan
4.08 score 2 stars 1 dependents 7 scriptsmcmcdata - Manipulate MCMC Samples and Data Frames
Manipulates Monte Carlo Markov Chain samples and associated data frames.
Last updated
3.95 score 1 stars 5 dependents 4 scriptsssdvignettes - Species Sensitivity Distribution Vignettes
What the package does (one paragraph).
Last updated
3.95 score 1 scripts
shinyssdtools - ssdtools Shiny App
Shiny application for fitting species sensitivity distributions using ssdtools.
Last updated
shiny
3.64 score 7 scriptssubreport - Generate Reports from `subfoldr2` Objects
Facilitates generation of .Rmd and .html reports from tables, (code) blocks and figures (plots and windows) saved using the subfoldr2 package. To quickly view all the results use `sbr_knit_results()`. The `sbr_n()` and `sbr_s()` functions can be used to insert numbers or strings saved using subfoldr2.
Last updated
3.52 score 1 stars 3 scriptstmbr - Analyses Using TMB
Facilitates analyses using 'Template Model Builder'.
Last updated
mbrtmb
3.02 score 4 scriptsbauw - Data from Bayesian Population Analysis using Winbugs
What the package does (one paragraph).
Last updated
2.85 score 1 stars 4 scripts
usethis - Automate Package and Project Setup
Automate package and project setup tasks that are otherwise performed manually. This includes setting up unit testing, test coverage, continuous integration, Git, 'GitHub', licenses, 'Rcpp', 'RStudio' projects, and more.
Last updated
githubsetup
17.84 score 922 stars 345 dependents 6.2k scripts 245k downloadstibblify - Rectangle Nested Lists
A tool to rectangle a nested list, that is to convert it into a 'tibble'. This is done automatically or according to a given specification. A common use case is for nested lists coming from parsing 'JSON' files, or the 'JSON' responses of 'REST' 'APIs'. 'Rectangling' uses the 'vctrs' package, and therefore offers a wide support of vector types.
Last updated
cpp
9.49 score 75 stars 2 dependents 55 scripts 681 downloads
extras - Helper Functions for Bayesian Analyses
Functions to 'numericise' 'R' objects (coerce to numeric objects), summarise 'MCMC' (Monte Carlo Markov Chain) samples and calculate deviance residuals as well as 'R' translations of some 'BUGS' (Bayesian Using Gibbs Sampling), 'JAGS' (Just Another Gibbs Sampler), 'STAN' and 'TMB' (Template Model Builder) functions.
Last updated
9.10 score 10 stars 19 dependents 23 scripts 661 downloadsrevdepcheck - Automated Reverse Dependency Checking
Automated, isolated reserve dependency checking, with automatic comparison of the results to the current CRAN checks.
Last updated
7.69 score 105 stars 162 scripts
yesno - Ask Yes-No Questions
Asks Yes-No questions with variable or custom responses.
Last updated
yesno
7.59 score 9 stars 28 dependents 14 scripts 1.3k downloads
ssdtools - Species Sensitivity Distributions
Species sensitivity distributions are cumulative probability distributions which are fitted to toxicity concentrations for different species as described by Posthuma et al. (2001) <isbn:9781566705783>. The ssdtools package uses Maximum Likelihood to fit distributions such as the gamma, log-logistic, log-normal and log-normal log-normal mixture. Multiple distributions can be averaged using Akaike Information Criteria. Confidence intervals on hazard concentrations and proportions are produced by bootstrapping.
Last updated
bccpp
7.44 score 1 stars 7 dependents 127 scripts 658 downloads
dttr2 - Manipulate Date, POSIXct and hms Vectors
Manipulates date ('Date'), date time ('POSIXct') and time ('hms') vectors. Date/times are considered discrete and are floored whenever encountered. Times are wrapped and time zones are maintained unless explicitly altered by the user.
Last updated
7.33 score 15 stars 7 dependents 6 scripts 630 downloadsssddata - Species Sensitivity Distribution Data
Reference data sets of species sensitivities to compare the results of fitting species sensitivity distributions using software such as 'ssdtools' and 'Burrlioz'. It consists of curated data sets for individual chemicals from Australian, New Zealand and Canadian organizations, several data sets from anonymous sources, and larger uncurated compilations drawn from the ANZTOX, WQBench and EnviroTox databases. It also includes a data set of the results of fitting various distributions using different software.
Last updated
dataspecies-sensitivity-distributionssdquarto
7.04 score 2 stars 8 dependents 19 scripts 468 downloads
ypr - Yield Per Recruit
An implementation of equilibrium-based yield per recruit methods. Yield per recruit methods can used to estimate the optimal yield for a fish population as described by Walters and Martell (2004) <isbn:0-691-11544-3>. The yield can be based on the number of fish caught (or harvested) or biomass caught for all fish or just large (trophy) individuals.
Last updated
6.57 score 1 dependents 62 scripts 344 downloadsssdsims - Simulation Analyses for Species Sensitivity Distributions
Runs reproducible simulation studies for species sensitivity distribution (SSD) models built on the 'ssdtools' package. Expands a declarative scenario into per-step task tables, draws data, fits distributions, and estimates hazard concentrations, with a 'targets'-based, Hive-partitioned shard pipeline for running studies in parallel or on a cluster.
Last updated
quarto
6.38 score 1 stars 46 scriptsrjags - Bayesian Graphical Models using MCMC
Interface to the JAGS MCMC library.
Last updated
jagscpp
6.36 score 2 stars 160 dependents 24k downloadstidyplus - Additional 'tidyverse' Functions
Provides functions such as str_crush(), add_missing_column(), coalesce_data() and drop_na_all() that complement 'tidyverse' functionality or functions that provide alternative behaviors such as if_else2() and str_detect2().
Last updated
6.35 score 10 stars 5 dependents 2 scripts 399 downloads
tinter - Generate a Monochromatic Palette
Generate a palette of tints, shades or both from a single colour.
Last updated
colorcolour
5.89 score 51 stars 1 dependents 51 scripts 341 downloadsfishbc - Fishes of British Columbia
Provides raw and curated data on the codes, classification and conservation status of freshwater fishes in British Columbia. Marine fishes will be added in a future release.
Last updated
bcfish
5.87 score 5 stars 1 dependents 1 scripts 268 downloads
fwapgr - Client for BC Freshwater Atlas fwapg API
Client for fwapg, a PostgreSQL database and web API for BC Freshwater Atlas data.
Last updated
bcfreshwater-atlasfwapg
5.58 score 9 stars 1 dependents 9 scripts
klippy - Copy to Clipboard Buttons for R Markdown HTML Documents
Insert copy to clipboard buttons in HTML documents generated with 'rmarkdown'. This package is suited for a call in a 'knitr' chunk. Buttons events are rendered using 'clipboard.js' library and 'Bootstrap.js' Tooltip plugin.
Last updated
clipboard-buttonsknitrrmarkdown
5.47 score 59 stars 99 scriptscodegrip - Syntax-Based Editing and Navigation of R Code
Provides addins for reshaping R code and navigating across syntactic constructs.
Last updated
4.65 score 225 stars 2 scriptsbbousims - Simulate Boreal Caribou Survival, Recruitment and Population Growth
Simulates survival and recruitment data for boreal caribou populations using hierarchical Bayesian models.
Last updated
4.62 score 1 dependents 7 scriptspoispalette - Poisson Palettes
An R package for Poisson Consulting colour palettes.
Last updated
4.08 score 1 stars 4 scriptsbboudata - Data for bbou Project
This package contains boreal caribou demographic data which can be used as validation for the associated shiny-app and analysis. The overall goal of the bbou packages is to develop a more standardized and consistent method for the comparison of boreal caribou survival rates, recruitment and population dynamics across Canada.
Last updated
3.91 score 3 dependents 18 scriptsssdtests - Tests for ssdtools
Slow and unstable tests for ssdtools package.
Last updated
3.85 score 1 scriptswqbench - Calculate Aquatic Life Benchmarks
Download recent versions of the US EPA ECOTOX database. Clean, standardize and classify data so values are comparable. Use a SSD or deterministic method to determine the critical toxicity value and assessment factors to compute the aquatic life water quality benchmark for a compound.
Last updated
3.68 score 1 dependents 8 scriptssims - Simulate Data from R or 'JAGS' Code
Generates data from R or 'JAGS' code for use in simulation studies. The data are returned as an 'nlist::nlists' object and/or saved to file as individual '.rds' files. Parallelization is implemented using the 'future' package. Progress is reported using the 'progressr' package.
Last updated
3.68 score 16 scripts 309 downloads
kelpbio - Bayesian Kelp Biomass Estimation
Fit a Bayesian hierarchical Stan model via 'rstan' to estimate the allometric relationship between kelp weight and size from in-situ observations.
Last updated
onetbbcpp
3.65 score 3 stars 8 scriptspgfeatureserv - Client for pg_featureserv RESTful web service
Client for pg_featureserv, a RESTful geospatial feature server for PostGIS.
Last updated
3.48 score 2 stars 2 dependents 2 scriptsbboushiny - Shiny App for Analysing Boreal Caribou Surival, Recruitment and Lambda
Use Bayesian methods to calculate survival, recruitment and lambda as well as confidence intervals.
Last updated
3.18 score 1 dependents 3 scriptsbbousuite - Easily Install and Load `bbou` (Boreal cariBOU) Packages
The `bbou` suite of packages are designed to allow analysis (`bbouretro` and `bboutools`) and simulation (`bbousims`) of Boreal Caribou survival and recruitment data ('bboudata') to estimate population growth rates. A shiny app is also available (`bboushiny`).
Last updated
3.00 score 1 stars 3 scripts
rpdo - Pacific Decadal Oscillation Index Data
Monthly Pacific Decadal Oscillation (PDO) index values from January 1900 to September 2018. Superseded by 'rsoi' package which includes the historical and most recent monthly PDO index values together with related climate indices.
Last updated
pdo
2.99 score 1 stars 13 scripts 92 downloadsrtide - Tide Heights
Calculates tide heights based on tide station harmonics. It includes the harmonics data for 637 US stations. The harmonics data was converted from <https://github.com/poissonconsulting/rtide/blob/main/data-raw/harmonics-dwf-20151227-free.tar.bz2>, NOAA web site data processed by David Flater for 'XTide'. The code to calculate tide heights from the harmonics is based on 'XTide'.
Last updated
2.90 score 40 scripts 396 downloads
shinywqg - Water Quality Guideline Shiny App
User interface to calculate water quality guidelines.
Last updated
2.40 score 1 scripts

