Package: FSK2R 0.2.0

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], Thomas Schueler [aut], Pablo S. Fernandez [aut], Matthias Filter [aut]

FSK2R_0.2.0.tar.gz
FSK2R_0.2.0.zip(r-4.7)FSK2R_0.2.0.zip(r-4.6)FSK2R_0.2.0.zip(r-4.5)
FSK2R_0.2.0.tgz(r-4.6-any)FSK2R_0.2.0.tgz(r-4.5-any)
FSK2R_0.2.0.tar.gz(r-4.7-any)FSK2R_0.2.0.tar.gz(r-4.6-any)
FSK2R_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
FSK2R/json (API)
NEWS

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

On CRAN:

Conda:

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

2.70 score 7 scripts 249 downloads 39 exports 75 dependencies

Last updated from:e2ff9a40b9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK157
source / vignettesOK203
linux-release-x86_64OK160
macos-release-arm64OK128
macos-oldrel-arm64OK119
windows-develOK113
windows-releaseOK90
windows-oldrelOK100
wasm-releaseOK119

Exports:clean_empty_valuescreate_fskexport_fskFSK_runnerFSKAuthorFSKCreatorFSKDataBackgroundFSKGeneralInformationFSKMetadataFSKModelCategoryFSKModelMathFSKParameterFSKReferenceFSKScopeget_backgroundget_general_infoget_modelmathget_readmeget_scopeget_simulationsimport_fskis_fsk_with_ris.FSK2Rn_simuls_fskread_fsk_json_metadataread_fsk_manifestread_fsk_metadata_excelread_fsk_modelread_fsk_packagesread_fsk_rdf_metadataread_fsk_readmeread_fsk_simread_other_filesread_R_modelread_visualizationrun_all_simulationsrun_simulationset_new_simulationset_readme

Dependencies:antiwordaskpassbase64encbitopsbslibcachemcellrangerclicommonmarkcpp11crayoncurldata.tabledigestdplyrfastmapfontawesomefsgenericsgluehmshtmltoolshttpuvhttrjquerylibjsonlitelaterlifecyclemagrittrmemoisemimemintyndjsonopensslotelpdftoolspillarpkgconfigprettyunitsprogresspromisespurrrqpdfR.methodsS3R.ooR.utilsR6rappdirsRcppRCurlreadODSreadtextreadxlrematchrjsonrlangsassshinysourcetoolsstreamRstringistringrstriprtfsystibbletidyrtidyselecttzdbutf8vctrswithrXMLxml2xtablezip

FSK2R: an interface between FSK-ML and R

Rendered frombasic_FSK2R.Rmdusingknitr::rmarkdownon May 09 2026.

Last update: 2025-10-10
Started: 2020-05-13

Readme and manuals

Help Manual

Help pageTopics
Checks that the files defined in the manifest existcheck_manifest_files
Recursively clean object by removing empty valuesclean_empty_values
Clean empty values from JSON stringclean_json_string
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
Functions for exporting the workspace of an FSK2R objectexport_workspace
Extract script filenames from RDF metadataextract_script_filenames_from_rdf
Finds where packages are storedfind_packages
Startup FSK runnerFSK_runner
Author InformationFSKAuthor FSKCreator
Data Background SectionFSKDataBackground
General Information SectionFSKGeneralInformation
FSK Metadata ClassesFSKMetadata
Model Category InformationFSKModelCategory
Model Math SectionFSKModelMath
Parameter InformationFSKParameter
Reference InformationFSKReference
Scope SectionFSKScope
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 objectget_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