Skip to content

Commit e31c42e

Browse files
committed
Fix R stuff
1 parent 05339b8 commit e31c42e

File tree

8 files changed

+53
-39
lines changed

8 files changed

+53
-39
lines changed

src/IsoSpec++/cwrapper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
#pragma once
1818

19+
#include "platform.h"
20+
1921
#define ISOSPEC_ALGO_LAYERED 0
2022
#define ISOSPEC_ALGO_ORDERED 1
2123
#define ISOSPEC_ALGO_THRESHOLD_ABSOLUTE 2

src/IsoSpec++/element_tables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace IsoSpec
2323
extern "C" {
2424
#endif
2525

26-
const size_t isospec_number_of_isotopic_entries = ISOSPEC_NUMBER_OF_ISOTOPIC_ENTRIES;
26+
const ::size_t isospec_number_of_isotopic_entries = ISOSPEC_NUMBER_OF_ISOTOPIC_ENTRIES;
2727

2828
const int elem_table_ID [ISOSPEC_NUMBER_OF_ISOTOPIC_ENTRIES] = {
2929
1,

src/IsoSpec++/element_tables.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#include <stddef.h>
2020

21+
#include "platform.h"
22+
2123
namespace IsoSpec
2224
{
2325

src/IsoSpec++/fixedEnvelopes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "fixedEnvelopes.h"
1818
#include <limits>
19+
#include <cassert>
1920
#include "isoMath.h"
2021

2122
namespace IsoSpec

src/IsoSpec++/marginalTrek++.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,4 +737,7 @@ SingleAtomMarginal<add_guards>::SingleAtomMarginal(Marginal&& m, int, int)
737737
guarded_lProbs = lProbs.data();
738738
}
739739

740+
template class SingleAtomMarginal<true>;
741+
template SingleAtomMarginal<false>::SingleAtomMarginal(IsoSpec::Marginal&&, int, int);
742+
740743
} // namespace IsoSpec

src/IsoSpecR/DESCRIPTION

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@ Encoding: UTF-8
22
Package: IsoSpecR
33
Type: Package
44
Title: The IsoSpec Algorithm
5-
Version: 2.2.0
6-
Date: 2021-07-01
7-
Author: Mateusz Krzysztof Lacki and Michal Startek
5+
Version: 2.3.0
6+
Date: 2025-10-25
7+
Authors@R: c(person(given = c("Mateusz", "Krzysztof"),
8+
family = "Lacki",
9+
role = "aut"),
10+
person(given = "Michal",
11+
family = "Startek",
12+
role = "aut"),
13+
person(given = "Matteo",
14+
family = "Lacki",
15+
role = "cre",
16+
email = "matteo.lacki@gmail.com"))
817
Maintainer: Matteo Lacki <matteo.lacki@gmail.com>
918
Description: IsoSpec is a fine structure calculator used for obtaining the most
1019
probable masses of a chemical compound given the frequencies of the composing
@@ -27,5 +36,5 @@ Suggests:
2736
LazyData: no
2837
LinkingTo: Rcpp
2938
NeedsCompilation: yes
30-
SystemRequirements: C++14
39+
SystemRequirements: C++17
3140
RoxygenNote: 7.1.1

src/IsoSpecR/LICENCE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
YEAR: 2015-2018
1+
YEAR: 2015-2025
22
COPYRIGHT HOLDER: Michał Startek, Mateusz Łącki
33

src/IsoSpecR/inst/CITATION

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
11
citHeader("To cite IsoSpecR in publications use:")
22

3-
citEntry(entry = "Article",
4-
title = "{IsoSpec2}: Ultrafast Fine Structure Calculator",
5-
author = personList(as.person("Mateusz K. Łącki"), as.person("Dirk Valkenborg"), as.person("Michał Startek")),
6-
year = "2020",
7-
journal = "Analytical Chemistry",
8-
volume = "92",
9-
number = "14",
10-
pages = "9472-9475",
11-
doi = "10.1021/acs.analchem.0c00959",
12-
url = "https://doi.org/10.1021/acs.analchem.0c00959",
13-
14-
textVersion = paste("Mateusz K. Łącki, Dirk Valkenborg, Michał Startek (2020).",
15-
"IsoSpec2: Ultrafast Fine Structure Calculator",
16-
"Analytical Chemistry, Published online ahead of print",
17-
"URL https://doi.org/10.1021/acs.analchem.0c00959")
3+
bibentry(
4+
bibtype = "Article",
5+
title = "{IsoSpec2}: Ultrafast Fine Structure Calculator",
6+
author = c(person("Mateusz K. Łącki"), person("Dirk Valkenborg"), person("Michał Startek")),
7+
year = "2020",
8+
journal = "Analytical Chemistry",
9+
volume = "92",
10+
number = "14",
11+
pages = "9472-9475",
12+
doi = "10.1021/acs.analchem.0c00959",
13+
url = "https://doi.org/10.1021/acs.analchem.0c00959",
14+
note = paste("Mateusz K. Łącki, Dirk Valkenborg, Michał Startek (2020).",
15+
"IsoSpec2: Ultrafast Fine Structure Calculator",
16+
"Analytical Chemistry, Published online ahead of print",
17+
"URL https://doi.org/10.1021/acs.analchem.0c00959")
1818
)
1919

20-
citEntry(entry = "Article",
21-
title = "{IsoSpec}: Hyperfast Fine Structure Calculator",
22-
author = personList(as.person("Mateusz K. Łącki"),
23-
as.person("Michał Startek"),
24-
as.person("Dirk Valkenborg"),
25-
as.person("Anna Gambin")),
26-
journal = "Analytical Chemistry",
27-
year = "2017",
28-
volume = "89",
29-
number = "6",
30-
pages = "3272-3277",
31-
url = "https://doi.org/10.1021/acs.analchem.6b01459",
32-
33-
textVersion =
34-
paste("Mateusz K. Łącki, Michał Startek, Dirk Valkenborg, Anna Gambin (2017).",
35-
"IsoSpec: Hyperfast Fine Structure Calculator.",
36-
"Analytical Chemistry 89(6), 3272-3277.",
37-
"URL https://doi.org/10.1021/acs.analchem.6b01459")
20+
bibentry(
21+
bibtype = "Article",
22+
title = "{IsoSpec}: Hyperfast Fine Structure Calculator",
23+
author = c(person("Mateusz K. Łącki"), person("Michał Startek"),
24+
person("Dirk Valkenborg"), person("Anna Gambin")),
25+
journal = "Analytical Chemistry",
26+
year = "2017",
27+
volume = "89",
28+
number = "6",
29+
pages = "3272-3277",
30+
url = "https://doi.org/10.1021/acs.analchem.6b01459",
31+
note = paste("Mateusz K. Łącki, Michał Startek, Dirk Valkenborg, Anna Gambin (2017).",
32+
"IsoSpec: Hyperfast Fine Structure Calculator.",
33+
"Analytical Chemistry 89(6), 3272-3277.",
34+
"URL https://doi.org/10.1021/acs.analchem.6b01459")
3835
)

0 commit comments

Comments
 (0)