EasyMARK and Maker.CH problems


I am using the plug in for Program MARK in RSudio and I am not succeeding at all.
I have imported the text file and installed the necessary packages including rjava and EasyMARK.

ch<-Maker.CH(dates = mark$Date, id = mark$AnimalID, date.format="%Y_%m_%d")

I keep getting an error that the Maker.CH can't be found and the help function is of no help.


Could you please turn your sample code here into a self-contained reprex (short for minimal reproducible example)? It will help us help you if we can be sure we're all working with/looking at the same stuff.

Right now the best way to install reprex is:

# install.packages("devtools")

If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page. The reprex dos and don'ts are also useful.

If you run into problems with access to your clipboard, you can specify an outfile for the reprex, and then copy and paste the contents into the forum.

reprex::reprex(input = "fruits_stringdist.R", outfile = "fruits_stringdist.md")

For pointers specific to the community site, check out the reprex FAQ, linked to below.

While you are working on a reprex, I wanted to offer a quick troubleshooting idea as I have also encountered the problem:
Make sure your "Date" variable is being read as a valid calendar date (you can check this with the function str(mark$Date)) , otherwise you will have to use as.date() to force the reading of the variables a date.
If the dates are giving you problems, check if the .csv has some format specified for date (I ended up having formatting as a date in my region of interest (English(South Africa) ) for the as.date() to work) . the number of rows of dates should equal the number of rows of animal id. I then called up the EasyMark package and ran Maker.ch function and it worked. I have just started working with the EasyMark package and In lieu of knowing more about the data, these are the only suggestions I have. Hope it can help you or someone else.