All functions accepting a CamtrapDP object as argument have an example in documentation at least where mica is used. mica as camtrap DP object is not anymore loaded: we read such an object and we hold it in cache via the reexported camtrapdp function example_dataset(). So, in @example section of ROxygen documentation should start always with:
x <- example_dataset()
and then use x consequently.
Notice that I have already replaced mica with x in all the vignettes in PR #307 .
Agreed with @PietrH to NOT change mica elsewhere, for example in tests.
All functions accepting a CamtrapDP object as argument have an example in documentation at least where mica is used.
mica
as camtrap DP object is not anymore loaded: we read such an object and we hold it in cache via the reexported camtrapdp functionexample_dataset()
. So, in @example section of ROxygen documentation should start always with:and then use
x
consequently.Notice that I have already replaced
mica
withx
in all the vignettes in PR #307 .Agreed with @PietrH to NOT change
mica
elsewhere, for example in tests.