{"id":18014323,"url":"https://github.com/r-lum/rxylib","last_synced_at":"2025-03-26T18:30:36.536Z","repository":{"id":55060773,"uuid":"95584252","full_name":"R-Lum/rxylib","owner":"R-Lum","description":"R package: wrapper for the C++ library `xylib` ","archived":false,"fork":false,"pushed_at":"2024-02-07T23:56:49.000Z","size":89551,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-23T23:37:00.035Z","etag":null,"topics":["data-import","diffraction-analysis","gamma-ray-spectrometry","powder-diffraction","r","rpackage"],"latest_commit_sha":null,"homepage":"https://r-lum.github.io/rxylib/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/R-Lum.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json"}},"created_at":"2017-06-27T17:34:02.000Z","updated_at":"2024-07-12T22:32:02.907Z","dependencies_parsed_at":"2023-02-15T09:16:34.574Z","dependency_job_id":"d2277545-856c-494d-8dd5-b2850e45e02b","html_url":"https://github.com/R-Lum/rxylib","commit_stats":{"total_commits":312,"total_committers":6,"mean_commits":52.0,"dds":0.4551282051282052,"last_synced_commit":"8b890bc27a7dda61e921d000fbcb7ea3e90bb157"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R-Lum%2Frxylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R-Lum%2Frxylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R-Lum%2Frxylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R-Lum%2Frxylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/R-Lum","download_url":"https://codeload.github.com/R-Lum/rxylib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222017753,"owners_count":16917013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-import","diffraction-analysis","gamma-ray-spectrometry","powder-diffraction","r","rpackage"],"created_at":"2024-10-30T04:07:46.874Z","updated_at":"2024-10-30T04:07:47.556Z","avatar_url":"https://github.com/R-Lum.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\nheader-includes:\n   - \\usepackage{amsmath}\n   - \\usepackage{amssymb}\n---\n\u003c!-- README.md was auto-generated by README.Rmd. Please DO NOT edit by hand!--\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\nlibrary(rxylib)\n```\n\n# rxylib \u003cimg width=120px src=\"man/figures/rxylib.svg\" align=\"right\" /\u003e\n\nThe **R** package `rxylib` provides and access to the C++ library [xylib](https://xylib.sourceforge.net)\nby wrapping the library using Rcpp. For supported data formats see https://github.com/wojdyr/xylib.\n\n[![CRAN](https://www.r-pkg.org/badges/version/rxylib)](https://CRAN.R-project.org/package=rxylib)\n[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/rxylib)](https://www.r-pkg.org/pkg/rxylib)\n[![R-CMD-check](https://github.com/R-Lum/rxylib/workflows/GitHub Actions CI/badge.svg)](https://github.com/R-Lum/rxylib/actions)\n[![DOI](https://zenodo.org/badge/95584252.svg)](https://zenodo.org/badge/latestdoi/95584252)\n[![CRAN DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.rxylib-1f57b6?style=flat\u0026link=https://doi.org/10.32614/CRAN.package.rxylib)](https://doi.org/10.32614/CRAN.package.rxylib)\n[![codecov](https://codecov.io/gh/R-Lum/rxylib/branch/master/graph/badge.svg?token=is1ADF98pO)](https://app.codecov.io/gh/R-Lum/rxylib)\n\n## Installation\n\n#### i. Requirements\n\n* *Windows (32/64bit)*:  [Rtools](https://cran.r-project.org/bin/windows/Rtools/) (provided by CRAN)\n* *macOS*: [Xcode](https://developer.apple.com/xcode/)\n* *Linux*: [gcc](https://gcc.gnu.org) often comes pre-installed in most distributions. \n\n#### ii. Install the package (development version)\n\nTo install the stable version from CRAN, simply run the following from an R console:\n\n```r\ninstall.packages(\"rxylib\")\n```\n\nTo install the latest development builds directly from GitHub, run\n\n```r\nif(!require(\"devtools\"))\n  install.packages(\"devtools\")\ndevtools::install_github(\"R-Lum/rxylib@master\")\n```\nTo install a developer build other than `'master'`, replace the term `'master'` in the code line by the name of the wanted developer build. \n\n## Related projects\n\n* [rxylibShiny](https://github.com/JohannesFriedrich/rxylibShiny)\n\n# Licenses\n\nPlease note that the package uses two different licences \n\n## Package `rxylib` license \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n[GNU General Public License](https://github.com/R-Lum/rxylib/blob/master/LICENSE) for more details.\n\n## Library `xylib` license \n\nThe library itself is **NOT** part of the GPL-3 license conditions of the package \nand available under [LGPL](https://github.com/wojdyr/xylib/blob/master/COPYING) \nlicense conditions only cf. https://github.com/wojdyr/xylib\n\n## \u003cspan class=\"glyphicon glyphicon-euro\"\u003e\u003c/span\u003e Funding\n\n* Between 2017-2019, the work of Sebastian Kreutzer as maintainer of the package was supported\nby LabEx LaScArBx (ANR - n. ANR-10-LABX-52).\n\n* From 01/2020-04/2022, Sebastian Kreutzer received funding from the European Union’s Horizon 2020 \nresearch and innovation programme under the Marie Skłodowska-Curie grant\nagreement No [844457 (project: CREDit)](https://cordis.europa.eu/project/id/844457).\n\n* Since 03/2023, Sebastian Kreutzer as maintainer of the package receives funding from the DFG \nHeisenberg programme No [505822867](https://gepris.dfg.de/gepris/projekt/505822867).\n\n```{r, echo=FALSE}\n### ==========================================================================================\n### Write supported formats into the manual page\n### sebastian.kreutzer@u-bordeaux-montaigne.fr\n### 2019-05-08\n### ==========================================================================================\n\n##run only if not already there (otherwise we create it two time)\nif(!any(\n  grepl(\n    pattern = \"library version:\", \n    x = readLines(\"man/rxylib-package.Rd\", warn = FALSE), fixed = TRUE, useBytes = TRUE))){\n\n  ## this script adds all allowed formats to the produced package manual\n  ##get format list\n  formats \u003c- rxylib:::get_supportedFormats()\n\n  ##create data frame\n  preheader \u003c- paste0(\"\\\\cr library version: \", rxylib:::get_version(), \"\\\\cr\\\\cr\")\n  header \u003c- \"\\\\tabular{lllllll}{\\\\bold{ID} \\\\tab \\\\bold{NAME} \\\\tab \\\\bold{DESCRIPTION} \\\\tab \\\\bold{FILE EXTENSION}  \\\\tab \\\\bold{VALID_OPTIONS}  \\\\tab \\\\bold{DATATYPE} \\\\tab \\\\bold{BLOCK_TYPE}\\\\cr\"\n  footer \u003c- \" \\\\tab \\\\tab }\"\n  main \u003c- vapply(1:length(formats$name), function(x){\n    paste0(\n      \"[\",x,\",]\",\" \\\\tab \",\n      formats$name[x],\n      \" \\\\tab \",\n      formats$desc[x],\n      \" \\\\tab \",\n      formats$exts[x],\n      \" \\\\tab \",\n      formats$valid_options[x],\n      \" \\\\tab \",\n      formats$binary[x],\n      \" \\\\tab \",\n      formats$multiblock[x],\n      \"\\\\cr\"\n\n    )\n\n  }, vector(mode = \"character\", length = 1))\n\n  ##table\n  table \u003c- c(preheader, header, main, footer)\n\n  ##read RD file\n  file \u003c- readLines(\"man/rxylib-package.Rd\")\n  insert_id \u003c- grep(pattern = \"Supported data formats\", file, fixed = TRUE)\n\n  ##output\n  writeLines(\n    text = c(file[1:insert_id], table, file[(insert_id + 1):length(file)]),\n    con = \"man/rxylib-package.Rd\")\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lum%2Frxylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-lum%2Frxylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lum%2Frxylib/lists"}