added a note to the documentation in set_attributes() to prompt users to use "dimensionless" for values without units.
included an additional note in the warning message, triggered only when the unrecognised unit is NA.
Formatted Roxygen documentation for readability (corrected bullet points and added some bold emphasis)
Added a test for the unrecognised unit warning
Rebuilt pkdown docs, initially just to update set_attributes() reference but seeing as docs still had the previous version, I rebuilt the lot. Perhaps you want to consider building docs with tic? (what do reckon @maelle 😉).
Related to #274
added a note to the documentation in
set_attributes()
to prompt users to use "dimensionless" for values without units.included an additional note in the warning message, triggered only when the unrecognised unit is NA.
Formatted Roxygen documentation for readability (corrected bullet points and added some bold emphasis)
Added a test for the unrecognised unit warning
Rebuilt pkdown docs, initially just to update
set_attributes()
reference but seeing as docs still had the previous version, I rebuilt the lot. Perhaps you want to consider building docs with tic? (what do reckon @maelle 😉).Let me know if you want me to change anything!