Package 'abseil'

Title: 'C++' Header Files from 'Abseil'
Description: Wraps the 'Abseil' 'C++' library for use by R packages. Original files are from <https://github.com/abseil/abseil-cpp>. Patches are located at <https://github.com/doccstat/abseil-r/tree/main/local/patches>.
Authors: Xingchi Li [ctb, cre, cph] , Abseil Team [aut, cph]
Maintainer: Xingchi Li <anthony.li@stat.tamu.edu>
License: Apache License (>= 2)
Version: 2023.8.2.1
Built: 2023-11-02 07:25:15 UTC
Source: https://github.com/doccstat/abseil-r

Help Index


abseil

Description

Wraps the 'Abseil' 'C++' library for use by R packages. Original files are from <https://github.com/abseil/abseil-cpp>. Patches are located at <https://github.com/doccstat/abseil-r/tree/main/local/patches>.

Examples

Rcpp::cppFunction(r"{
  #include "absl/strings/str_join.h"
  std::string joinString() {
    std::vector<std::string> v = {"foo","bar","baz"};
    return absl::StrJoin(v, "-");
  }
}", depends = "abseil")

joinString()