Skip to content

Commit

Permalink
version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Milena Kaag authored and cran-robot committed Mar 20, 2024
0 parents commit 78fa799
Show file tree
Hide file tree
Showing 114 changed files with 7,045 additions and 0 deletions.
43 changes: 43 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Package: ssd4mosaic
Title: Web Application for the SSD Module of the MOSAIC Platform
Version: 1.0.1
Authors@R: c(
person("Milena", "Kaag", , "milena.kaag@univ-lyon1.fr", role = c("cre", "aut")),
person("Sandrine", "Charles", , "sandrine.charles@univ-lyon1.fr", role = "aut",
comment = c(ORCID = "0000-0003-4604-0166")),
person("UMR5558 LBBE MEPS", role = c("cph", "fnd")),
person("rhandsontable contributors", role = c("ctb", "cph"),
comment = "For my_rhandsontable function")
)
Description: Web application using 'shiny' for the SSD (Species
Sensitivity Distribution) module of the MOSAIC (MOdeling and
StAtistical tools for ecotoxICology) platform. It estimates the
Hazardous Concentration for x% of the species (HCx) from toxicity
values that can be censored and provides various plotting options for
a better understanding of the results. See our companion paper
Kon Kam King et al. (2014) <doi:10.48550/arXiv.1311.5772>.
License: MIT + file LICENSE
URL: https://gitlab.in2p3.fr/mosaic-software/mosaic-ssd,
https://mosaic.univ-lyon1.fr/
BugReports: https://gitlab.in2p3.fr/mosaic-software/mosaic-ssd/-/issues
Depends: R (>= 4.1.0)
Imports: actuar, config (>= 0.3.1), fitdistrplus (>= 1.1-11), ggplot2,
golem (>= 0.3.5), htmltools, htmlwidgets, jsonlite,
rhandsontable, rlang, rmarkdown, shiny (>= 1.7.4), shinybusy,
shinyjs, stats, utils
Suggests: knitr, remotes, spelling, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
LazyData: true
RoxygenNote: 7.2.3
NeedsCompilation: no
Packaged: 2024-03-18 14:28:40 UTC; milenakaag
Author: Milena Kaag [cre, aut],
Sandrine Charles [aut] (<https://orcid.org/0000-0003-4604-0166>),
UMR5558 LBBE MEPS [cph, fnd],
rhandsontable contributors [ctb, cph] (For my_rhandsontable function)
Maintainer: Milena Kaag <milena.kaag@univ-lyon1.fr>
Repository: CRAN
Date/Publication: 2024-03-19 20:10:02 UTC
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2024
COPYRIGHT HOLDER: ssd4mosaic authors
129 changes: 129 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
The ssd4mosaic package as a whole is distributed under MIT.

The ssd4mosaic package includes other open source software components. The following
is a list of these components (full copies of the license agreements used by
these components are included below):

- rhandsontable, https://github.com/jrowen/rhandsontable
- 'Source Sans' fonts, https://fonts.adobe.com/fonts/source-sans

rhandsontable license
---------------------------------------------------------------------
(the MIT License)

Copyright (c) 2015-2018 Jonathan Owen and other contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

'Source Sans' fonts
---------------------------------------------------------------------
Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
113 changes: 113 additions & 0 deletions MD5
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
efd41e67ea80082edc15d3defef9e888 *DESCRIPTION
476aa948c2bae0b345b259e5a80b758b *LICENSE
a6b619728a13e24c4b33a084b381c7bb *LICENSE.note
5b25d23b897a0183a8c38949b544349c *NAMESPACE
b916d2e0baff8fcb1f3f6f720e50021f *NEWS.md
cf2c9f46386c8eba5bda0070241432a4 *R/app_config.R
4257ab08f84aae5cd5a8685ff6a800ae *R/app_server.R
88b119b6228b24a8f6360dc6c26c0826 *R/app_ui.R
ae3d3a4c59ad082b29cc8f96bd5fcb1f *R/data.R
7e1bb020061c6720aa026122f2638fc1 *R/fct_basic_plots.R
d25d745974021e081389bb48dd5d03b7 *R/fct_bootstraps.R
2be0615d635f3f3a1b98ab43c0fd6828 *R/fct_ci_plots.R
7ecfbe0be687023a681a1d7207ecab4a *R/fct_code_r.R
2319dadeaf98b91089d675b54e506acb *R/fct_custom_shiny_inputs.R
83ac46e1c3b30fa8dc144cd82e2c40de *R/fct_fits.R
1d676d7a3f2eda39e506e9d2adeb436e *R/fct_grouped_plots.R
26a6197336a90064ce479c2f514c29c4 *R/fct_my_rhandsontable.R
383a8425e7780b2b657db86b804c8d92 *R/fct_name_plots.R
74db6244d6ee725a51b5f2e428634057 *R/fct_options_plots.R
a92e90bc8fafa4e11e948f1ce54fb2ac *R/fct_shiny_outputs.R
ee6d8ec4bd9942567554f8c680bcbb32 *R/mod_infobutton.R
f7f1aace3be38547051620121279f6f4 *R/run_app.R
0e7dbb85adfc00d4d27470f30afa0bf2 *R/utils_llogis_functions.R
3160ff559e290c7d51475460baa525a4 *R/utils_plot.R
2821d48374a40047c245257ca27c4450 *R/utils_server.R
fa3b773c01bb7b23521b12895c706d47 *R/utils_ui.R
6306988708c798f15bb60d371479f904 *build/vignette.rds
f1629bab40ab197a3ec09130b0cce067 *data/endosulfan.rda
47e8210856212d5371930dd3a0c794dc *data/fluazinam.rda
62c867b24da079a943a72ac81b061fc4 *data/salinity_family.rda
5dd3116254d7ee57c83ff3f43d5d5135 *data/salinity_order.rda
bc97603051c941c1edcebd04e10183fa *inst/WORDLIST
2c8a792f9dcbc943a66f11295112b4a2 *inst/app/www/data/endosulfan.txt
5807f8cc4bebb9c41e2948fbbe5fe7f9 *inst/app/www/data/fluazinam.txt
2399997e0ad645fac50bd2378f5eb40c *inst/app/www/data/salinity.txt
81aa76754064b697ad4fde2604cd86cc *inst/app/www/data/salinity_family.txt
b7e0c293954ee115315f88e2541e40b4 *inst/app/www/data/salinity_order.txt
2bc5542fff16b0af01b4c1e2a038d6ec *inst/app/www/events.js
a7aad8afcbf9f432f6270bf6676d1130 *inst/app/www/favicon.ico
33802d1a603f7be9f511a71830ee754c *inst/app/www/fonts/Comfortaa/Comfortaa-Bold.ttf
421a8f9901cb0455153679a4a9c220c9 *inst/app/www/fonts/Comfortaa/Comfortaa-Regular.ttf
06f3fa09432015200a4357c0b0067c6e *inst/app/www/fonts/SourceSansPro/OFL.txt
8669b8706bbbdd1482e2fccc4ed96850 *inst/app/www/fonts/SourceSansPro/SourceSansPro-Bold.ttf
81cd217e4a8160a930c6d5fb8d1e8e82 *inst/app/www/fonts/SourceSansPro/SourceSansPro-Light.ttf
c1678b46f7dd3f50ceac94ed4e0ad01a *inst/app/www/fonts/SourceSansPro/SourceSansPro-Regular.ttf
db6c9942230366fbbc8cece21749b59b *inst/app/www/img/bioacc-logo.png
ec6bb0ae29141874d53618ac4bb7b237 *inst/app/www/img/contact-logo.png
3bfb9803febba7ec6ae28038fa97d91d *inst/app/www/img/courses-logo.png
b13383a78cc3f505bfa665a1654b3c26 *inst/app/www/img/growth-logo.png
193eba1338a98eeaa84e47ba07888925 *inst/app/www/img/info-logo.png
f6aa6e223e4da1677ca7d09a694cab19 *inst/app/www/img/logo.png
dbafff49ba8364da84b1d990e958ae02 *inst/app/www/img/repro-logo-hover.png
eeb81d54d4a9951a68235c1f1f813b8a *inst/app/www/img/repro-logo.png
e6778fae9c424d4d8c2466afd8a750c0 *inst/app/www/img/ssd-application-logo.png
c03a7b23210a23fd51bf5e6a279fc83a *inst/app/www/img/ssd-logo-hover.png
56a75f5ffb5cf4d227f90417f0f31bf5 *inst/app/www/img/ssd-logo.png
37ce9fbac56084f5b7c6c31748b3b019 *inst/app/www/img/surv-logo-hover.png
18172f6ff434267d37ded4cf072d328a *inst/app/www/img/surv-logo.png
d821c55f2250a5f7cecf6a102091f694 *inst/app/www/img/team-logo.png
f4401cde83984f6d6df30c2c93b7a867 *inst/app/www/img/wait-animation-tr.gif
5e7b95e26e54c8ce94b9a3f9b6b4fd4d *inst/app/www/input-toggle_switch.js
fd9e286f17a4432193dd9fe51aa49093 *inst/app/www/prob-distr.html
8e2cbae9849ce9fa2feaa902bac3b461 *inst/app/www/report.Rmd
73dd6bc515bb48d9a967166baee33c33 *inst/app/www/styles.css
91045754fdaf24cfcd95d53f43cc1078 *inst/app/www/toggle_switch.css
8ef9c70fd0eb36e311c77075199d7846 *inst/app/www/tutorial.html
fd2847b384ad8a31c469c5ff3b73d03e *inst/doc/R_functions.R
1133d31efe5eca445c52ec9b3e66a90c *inst/doc/R_functions.Rmd
f355a5768f31c8f5db208c656ff1722b *inst/doc/R_functions.html
35e50fa84d92f21056e5ec438ba2d3d4 *inst/doc/ssd4mosaic.R
2a0c710bd7dd63cefefe41bda4c5484a *inst/doc/ssd4mosaic.Rmd
fc85ead1de8586dc020bc02aa62585f1 *inst/doc/ssd4mosaic.html
4277dfeccbc4a2f0495927cf3b59f37a *inst/golem-config.yml
d56bd895c565b884461e3d84337cf1c8 *man/add_CI_plot.Rd
3ec91dca2e72d8fd2516fea740f1bb7a *man/base_cdf.Rd
241b0327af9410e377d87ce9c3a52f65 *man/bootdist_fun.Rd
6ae49761f1d5bad10ee7e00701e0686d *man/cens_lines_plot.Rd
dd097dd0923b6ae706d6f230aa743c42 *man/code_r_ssd.Rd
cc28edb16adf0fc85728d2ff2a777cc4 *man/combine_boot_samples.Rd
fe44a2916e7b6db4bb73ced181344a4d *man/custom_theme.Rd
6795283bfe4e084ddf0808deae3cf6f2 *man/endosulfan.Rd
715af0c8a2277ca95a7847cc6e4ff806 *man/fluazinam.Rd
87297abed92fe3fd8bee1fec02fff2da *man/get_HCx_table.Rd
267e1228f71a06d1203660aa7bfeb55f *man/get_bootstrap.Rd
f12f9b54f3027387f6e7e432dea7a8f6 *man/get_fits.Rd
38c0355a48fb6553ba09d824b024d651 *man/get_parameters_html.Rd
98d01edbc27ef49e0ffa439570f09a76 *man/get_xlab.Rd
bc76c2148179959734ae444e7ffd7361 *man/group_cdf_censored.Rd
4bdfa248c12baf383ae05c003ca2c503 *man/group_cdf_uncensored.Rd
ebd46bfd96b24afdaa2cdc1b96cd9b48 *man/my_CIcdfplot.Rd
7a9217fce925636be2e2d5b64c0f8465 *man/name_plot_censored.Rd
68eccfe5b4b94f4a1e3bb578a6790716 *man/name_plot_uncensored.Rd
f658fa025a656620b54a031241927747 *man/options_plot.Rd
913408b32a33ac5b2f30fe5e7b2761db *man/order_cens_data.Rd
758d32ca9fe3d766b896a177d99968bb *man/reexports.Rd
0282ce20ab6a6fe26086a529a052d7aa *man/run_app.Rd
b8b6e39c28d5d21f649cc9031a49e24b *man/salinity_family.Rd
973c60eaff470c39ce4f5df45cf05ce6 *man/salinity_order.Rd
bcdcf4ed70d8a6587bb8a1eff5d5a9e0 *man/switchInput.Rd
90aa0e2e098e7f282f8b2d4b81f791d1 *man/test_conv.Rd
0622a97a2aaa3c342f09636052c2d7f5 *tests/spelling.R
bfd1cefe9a2d182969d9f96b52a08ea9 *tests/testthat.R
cb98b094f395aeb28ad5a6b37e3f947c *tests/testthat/test-fct_basic_plots.R
d4e73b773426c0b0295f3df50c568b3d *tests/testthat/test-fct_bootstraps.R
7e953de9324871636ae4db5651cfbe79 *tests/testthat/test-fct_ci_plots.R
c656d58abdc49dd91d06812f5f746762 *tests/testthat/test-fct_code_r.R
69d4768f2494b62d7fd92bffba43e076 *tests/testthat/test-fct_fits.R
9322837b3333c3e57a65323db82b58a9 *tests/testthat/test-fct_options_plots.R
a35cdbff600ca0809baa5e95ce07319b *tests/testthat/test-fct_shiny_outputs.R
6ce00aa180aac9faae40dcba36e4ebd4 *tests/testthat/test-golem-recommended.R
5efadc22a46cd3025e4fb283bcd4e149 *tests/testthat/test-utils_plot.R
1133d31efe5eca445c52ec9b3e66a90c *vignettes/R_functions.Rmd
2a0c710bd7dd63cefefe41bda4c5484a *vignettes/ssd4mosaic.Rmd
32 changes: 32 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by roxygen2: do not edit by hand

export(add_CI_plot)
export(base_cdf)
export(cens_lines_plot)
export(dllogis)
export(get_bootstrap)
export(get_fits)
export(group_cdf_censored)
export(group_cdf_uncensored)
export(name_plot_censored)
export(name_plot_uncensored)
export(options_plot)
export(pllogis)
export(qllogis)
export(rllogis)
export(run_app)
import(shiny)
importFrom(actuar,dllogis)
importFrom(actuar,pllogis)
importFrom(actuar,qllogis)
importFrom(actuar,rllogis)
importFrom(ggplot2,"%+replace%")
importFrom(golem,activate_js)
importFrom(golem,add_resource_path)
importFrom(golem,bundle_resources)
importFrom(golem,favicon)
importFrom(golem,with_golem_options)
importFrom(rlang,.data)
importFrom(shiny,NS)
importFrom(shiny,shinyApp)
importFrom(shiny,tagList)
50 changes: 50 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# ssd4mosaic 1.0.1

## Enhancements

* Changes to comply to CRAN guidelines
- Clarification of the authorship and ownership of the package
- Completion of the functions documentation
- Removed calls to `print()` in bootstrap function
- Various syntax changes
* Update repository url
## Bug fixes

* Fix the bug of names being displayed in user input order on non-censored data plots, instead of being associated to the correct data point.

* For HCx values, replace medians of the bootstrap samples by quantiles calculated from the fitted distribution in order to match the behaviour of the previous MOSAIC ssd.

## New features

* Added a rate unit (g/ha) in unit selection list

# ssd4mosaic 1.0.0

## Enhancements

* The way to precise the role of each column of the input data column has be reviewed to improve readability.

* More information texts have been added to the website to help users in their choices.

* Group plot readability has been improved by moving the legend to the bottom of the plot instead of the side.

* The colors used in the plot have been modified to improve accessibility for color blindness.

## Bug fixes

* Reports downloaded in markdown format now include required image files.

## New features

* 90% confidence intervals can now be displayed on the plot and computed for the parameter values and HCx values.

* A link toward a Frequently Asked Questions page was added.

* Two vignettes were added to the package: "Getting started" and "Using ssd4mosaic functions in R".

# ssd4mosaic 0.1.0

New features

* Created the package
* Added a `NEWS.md` file to track changes to the package.

0 comments on commit 78fa799

Please sign in to comment.