Package: FSK2R 0.1.3

FSK2R: An Interface Between the 'FSKX' Standard and 'R'

Functions for importing, creating, editing and exporting 'FSK' files <https://foodrisklabs.bfr.bund.de/fskx-food-safety-knowledge-exchange-format/> using the 'R' programming environment. Furthermore, it enables users to run simulations contained in the 'FSK' files and visualize the results.

Authors:Alberto Garre [aut, cre], Miguel de Alba Aparicio [aut], Pablo S. Fernandez [aut], Matthias Filter [aut]

FSK2R_0.1.3.tar.gz
FSK2R_0.1.3.zip(r-4.5)FSK2R_0.1.3.zip(r-4.4)FSK2R_0.1.3.zip(r-4.3)
FSK2R_0.1.3.tgz(r-4.4-any)FSK2R_0.1.3.tgz(r-4.3-any)
FSK2R_0.1.3.tar.gz(r-4.5-noble)FSK2R_0.1.3.tar.gz(r-4.4-noble)
FSK2R_0.1.3.tgz(r-4.4-emscripten)FSK2R_0.1.3.tgz(r-4.3-emscripten)
FSK2R.pdf |FSK2R.html
FSK2R/json (API)
NEWS

# Install 'FSK2R' in R:
install.packages('FSK2R', repos = c('https://albgarre.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.70 score 6 scripts 191 downloads 18 exports 75 dependencies

Last updated 3 years agofrom:6c31d7070a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:create_fskexport_fskFSK_runnerget_backgroundget_general_infoget_modelmathget_readmeget_scopeget_simulationsimport_fskis_fsk_with_ris.FSK2Rn_simuls_fskread_fsk_metadata_excelrun_all_simulationsrun_simulationset_new_simulationset_readme

Dependencies:antiwordaskpassbase64encbitopsbslibcachemcellrangerclicommonmarkcpp11crayoncurldata.tabledigestdplyrfansifastmapfontawesomefsgenericsgluehmshtmltoolshttpuvhttrjquerylibjsonlitelaterlifecyclemagrittrmemoisemimemintyndjsonopensslpdftoolspillarpkgconfigprettyunitsprogresspromisespurrrqpdfR.methodsS3R.ooR.utilsR6rappdirsRcppRCurlreadODSreadtextreadxlrematchrjsonrlangsassshinysourcetoolsstreamRstringistringrstriprtfsystibbletidyrtidyselecttzdbutf8vctrswithrXMLxml2xtablezip

FSK2R: an interface between FSK-ML and R

Rendered frombasic_FSK2R.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2022-02-25
Started: 2020-05-13

Readme and manuals

Help Manual

Help pageTopics
Checks that the files defined in the manifest existcheck_manifest_files
Fix the metadat so that it is listsconvert_metadata_to_lists
Creates an FSK model from an existing R scriptcreate_fsk
Converts a dataframe to a listdataframe_to_list
Exports an object of FSK class as an .fskx fileexport_fsk
Functions for exporting the manifest of an FSK2R objectexport_manifest
Function for exporting the metadata of an FSK2R objectexport_metadata
Functions for exporting the model metadata of an FSK2R objectexport_modelmetadata
Export other filesexport_otherfiles
Functions for exporting the packages of an FSK2R objectexport_packages
Functions for exporting the R model of an FSK2R objectexport_R_model
Functions for exporting the README of an FSK2R objectexport_readme
Export the model.sbmlexport_sbmlModel
Export the sim.sedmlexport_simulation
Functions for exporting the visualization script of an FSK2R objectexport_visualization
Finds where packages are storedfind_packages
Startup FSK runnerFSK_runner
Returns the background of an FSK objectget_background
Returns the general info of an FSK objectget_general_info
Returns the model math of an FSK objectget_modelmath
Readme of an FSK objectget_readme
Returns the scope of an FSK objectget_scope
Extract session informationget_session_info
Returns a summary of the simulations of an FSK object (NULL)get_simulations
Import an FSK model into Rimport_fsk
Import of FSK with join nodeimport_fsk_join
Does the object have an R model?is_fsk_with_r
Is it an instance of FSK2R?is.FSK2R
Map for the contents of the metadatamap_FSK_metadata
Map between the names used in the template and the xmlmap_metadata_xml_template
From read_fsk_metadata_XX to FSK2R formatmetadata_list_to_fsk
Number of simulations in the FSK2R objectn_simuls_fsk
Read the metadata.json fileread_fsk_json_metadata
Read the manifest of an FSK file and convert it to a data.frameread_fsk_manifest
FSK metadata from local Excel fileread_fsk_metadata_excel
Read the model.sbmlread_fsk_model
Read the packages.jsonread_fsk_packages
Read the metadata.rdfread_fsk_rdf_metadata
Read the README fileread_fsk_readme
Read the sim.sedml fileread_fsk_sim
Read "other files"read_other_files
Reads the R model in an FSK modelread_R_model
Reads the visualization script in an FSK modelread_visualization
Run every simulation in an FSK objectrun_all_simulations
Run one simulation in an FSK objectrun_simulation
Define a new simulation in an FSK2R objectset_new_simulation
Readme of an FSK objectset_readme
Updates the manifest fileupdate_manifest