Cannot run the library after installation of secr package

library(secr)
Error: package or namespace load failed for ‘secr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘terra’ 1.4-22 is already loaded, but >= 1.5.12 is required
In addition: Warning message:
package ‘secr’ was built under R version 4.1.2

It is showing this after running the library command. Would you mind telling me what's the issue and how I can resolve this?

You need a newer version of terra. Install last terra then install secr.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.