The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
DESCRIPTION now consistently single-quotes external
software/API names (‘DATASUS’, ‘DBC’, ‘DBF’, ‘FTP’, ‘C’, ‘PKWare DCL’,
‘blast’, ‘zlib’) and unquotes the in-package function reference
datasus_fetch(). The description field also now references
the upstream sources (DATASUS file transfer site and Adler 2003 for the
bundled blast decompressor).\dontrun{} to
\donttest{}. Network- dependent examples are wrapped in
tryCatch() and write to tempdir() so that
running them never touches the user’s home filespace.tempdir() instead of
tools::R_user_dir("datasusr", "cache"). To opt in to a
persistent cache across sessions, set the
DATASUSR_CACHE_DIR environment variable, the
datasusr.cache_dir R option, or pass cache_dir
explicitly.datasus_fetch(): high-level
convenience function that lists, downloads, and reads DATASUS files in a
single call. Supports column selection, type specification, and
row-binding of multiple files.DATASUSR_CACHE_DIR environment
variable: the cache directory now respects the
DATASUSR_CACHE_DIR env var in addition to the existing
datasusr.cache_dir option.format_bytes() is now exported for general use.DOEXT,
DOINF, and DOMAT previously pointed to the
DOFET FTP directory. Each now has its own correct
path.datasus_build_path(), datasus_file_types(),
and datasus_list_files(). Column names like
source and file_type no longer clash with
function arguments thanks to proper use of .env$
pronouns.datasus_download() instead of proceeding with zero
iterations..data$ pronoun usage
inside dplyr verbs. Columns are now referenced with bare
(tidy evaluation) names, and external variables use .env$
where needed. This follows current tidyverse best practice.pmap_dfr() replaced with
map2() |> list_rbind().purrr::map_lgl() in cache
functions with base vapply() for fewer
dependencies in hot paths.cli::cli_abort() with structured hints
(i bullets) instead of bare stop(). Progress
messages are more concise and informative.rlang is now an explicit dependency (was already an
indirect dep via dplyr), making the %||%
import explicit.rlang (>= 1.0.0) and
dplyr (>= 1.1.0) minimum version constraints..o and .so files excluded from
the source bundle via .Rbuildignore..data$ usage inside mutate pipelines and
simplified tidyverse expressions.read_datasus_dbc() so row
and column counts print on separate lines.datasus_file_types(source = ...) filtering
consistency.cli spacing and summary formatting in key
functions.datasus_list_files().cli.datasus_download().verbose control to FTP, listing, and
cache helpers.datasus_cache_dir(),
datasus_cache_list(), datasus_cache_info(),
datasus_cache_clear(), and
datasus_cache_prune().datasus_download().datasus_sources(),
datasus_modalities(), datasus_file_types(),
and datasus_ufs().datasus_ftp_ls(),
datasus_build_path(), datasus_list_files(),
and datasus_download().guess_types, col_types, and
parse_dates to read_datasus_dbc().These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.