Skip to content

Instantly share code, notes, and snippets.

@dncgst
Last active December 14, 2020 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dncgst/c162ea56cc4d747922d5f8a501bd7070 to your computer and use it in GitHub Desktop.
Save dncgst/c162ea56cc4d747922d5f8a501bd7070 to your computer and use it in GitHub Desktop.
How to install the heR.Misc R package

How to install the heR.Misc R package

Download heR.Misc from the heR Software Project

install.packages("~/R/heR.Misc.tar.gz", repos = NULL, type = "source")

  • installing source package ‘heR.Misc’ ... ERROR: a 'NAMESPACE' file is required

The solution is to add a NAMESPACE file

Untar the package:

tar -xvf the_package.tar.gz

Add a NAMESPACE file with the line exportPattern( "." ):

cd the_package

echo 'exportPattern( "." )' > NAMESPACE

cd ..

Re-tar the package:

tar -zcf the_package.tar.gz the_package

@dncgst
Copy link
Author

dncgst commented Dec 14, 2020

UPDATE 14.12.2020

The link (heR Software Project) is broken. Working on the fork of the original heR.Misc R package...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment