Skip to content

rickhelmus/Rmstoolkitlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rmstoolkitlib

Rmstoolkitlib r-universe

Rmstoolkitlib provides an R interface to the MSToolkit library for reading raw mass spectrometry data.

Installation (R universe)

install.packages('Rmstoolkitlib', repos = c('https://rickhelmus.r-universe.dev', 'https://cloud.r-project.org'))

Installation (from source)

# Install the package from the source repository
remotes::install_github("rickhelmus/Rmstoolkitlib")

If you face errors during installation it may be due to temporary installation paths with spaces in them (especially common on Windows). As a workaround, you can tempoerarily change the TMPDIR environment variable during package installation. For instance:

withr::local_envvar(list(TMPDIR = "C:/Rtmpdir"), remotes::install_github("rickhelmus/Rmstoolkitlib"))

Original project

For more information, refer to the original MSToolkit project:

https://github.com/mhoopmann/mstoolkit

Usage in R packages

  1. Add Rmstoolkitlib to Imports or Suggests (not LinkingTo) in your package DESCRIPTION file.
  2. Add the following to your src/Makevars and/or src/Makevars.win file:
PKG_CXXFLAGS += $(shell echo 'Rmstoolkitlib::pkgconfig("PKG_CXXFLAGS")' | "${R_HOME}/bin/R" --vanilla --slave)
PKG_LIBS += $(shell echo 'Rmstoolkitlib::pkgconfig("PKG_LIBS")' | "${R_HOME}/bin/R" --vanilla --slave)

Feel free to contribute or raise issues on the repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published