usethis v3.2.0.
Thanks to @jennybc
for the report and investigation.sepuku(), allowing to remove all traces of a
fusen-related files and tags in the package (#257 #258 #259) @ymansiauxinflate and inflate_all() proposes to
compute the package code coverage using
covr::package_coverage() using the codecov
parameter (default is FALSE)fusen::add_fusen_chunks() add a development chunk in
complement to the “function”, “example” and “test” chunks already
provided (#255) @ymansiaux# nolint: line_length_linter in created files to
avoid line length linter warnings (#278) @LBeaulatongrep() calls in unit tests (#271) @statnmapinflate_all*() does not use parameter
clean anymore. Use check_unregistered instead
to check if all files are registered in the configuration file.draw_package_structure() along with
get_package_structure() allows to draw the package
structure with all functions created in each R file, and whether they
are exported (#189)rename_flat_file() allows to rename a flat file, and
deals with config and inflated filesdeprecate_flat_file() helps properly deprecate a flat
file, modifies the config file and cleans the previously inflated
filesinflate() detects functions renamed or removed and
allow to clean the package repository (#24)organisation in
init_share_on_github() to send to a GitHub
organisationload_flat_functions() to work with VSCodestylers in
inflate_all*() (e.g
inflate_all(stylers = styler::style_pkg))packageVersion() with characterinflate_all() uses the configuration file to inflate
all your flat files at once. document and
check options are thus only run once for all flat files.
(#204, @ymansiaux)inflate() at least once for each
flat file.register_all_to_config()inflate() in a config file with
parametersinflate() creates a configuration file
“dev/config_fusen.yaml” to register all files created while inflating
the corresponding flat file, along with inflate parameters (#198, @ymansiaux)rmd and name in function
inflate() now lead to errors (Deprecated since
v0.3.0).add_dev_history() was deprecated since v0.3.0 in favor
of add_flat_template(). Now add_dev_history()
only adds a “dev_history.Rmd” file in the “dev/” directory.add_flat_template(template = "minimal") no longer
exists to avoid confusion between minimal package or minimal flat file.
Indeed, now there are
add_flat_template(template = "minimal_package") (also
add_minimal_package()) or
add_flat_template(template = "minimal_flat") (also
add_minimal_flat()). The latter doing exactly the same as
add_additional() (#187)create_fusen() still uses minimal as
minimal_packageinflate() still works, even if this name is not a proper
package name. What is important is that DESCRIPTION Package name is
correct.create_fusen() and the RStudio gui interface now accept
flat_file parameter to name the first flat file as well as
the first function (when using ‘minimal’ template).add_flat_template() are cleaned before being included in
the flat file to follow underscore rule.fill_description()
in examples, templates and tests (#155, @FlorenceMounier)create_fusen() vaccinates created git project
(#171)#' to avoid git diff against code
linters / stylers.init_share_on_github()inflate() in a config fileinflate() creates a “dev/config_fusen.yaml” file to
register all files created while inflating the corresponding flat file
(First steps in #24)register_all_to_config()df_to_config() to list legitimate scripts (even if not
associated with a flat file)function(” in documentation
(#174, @FlorenceMounier)function chunks of the flat file currently
opened with load_flat_functions() (Like a
load_all() for a flat file)inflate() a Quarto “.qmd” flat file
(#160)inflate() the current opened flat file if
flat_file is empty (#138)add_flat_template() for lazy devs:
add_additional(), add_full(),
add_minimal()inflate(vignette_name = c("Super title" = "01-Super Slug"))
for nice Title different from vignette Entry (#87)nyc_squirrels with encoding to avoid encoding
problems with use_data()tests onlyasciify_name() to account for diacritics (@
ALanguillaume)add_flat_template() superseeds
add_dev_history() with more advanced possibilitiesadd_dev_history() is deprecatedinflate(vignette_name = "Get started") instead of
nameinflate(flat_file = "dev/flat_full.Rmd") instead of
rmddevtools::check() instead of
rcmdcheck()inflate(vignette_name = NA)inflate(open_vignette = FALSE)\dontrun{} in example chunkscreate_fusen() to create a {fusen} project from command
line or with RStudio new project (@ALanguillaume)@rdname roxygen tag@filename roxygen tag (only recognized by ‘fusen’){r function-my_func, filename = "my_filename"}add_flat_template() uses the flat_name to
pre-fill the template with the first function name.R6Class() in function chunksadd_dev_history() (@Cervangirard)inflate() where
{RStudioapi} worksNEWS.md file to track changes to the
package.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.