forestgeo / AGBfluxes

Compute flux of biomass at ForestGEO sites.
https://forestgeo.github.io/AGBfluxes/
GNU General Public License v3.0
2 stars 1 forks source link

Can't install the package #19

Closed ErvanCH closed 6 years ago

ErvanCH commented 6 years ago

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?

maurolepore commented 6 years ago

I believe this is solved now. Closing.

maurolepore commented 6 years ago

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.

maurolepore commented 6 years ago

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

https://youtu.be/YGLmv7JdNfU