forestgeo/AGBfluxes

Can't install the package

ErvanCH opened this issue · 3 comments

Hi Mauro,

I tried to install the package I pushed today to get all objects and the functions to work poperly, but it fails. Here is what I got after having called:
install_github("forestgeo/AGBfluxes",force=T)

..
(lots of stufff)
..
** testing if installed package can be loaded
Error: package or namespace load failed for 'AGBfluxes' in namespaceExport(ns, exports):
undefined exports: data_correction
Error: loading failed
Execution halted
ERROR: loading failed

Any hint?

I believe this is solved now. Closing.

It looks like you need to re-document. You seem to have removed a funciton that is still appearing in your NAMESPACE. To fix this, run devtools::document(), or press Control + Shift + D. Only then you can run devtools::build() and devtools::install().

Also, make sure you generate documentation with Roxygen:

image

If this works, please close this issue.

BTW, you may want to see this short video about package documentation:

https://youtu.be/YGLmv7JdNfU