Releases: zhuxr11/roclang
Release list
roclang release v0.2.3
roclang release v0.2.2
roclang 0.2.2
Enhancements:
-
Change package loading in
README.Rmdtopkgloadso that the developmental version can be correctly loaded. -
Add badge of total downloads to
README.Rmd.
roclang release v0.2.1
roclang 0.2.1
Enhancements:
-
Improve parameter matching of
type = "dot_params". Now the negative selection of non-matched parameters also results in meaningful error messages. -
Remove the restriction on selecting
...whentype = "param". For example,...is documented as a meaningful parameter inorder. Tryextract_roc_text(order, type = "param", select = "..."). However,...cannot be inherited with@inheritDotParamstag, which is intrinsically not supported byroxygen2to date.
roclang release v0.2.0
roclang 0.2.0
Enhancements:
-
Enable selection of multiple parameters when using
type = "param", in accordance with the update fromroxygen2 > 7.1.2that co-documented parameters should be selected in a whole set when extracting their shared documentation. However, selecting multiple independently documented parameters usingtype = "param"is still not allowed, since the documentation to diffuse should keep to a single entry per call. To diffuse documentation from multiple independently documented parameters, please call the function on each of them. -
Add check on whether the extracted documentation entry is invalid (
NA_character_) or multiple. These two cases will now result in error, since in most cases such results are not expected. The documentation entry can be multiple if selecting multiple independently documented parameters usingtype = "param"(not allowed). -
Keep backward compatibility with
roxygen2 <= 7.1.2while accommodating to the changes (tested underroxygen2 = 7.1.1).
roclang release v0.1.4
roclang 0.1.4
Enhancements:
- Add check on whether a function without specifying package (e.g.
filter) appears in multiple packages (e.g.dplyrandstats). This will now result in an error.
Bug fixes:
- Change the test of a function from base package from
base::pastefunction tobase::library, since the former will result in<NA>when extracting the documentation forsepon MKL platform, as reported by CRAN.
roclang release v0.1.3
roclang 0.1.3
Bug fixes:
-
Update string matches in
extract_roc_text.Rbecause of an update instats::lm()documentation: from\\\\code\{lm\} is used to fit linear models\\.to\\\\code\{lm\} is used to fit linear models, including multivariate ones\\.. -
Fix some typos in comments.
roclang release v0.1.2
roclang 0.1.2
Enhancements:
-
Enforce R CMD check and code coverage workflows and add corresponding badges.
-
Add more tests to cover all code.
Bug fixes:
- Fix a bug that fails to cite a parameter if the function is from a loaded/attached package but not explicitly designated, e.g.
pasteinstead ofbase::paste.
roclang release v0.1.1
roclang 0.1.1
Enhancements:
-
extract_roc_text()now defaults itscapitalizeargument toNA, leaving the function to keep the first letter of the return as is. Previously the default wasTRUE, which would capitalize the first letter anyways if missing. -
Add package documentation.
Bug fixes:
-
Fix a few typos in README.Rmd and function documentations.
-
Add single quotes to non-standard words.
-
Update release status on CRAN and installation methods.
-
Handle parsing of
funinextract_roc_text()in a safer way usingget()withmode = "function"; previously it usedrlang::parse_expr()witheval(), which is risky for possible code injection.
roclang release v0.1.0
roclang 0.1.0
- Initial release of the package.