-
Change package loading in
README.Rmd
topkgload
so that the developmental version can be correctly loaded. -
Add badge of total downloads to
README.Rmd
.
-
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@inheritDotParams
tag, which is intrinsically not supported byroxygen2
to date.
-
Enable selection of multiple parameters when using
type = "param"
, in accordance with the update fromroxygen2 > 7.1.2
that 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.2
while accommodating to the changes (tested underroxygen2 = 7.1.1
).
- Add check on whether a function without specifying package (e.g.
filter
) appears in multiple packages (e.g.dplyr
andstats
). This will now result in an error.
- Change the test of a function from base package from
base::paste
function tobase::library
, since the former will result in<NA>
when extracting the documentation forsep
on MKL platform, as reported by CRAN.
-
Update string matches in
extract_roc_text.R
because 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.
-
Enforce R CMD check and code coverage workflows and add corresponding badges.
-
Add more tests to cover all code.
- Fix a bug that fails to cite a parameter if the function is from a loaded/attached package but not explicitly designated, e.g.
paste
instead ofbase::paste
.
-
extract_roc_text()
now defaults itscapitalize
argument 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.
-
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
fun
inextract_roc_text()
in a safer way usingget()
withmode = "function"
; previously it usedrlang::parse_expr()
witheval()
, which is risky for possible code injection.
- Initial release of the package.