sticsrpacks

Easily Install and Load 'SticsRPacks' packages

https://github.com/sticsrpacks/sticsrpacks

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Easily Install and Load 'SticsRPacks' packages

Basic Info
Statistics
  • Stars: 12
  • Watchers: 3
  • Forks: 3
  • Open Issues: 6
  • Releases: 13
Created over 6 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License Citation

README.Rmd

---
output: github_document
---


```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# SticsRPacks 


[![R build status](https://github.com/SticsRPacks/SticsRPacks/actions/workflows/check-standard.yaml/badge.svg)](https://github.com/SticsRPacks/SticsRPacks/actions/workflows/check-standard.yaml)
[![DOI](https://zenodo.org/badge/223148621.svg)](https://zenodo.org/badge/latestdoi/223148621)


## Overview

SticsRPacks is a set of packages that work in harmony because they share common data representations and API design. The __SticsRPacks__ package is designed to make it easy to install and load core packages from SticsRPacks in a single command.

If you'd like to learn how to use the SticsRPacks packages, the best place to start are the vignettes that come along the packages, and also available from each websites (Article sections).

> This package is heavily inspired from the tidyverse [package](https://github.com/tidyverse/tidyverse).

## Installation

The installation requires the devtools package. 
If it is not yet installed, run first `install.packages("devtools")`.

Then, you can install the SticsRPacks packages by running:
```{r eval = FALSE}
devtools::install_github("SticsRPacks/SticsRPacks@*release")
```

## Troubleshooting

It the installation does not work:

 * In case you have messages such as:
 
    - "cannot remove prior installation of package ‘*****’"
    
    or
    - API rate limit exceeded for ****
   
   please refer to [here](https://github.com/SticsRPacks/documentation/blob/master/github_install.md).

 * otherwise, please follow the instructions given [here](https://github.com/SticsRPacks/SticsRPacks/issues/1#event-2864068985).


## Usage

`library(SticsRPacks)` will load the core SticsRPacks packages: 

* [SticsRFiles](https://github.com/SticsRPacks/SticsRFiles), for files manipulation.  
* [SticsOnR](https://github.com/SticsRPacks/SticsOnR), for STICS simulation management.  
* [CroPlotR](https://github.com/SticsRPacks/CroPlotR), for plotting and statistics.  
* [CroptimizR](https://github.com/SticsRPacks/CroptimizR), for parameter optimization.  

You also get a condensed summary of conflicts with other packages you have loaded:

```{r example}
library(SticsRPacks)
```

You can see conflicts created later with `SticsRPacks_conflicts()`:

```{r conflicts}
library(MASS)
SticsRPacks_conflicts()
```

And you can check that all SticsRPacks packages are up-to-date with `SticsRPacks_update()`:

```{r update, eval = FALSE}
SticsRPacks_update()
#> The following packages are out of date:
#>  * SticsRFiles (0.4.0 -> 0.4.1)
#>  * CroptimizR (0.4.1 -> 0.5)
#> Update now?
#>
#> 1: Yes
#> 2: No
```


## Tutorial

**A tutorial is provided to learn how to use the main features of the SticsRPacks packages! It can be run locally or online.**

### Preparing a local tutorial run
To run it you need to install the `learnr` package.

If you have a version of STICS more recent or equal to 9.2.0 installed on your computer, it is recommended that you use this version to carry out the exercises of the tutorial. 

For this, an environment variable `javastics_path` must be set to the path of the corresponding JavaSTICS folder.
This can be done:

* in your R session, each time before running the tutorial, by executing the following command:  `Sys.setenv(javastics_path="path_to_JavaSTICS")`, where `path_to_JavaSTICS` should be replaced by the absolute path of the corresponding JavaSTICS folder.

or 

* by defining this environment variable in the `.Renviron` file located in your home directory:
  * `C:\Users\[username]\Documents` for windows
  * `/home/[username]` for linux
  * `/Users/[username]` for MacOS)
Create or modify this file or use `usethis::edit_r_environ()` to do so, and add a new line `javastics_path="path_to_JavaSTICS"`. In this case, your R session must then be restarted (in RStudio: menu Session-> Restart R).

Then, if you have RStudio version 1.3 or greater, click on the Tutorial pane on the right of the RStudio window (close to Environment, History, ... panes), scroll to see `Tutorial for SticsRPacks` and click on the button `Start Tutorial`.

Alternatively, e.g. if you have an older version of RStudio or if you don't have the Tutorial pane for any reason, you can run the tutorial by running the command:
`learnr::run_tutorial("SticsRpacks", package="SticsRPacks")`

The first time it is started, the tutorial takes a few minutes to initialize in order to download all the materials and run the solutions. Subsequent runs do not need this steps, the tutorial will thus start almost immediately from the second run.

### Using the tutorial online
In this case the tutorial can be used without installing SticsRPacks by using a virtual environment running a RStudio server in which all the needed applications and libraries are pre-installed.

It can be accessed just by clicking [here](https://mybinder.org/v2/git/https%3A%2F%2Fforge.inrae.fr%2Fstics-formation%2Fsticsrpacks-binder.git/v0.9.0?urlpath=rstudio), thanks to [@eric.casellas](https://forge.inrae.fr/eric.casellas).

## Getting help

If you have any question or suggestion or if you want to report a bug, please do it via the GitHub [issues](https://github.com/SticsRPacks/SticsRPacks/issues).

Thanks for that, this would greatly help us to improve this package.

## Citation

If you have used this package for a study that led to a publication or
report, please cite us. You can either use the citation tool from Github if you used the last version, or use `citation("SticsRPacks")` from R otherwise.

## Code of Conduct

Please note that the SticsRPacks project is released with a [Contributor Code of Conduct](https://github.com/SticsRPacks/.github/blob/master/CODE_OF_CONDUCT.md). 
By contributing to this project, you agree to abide by its terms.

Owner

  • Name: SticsRPacks
  • Login: SticsRPacks
  • Kind: organization

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "SticsRPacks" in publications use:'
type: software
license: LGPL-3.0-or-later
title: 'SticsRPacks: Easily Install and Load `SticsRPacks` Packages'
version: 0.9.0
abstract: A set of packages that work in harmony because they share common data representations
  and "API" design. This package is designed to make it easy to install and load multiple
  `SticsRPacks` packages in a single step. Learn more about `SticsRPacks` at <https://sticsrpacks.github.io/SticsRPacks/>.
authors:
- family-names: Vezy
  given-names: Remi
  email: remi.vezy@cirad.fr
  orcid: https://orcid.org/0000-0002-0808-1461
- family-names: Buis
  given-names: Samuel
  email: samuel.buis@inrae.fr
  orcid: https://orcid.org/0000-0002-8676-5447
- family-names: Lecharpentier
  given-names: Patrice
  email: patrice.lecharpentier@inrae.fr
  orcid: https://orcid.org/0000-0002-4044-4322
- family-names: Giner
  given-names: Michel
  email: michel.giner@cirad.fr
  orcid: https://orcid.org/0000-0002-9310-2377
repository-code: https://github.com/SticsRPacks/SticsRPacks
url: https://doi.org/10.5281/zenodo.4442330
date-released: '2025-07-31'
contact:
- family-names: Vezy
  given-names: Remi
  email: remi.vezy@cirad.fr
  orcid: https://orcid.org/0000-0002-0808-1461
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
  version: '>= 4.1.0'
- type: software
  title: purrr
  abstract: 'purrr: Functional Programming Tools'
  notes: Imports
  url: https://purrr.tidyverse.org/
  repository: https://CRAN.R-project.org/package=purrr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.purrr
- type: software
  title: cli
  abstract: 'cli: Helpers for Developing Command Line Interfaces'
  notes: Imports
  url: https://cli.r-lib.org
  repository: https://CRAN.R-project.org/package=cli
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: gabor@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.cli
- type: software
  title: crayon
  abstract: 'crayon: Colored Terminal Output'
  notes: Imports
  url: https://r-lib.github.io/crayon/
  repository: https://CRAN.R-project.org/package=crayon
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: csardi.gabor@gmail.com
  year: '2025'
  doi: 10.32614/CRAN.package.crayon
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2025'
  doi: 10.32614/CRAN.package.dplyr
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: kirill@cynkra.com
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2025'
  doi: 10.32614/CRAN.package.tibble
- type: software
  title: rlang
  abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
  notes: Imports
  url: https://rlang.r-lib.org
  repository: https://CRAN.R-project.org/package=rlang
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.rlang
- type: software
  title: grDevices
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: magrittr
  abstract: 'magrittr: A Forward-Pipe Operator for R'
  notes: Imports
  url: https://magrittr.tidyverse.org
  repository: https://CRAN.R-project.org/package=magrittr
  authors:
  - family-names: Bache
    given-names: Stefan Milton
    email: stefan@stefanbache.dk
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2025'
  doi: 10.32614/CRAN.package.magrittr
- type: software
  title: rstudioapi
  abstract: 'rstudioapi: Safely Access the RStudio API'
  notes: Imports
  url: https://rstudio.github.io/rstudioapi/
  repository: https://CRAN.R-project.org/package=rstudioapi
  authors:
  - family-names: Ushey
    given-names: Kevin
    email: kevin@rstudio.com
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Ritchie
    given-names: Gary
    email: gary@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.rstudioapi
- type: software
  title: SticsRFiles
  abstract: 'SticsRFiles: Read and Modify ''STICS'' Input/Output Files'
  notes: Imports
  url: https://doi.org/10.5281/zenodo.4443206
  repository: https://CRAN.R-project.org/package=SticsRFiles
  authors:
  - family-names: Lecharpentier
    given-names: Patrice
    email: patrice.lecharpentier@inrae.fr
    orcid: https://orcid.org/0000-0002-4044-4322
  - family-names: Vezy
    given-names: Remi
    email: remi.vezy@cirad.fr
    orcid: https://orcid.org/0000-0002-0808-1461
  - family-names: Buis
    given-names: Samuel
    email: samuel.buis@inrae.fr
    orcid: https://orcid.org/0000-0002-8676-5447
  - family-names: Giner
    given-names: Michel
    email: michel.giner@cirad.fr
    orcid: https://orcid.org/0000-0002-9310-2377
  year: '2025'
  doi: 10.32614/CRAN.package.SticsRFiles
- type: software
  title: SticsOnR
  abstract: 'SticsOnR: Manage STICS Simulations Running the Executable or JavaStics,'
  notes: Imports
  url: https://doi.org/10.5281/zenodo.4443130
  authors:
  - family-names: Lecharpentier
    given-names: Patrice
    email: patrice.lecharpentier@inrae.fr
    orcid: https://orcid.org/0000-0002-4044-4322
  - family-names: Vezy
    given-names: Remi
    email: remi.vezy@cirad.fr
    orcid: https://orcid.org/0000-0002-0808-1461
  - family-names: Buis
    given-names: Samuel
    email: samuel.buis@inrae.fr
    orcid: https://orcid.org/0000-0002-8676-5447
  - family-names: Giner
    given-names: Michel
    email: michel.giner@cirad.fr
    orcid: https://orcid.org/0000-0002-9310-2377
  year: '2025'
- type: software
  title: CroptimizR
  abstract: 'CroptimizR: A Package to Estimate Parameters of Crop Models'
  notes: Imports
  url: https://doi.org/10.5281/zenodo.4066451
  authors:
  - family-names: Buis
    given-names: Samuel
    email: samuel.buis@inrae.fr
    orcid: https://orcid.org/0000-0002-8676-5447
  - family-names: Lecharpentier
    given-names: Patrice
    email: patrice.lecharpentier@inrae.fr
    orcid: https://orcid.org/0000-0002-4044-4322
  - family-names: Vezy
    given-names: Remi
    email: remi.vezy@cirad.fr
    orcid: https://orcid.org/0000-0002-0808-1461
  - family-names: Giner
    given-names: Michel
    email: michel.giner@cirad.fr
    orcid: https://orcid.org/0000-0002-9310-2377
  year: '2025'
- type: software
  title: CroPlotR
  abstract: 'CroPlotR: A Package to Analyze Crop Model Simulations Outputs with Plots
    and Statistics'
  notes: Imports
  url: https://doi.org/10.5281/zenodo.4442330
  authors:
  - family-names: Vezy
    given-names: Remi
    email: remi.vezy@cirad.fr
    orcid: https://orcid.org/0000-0002-0808-1461
  - family-names: Buis
    given-names: Samuel
    email: samuel.buis@inrae.fr
    orcid: https://orcid.org/0000-0002-8676-5447
  - family-names: Midingoyi
    given-names: Cyrille
    email: cyrille_ahmed.midingoyi@cirad.fr
    orcid: https://orcid.org/0009-0000-4411-7989
  - family-names: Lecharpentier
    given-names: Patrice
    email: patrice.lecharpentier@inrae.fr
    orcid: https://orcid.org/0000-0002-4044-4322
  - family-names: Giner
    given-names: Michel
    email: michel.giner@cirad.fr
    orcid: https://orcid.org/0000-0002-9310-2377
  year: '2025'
- type: software
  title: remotes
  abstract: 'remotes: R Package Installation from Remote Repositories, Including ''GitHub'''
  notes: Imports
  url: https://remotes.r-lib.org
  repository: https://CRAN.R-project.org/package=remotes
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: csardi.gabor@gmail.com
  - family-names: Hester
    given-names: Jim
  - family-names: Wickham
    given-names: Hadley
  - family-names: Chang
    given-names: Winston
  - family-names: Morgan
    given-names: Martin
  - family-names: Tenenbaum
    given-names: Dan
  year: '2025'
  doi: 10.32614/CRAN.package.remotes
- type: software
  title: utils
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: learnr
  abstract: 'learnr: Interactive Tutorials for R'
  notes: Imports
  url: https://rstudio.github.io/learnr/
  repository: https://CRAN.R-project.org/package=learnr
  authors:
  - family-names: Aden-Buie
    given-names: Garrick
    email: garrick@posit.co
    orcid: https://orcid.org/0000-0002-7111-0077
  - family-names: Schloerke
    given-names: Barret
    email: barret@posit.co
    orcid: https://orcid.org/0000-0001-9986-114X
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Rossell Hayes
    given-names: Alexander
    email: alex.rossellhayes@posit.co
    orcid: https://orcid.org/0000-0001-9412-0457
  year: '2025'
  doi: 10.32614/CRAN.package.learnr
- type: software
  title: methods
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
- type: software
  title: nloptr
  abstract: 'nloptr: R Interface to NLopt'
  notes: Imports
  url: https://astamm.github.io/nloptr/
  repository: https://CRAN.R-project.org/package=nloptr
  authors:
  - family-names: Ypma
    given-names: Jelmer
    email: uctpjyy@ucl.ac.uk
  - family-names: Johnson
    given-names: Steven G.
  year: '2025'
  doi: 10.32614/CRAN.package.nloptr
- type: software
  title: lhs
  abstract: 'lhs: Latin Hypercube Samples'
  notes: Imports
  url: https://github.com/bertcarnell/lhs
  repository: https://CRAN.R-project.org/package=lhs
  authors:
  - family-names: Carnell
    given-names: Rob
    email: bertcarnell@gmail.com
  year: '2025'
  doi: 10.32614/CRAN.package.lhs
- type: software
  title: tictoc
  abstract: 'tictoc: Functions for Timing R Scripts, as Well as Implementations of
    "Stack" and "StackList" Structures'
  notes: Imports
  url: https://github.com/jabiru/tictoc
  repository: https://CRAN.R-project.org/package=tictoc
  authors:
  - family-names: Izrailev
    given-names: Sergei
  year: '2025'
  doi: 10.32614/CRAN.package.tictoc
- type: software
  title: lifecycle
  abstract: 'lifecycle: Manage the Life Cycle of your Package Functions'
  notes: Imports
  url: https://lifecycle.r-lib.org/
  repository: https://CRAN.R-project.org/package=lifecycle
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  year: '2025'
  doi: 10.32614/CRAN.package.lifecycle
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2025'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.testthat

GitHub Events

Total
  • Create event: 34
  • Release event: 7
  • Issues event: 31
  • Watch event: 1
  • Delete event: 34
  • Issue comment event: 17
  • Push event: 89
  • Pull request event: 58
Last Year
  • Create event: 34
  • Release event: 7
  • Issues event: 31
  • Watch event: 1
  • Delete event: 34
  • Issue comment event: 17
  • Push event: 89
  • Pull request event: 58

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 22
  • Total pull requests: 38
  • Average time to close issues: 28 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 5
  • Total pull request authors: 6
  • Average comments per issue: 0.32
  • Average comments per pull request: 0.05
  • Merged pull requests: 30
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 15
  • Pull requests: 34
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 5 days
  • Issue authors: 4
  • Pull request authors: 6
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.06
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 5
Top Authors
Issue Authors
  • plecharpent (17)
  • sbuis (2)
  • timflutre (1)
  • cyrilgandon (1)
  • glouarn (1)
Pull Request Authors
  • plecharpent (23)
  • VEZY (6)
  • dependabot[bot] (5)
  • sbuis (2)
  • timflutre (1)
  • JulienGIRAUDO (1)
Top Labels
Issue Labels
documentation (1) priority-1 (1)
Pull Request Labels
dependencies (5) github_actions (2) documentation (1)

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • CroPlotR * imports
  • CroptimizR * imports
  • SticsOnR * imports
  • SticsRFiles * imports
  • cli * imports
  • crayon * imports
  • dplyr * imports
  • grDevices * imports
  • learnr * imports
  • magrittr * imports
  • purrr * imports
  • remotes * imports
  • rlang * imports
  • rstudioapi * imports
  • tibble * imports
  • utils * imports
  • knitr * suggests
  • testthat * suggests
.github/workflows/check-standard.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-citation-cff.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite