Hide R namespaces for testing purposes -


i'm developing r package can optionally use third-party packages, specified in "suggests" field of description file. functions may optionally use suggested third-party packages check availability via requirenamespace function. these functions behave differently depending on presence or not of suggested packages.

while implementing tests theses functions, test case optional packages not present. question is: possible temporarily hide namespace testing purposes, such requirenamespace function returns false when searching it?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -