Error: 'fstat' is not an exported object from 'namespace:hierfstat'

Halo, could anybody help with the "fstat"?

I have try use these packages below but did not work:
remotes::install_version("hierfstat", version = "0.4.14")
#install.packages("hierfstat")
packageVersion("hierfstat")
library(hierfstat)

and when I run the script it says "Error: 'fstat' is not an exported object from 'namespace:hierfstat' "
look up to this info from CRAN https://cran-archive.r-project.org/web/checks/2020/2020-08-09_check_results_strataG.html cant help. ;(


A solution would be appreciated, thanks.

Why do you think fstat is a function in that package?

Its not found because its not there, my question to you is , why do you think it should be there.

Check with your colleagues what version are they using and then you can install the same version with remotes::install_version()

1 Like
1 Like

@nirgrahamuk, sory, I meant that why the function "fstat" can't be found, even though I have the "hierfstat" packages installed and the library loaded.?

There is no problem per se apart from your understanding.
You appear to have an unjustified and mistaken belief that there is something called fstat that you think should be in package hierfstat. It seems you are wrong, but I don't know what misled you. You have said nothing to justify your belief.

@nirgrahamuk as the warning error tells that 'fstat' is not an exported object from 'namespace:hierfstat' ".
would you tell me what Is needed to do to fix this problem?
thanks you

@nirgrahamuk, I admit that I am low key confused myself. hope you could help.
my colleague told me that obviously, in the newest version of hierfstat, "fstat" has been disabled. and I would need the fstat to analyze my data in R.