stringfish icon indicating copy to clipboard operation
stringfish copied to clipboard

Possible name conflict with package sf

Open billy34 opened this issue 5 years ago • 1 comments

Nice work but take care of name conflict that could arise with sf spatial package that use the same naming convention as you (mainly sf_XXX names).

billy34 avatar May 12 '20 12:05 billy34

Hi Billy,

A little late response, but this is easy to fix. Instead of attaching 'stringfish' with library(stringfish), you can load without attaching it using, for example: strf <- loadNamespace("stringfish") or alternatively, import it using tinycodet::import_as(~ strf, "stringfish"). In either case, all the functions are imported inside the strf object, and you can use strf$function_name() to actually use the functions. I hope this helps, and have a nice day :-)

Kind regards,

Tony

tony-aw avatar Mar 05 '23 17:03 tony-aw