geco-bern / FluxDataKit

LEMONTREE flux data kit
https://geco-bern.github.io/FluxDataKit
2 stars 11 forks source link

Error when installing package #55

Closed SamanthaBiegel closed 1 year ago

SamanthaBiegel commented 1 year ago

I'm getting the following error when I try to install the package:

Error: package or namespace load failed for ‘FluxDataKit’ in namespaceExport(ns, exports): undefined exports: prepare_setup_sofun

prepare_setup_sofun.R was removed in the latest commit, but it's still referenced in the 'NAMESPACE' file. The install is successful when I remove the reference or add the file back in.

@khufkens

khufkens commented 1 year ago

Run devtools::document() to update the NAMESPACE file. You shouldn't edit it manually generally.

This should fix the issue. Do a pull request if you will.

On Tue, Jul 11, 2023, 02:46 SamanthaBiegel @.***> wrote:

I'm getting the following error when I try to install the package:

Error: package or namespace load failed for ‘FluxDataKit’ in namespaceExport(ns, exports): undefined exports: prepare_setup_sofun

prepare_setup_sofun.R was removed in the latest commit, but it's still referenced in the 'NAMESPACE' file. The install is successful when I remove the reference or add the file back in.

@khufkens https://github.com/khufkens

— Reply to this email directly, view it on GitHub https://github.com/geco-bern/FluxDataKit/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKKUEXVBKV333ISO3ZQGLDXPUHGFANCNFSM6AAAAAA2FVDJ7I . You are receiving this because you were mentioned.Message ID: @.***>

khufkens commented 1 year ago

fix with #56