bcgov / bccamtrap

Managing camera trap data
https://bcgov.github.io/bccamtrap/
Apache License 2.0
2 stars 0 forks source link

Sample sessions - Function error #26

Closed btitaro closed 7 months ago

btitaro commented 7 months ago

Hi Andy - got another error in relation to sample session function: Error in make_sample_sessions(image_data) : could not find function "make_sample_sessions"

Thoughts?

ateucher commented 7 months ago

My only thought is that if you're restarted R and/or reinstalled the package you need to call library(bccamtrap) again to load it...

btitaro commented 7 months ago

Yep I think that might be it. Having trouble successfully removing prior installation of some packages, and installing the overall package. Will work through it and let you know if that solves the problem.

ateucher commented 7 months ago

Yeah Windows in particular can be cranky about installing packages that are currently loaded. Best thing is to restart R before installing. If you get really stuck with it, shut down R/Rstudio completely, find the library where packages are installed, and delete the bccamtrap package. Then open RStudio back up and install it again.