This repository was archived by the owner on May 21, 2021. It is now read-only.
Releases: jeanmathieupotvin/blueprint
Releases · jeanmathieupotvin/blueprint
Development version 9002 pre-release
This is the first development version of package blueprint
. It packs a lot of features. The intent is to provide fundamental building blocks for future releases. Taken straight from NEWS.md
, here are the relevant changes.
-
New concepts
- strict atomic types
- Strict atomic are R types considered to be atomic objects in
the package:NULL
,logical
,integer
,single
(yes,single
, see
documentation of the package for more information),double
,complex
,
character
andraw
vectors. - These are the fundamental building blocks of R.
- Strict atomic are R types considered to be atomic objects in
- strict atomic types
-
New classes
Atomic
- A class to hold blueprints of strict atomic vectors. This is an
important class packed with a lot of features. Just like strict atomic
vectors are the building blocks of R, so is classAtomic
for the
package. All otherblueprint
's classes will reuse this class.
- A class to hold blueprints of strict atomic vectors. This is an
-
New features
- A new
%bp%
operator which can be used to construct blueprints in a
concise way. We call it the Blueprinter. - New assertion functions:
is_single()
,is_strict_atomic()
,
is_named_vctr()
andis_named_list()
. These are very useful.
- A new
-
Important changes
- Significant changes to class
Blueprint
to ensure consistency with class
Atomic
. - Package now imports packages
jsonlite
andyaml
for I/O.
- Significant changes to class
-
Other important changes
- Hundreds of new unit tests. We now use a consistent test structure derived
fromtestthat
3e edition. - New internal mechanisms / utility functions. They are more robust and
better tested. - New options system for I/O with packages
jsonlite
andyaml
. - New (experimental) Github workflows for future CI/CD pipeline.
- Hundreds of new unit tests. We now use a consistent test structure derived