R/RcppExports.R

Defines functions ced_enc_detect ced_version

Documented in ced_enc_detect ced_version

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' @title
#' Detect Encoding
#'
#' @description
#' Detect charset encoding of the character or raw vector.
#'
#' @param x Raw or character vector.
#' @param enc_hint Character vector with encoding hint.
#' @param lang_hint Character vector with langauge code hint.
#'
#' @return Character vector with suggested encodings.
#'
#' @export
#'
#' @example man-roxygen/ex-detect.R
#'
ced_enc_detect <- function(x, enc_hint = NULL, lang_hint = NULL) {
    .Call(`_ced_ced_enc_detect`, x, enc_hint, lang_hint)
}

#' @title
#' Compact Encodig Detector Verion
#'
#' @description
#' Backed library version string.
#'
#' @return
#' Numeric version of the upstream library.
#'
#' @export
#'
ced_version <- function() {
    .Call(`_ced_ced_version`)
}

Try the ced package in your browser

Any scripts or data that you put into this service are public.

ced documentation built on Jan. 14, 2020, 5:10 p.m.