Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/cran/cutpointr
27 December 2024, 06:59:48 UTC
  • Code
  • Branches (13)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/0.7.2
    • refs/tags/0.7.3
    • refs/tags/0.7.4
    • refs/tags/0.7.6
    • refs/tags/1.0.0
    • refs/tags/1.0.1
    • refs/tags/1.0.2
    • refs/tags/1.0.32
    • refs/tags/1.1.0
    • refs/tags/1.1.1
    • refs/tags/1.1.2
    • refs/tags/1.2.0
    No releases to show
  • c3e7fd1
  • /
  • src
  • /
  • RcppExports.cpp
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:094a5e462575fbdfb55228ed56e74746e5135092
origin badgedirectory badge Iframe embedding
swh:1:dir:f8da26660e7910f0175a1a456043c3868e195fc8
origin badgerevision badge
swh:1:rev:6e80c4af4079c6a0a017445fed21d2dc5be27f97
origin badgesnapshot badge
swh:1:snp:df9731f7198ce3b5055b1aa19d96e140bcde7483
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 6e80c4af4079c6a0a017445fed21d2dc5be27f97 authored by Christian Thiele on 10 December 2024, 22:50:02 UTC
version 1.2.0
Tip revision: 6e80c4a
RcppExports.cpp
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <Rcpp.h>

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>&  Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// any_inf
bool any_inf(NumericVector x);
RcppExport SEXP _cutpointr_any_inf(SEXP xSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
    rcpp_result_gen = Rcpp::wrap(any_inf(x));
    return rcpp_result_gen;
END_RCPP
}
// get_rev_dups
LogicalVector get_rev_dups(NumericVector x);
RcppExport SEXP _cutpointr_get_rev_dups(SEXP xSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
    rcpp_result_gen = Rcpp::wrap(get_rev_dups(x));
    return rcpp_result_gen;
END_RCPP
}
// is_equal_cpp_char
LogicalVector is_equal_cpp_char(CharacterVector x, String y);
RcppExport SEXP _cutpointr_is_equal_cpp_char(SEXP xSEXP, SEXP ySEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< CharacterVector >::type x(xSEXP);
    Rcpp::traits::input_parameter< String >::type y(ySEXP);
    rcpp_result_gen = Rcpp::wrap(is_equal_cpp_char(x, y));
    return rcpp_result_gen;
END_RCPP
}
// is_equal_cpp_num
LogicalVector is_equal_cpp_num(NumericVector x, double y);
RcppExport SEXP _cutpointr_is_equal_cpp_num(SEXP xSEXP, SEXP ySEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
    Rcpp::traits::input_parameter< double >::type y(ySEXP);
    rcpp_result_gen = Rcpp::wrap(is_equal_cpp_num(x, y));
    return rcpp_result_gen;
END_RCPP
}
// one_unique_num
LogicalVector one_unique_num(NumericVector x);
RcppExport SEXP _cutpointr_one_unique_num(SEXP xSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
    rcpp_result_gen = Rcpp::wrap(one_unique_num(x));
    return rcpp_result_gen;
END_RCPP
}
// one_unique_char
LogicalVector one_unique_char(CharacterVector x);
RcppExport SEXP _cutpointr_one_unique_char(SEXP xSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< CharacterVector >::type x(xSEXP);
    rcpp_result_gen = Rcpp::wrap(one_unique_char(x));
    return rcpp_result_gen;
END_RCPP
}
// which_are_num
IntegerVector which_are_num(NumericVector x, double a);
RcppExport SEXP _cutpointr_which_are_num(SEXP xSEXP, SEXP aSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
    Rcpp::traits::input_parameter< double >::type a(aSEXP);
    rcpp_result_gen = Rcpp::wrap(which_are_num(x, a));
    return rcpp_result_gen;
END_RCPP
}
// which_are_char
IntegerVector which_are_char(CharacterVector x, String a);
RcppExport SEXP _cutpointr_which_are_char(SEXP xSEXP, SEXP aSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< CharacterVector >::type x(xSEXP);
    Rcpp::traits::input_parameter< String >::type a(aSEXP);
    rcpp_result_gen = Rcpp::wrap(which_are_char(x, a));
    return rcpp_result_gen;
END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
    {"_cutpointr_any_inf", (DL_FUNC) &_cutpointr_any_inf, 1},
    {"_cutpointr_get_rev_dups", (DL_FUNC) &_cutpointr_get_rev_dups, 1},
    {"_cutpointr_is_equal_cpp_char", (DL_FUNC) &_cutpointr_is_equal_cpp_char, 2},
    {"_cutpointr_is_equal_cpp_num", (DL_FUNC) &_cutpointr_is_equal_cpp_num, 2},
    {"_cutpointr_one_unique_num", (DL_FUNC) &_cutpointr_one_unique_num, 1},
    {"_cutpointr_one_unique_char", (DL_FUNC) &_cutpointr_one_unique_char, 1},
    {"_cutpointr_which_are_num", (DL_FUNC) &_cutpointr_which_are_num, 2},
    {"_cutpointr_which_are_char", (DL_FUNC) &_cutpointr_which_are_char, 2},
    {NULL, NULL, 0}
};

RcppExport void R_init_cutpointr(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top