Issue about package using

I am developing a package called scGRN, which is now available in GitHub. I created 3 functions in this package. For the third function scGRN_getNt, it doesn't work normally(just return a data frame with 0 rows). However, if I copy the function content and rename the function say f, f works well in global environment.

( f <- function() {} )

So I was wondering what's the difference between a function in global environment and function wrapped in a package.

I would appreciate it if someone could help. Thanks in advance.

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.