diff --git a/DESCRIPTION b/DESCRIPTION index fa2affe..a7fc548 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -17,7 +17,7 @@ LinkingTo: Rcpp Suggests: testthat, foreign, datasets Encoding: UTF-8 Language: en-US -RoxygenNote: 7.2.1 +RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) Config/testthat/edition: 3 Config/testthat/parallel: true diff --git a/NAMESPACE b/NAMESPACE index efae35b..f20fffa 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,7 +4,6 @@ export(convert_to_date) export(convert_to_datetime) export(convert_to_time) export(read.sas) -export(readsas) import(Rcpp) importFrom(stringi,stri_encode) importFrom(utils,download.file) diff --git a/R/RcppExports.R b/R/RcppExports.R index 484e266..27f7b53 100644 --- a/R/RcppExports.R +++ b/R/RcppExports.R @@ -10,7 +10,8 @@ #' @param empty_to_na logical convert '' to NA_character_ #' @param tempstr filepath used for temp output when uncompressing #' @import Rcpp -#' @export +#' @keywords internal +#' @noRd readsas <- function(filePath, debug, selectrows_, selectcols_, empty_to_na, tempstr) { .Call(`_readsas_readsas`, filePath, debug, selectrows_, selectcols_, empty_to_na, tempstr) } diff --git a/man/readsas.Rd b/man/readsas.Rd deleted file mode 100644 index a011980..0000000 --- a/man/readsas.Rd +++ /dev/null @@ -1,24 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/RcppExports.R -\name{readsas} -\alias{readsas} -\title{Reads SAS data files} -\usage{ -readsas(filePath, debug, selectrows_, selectcols_, empty_to_na, tempstr) -} -\arguments{ -\item{filePath}{The full systempath to the sas7bdat file you want to import.} - -\item{debug}{print debug information} - -\item{selectrows_}{integer vector of selected rows} - -\item{selectcols_}{character vector of selected rows} - -\item{empty_to_na}{logical convert '' to NA_character_} - -\item{tempstr}{filepath used for temp output when uncompressing} -} -\description{ -Reads SAS data files -} diff --git a/src/readsas.cpp b/src/readsas.cpp index 5cf0122..5f0bbc3 100644 --- a/src/readsas.cpp +++ b/src/readsas.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019, 2022 Jan Marvin Garbuszus + * Copyright (C) 2019, 2022-2023 Jan Marvin Garbuszus * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -39,7 +39,8 @@ using namespace Rcpp; //' @param empty_to_na logical convert '' to NA_character_ //' @param tempstr filepath used for temp output when uncompressing //' @import Rcpp -//' @export +//' @keywords internal +//' @noRd // [[Rcpp::export]] Rcpp::List readsas(const char * filePath, const bool debug,