EPPIcenter / sampleDB-rpackage

https://eppicenter.github.io/sampleDB-rpackage/
Other
1 stars 3 forks source link

Setup documentation is out of date / not accurate #3

Open ghost opened 2 years ago

ghost commented 2 years ago

This is a place holder for missing documentation to set up sample db.

Sample DB setup / run instructions should be up to date. Expectation is that a user should be able to download sample db and run without error following provided instructions.

ghost commented 2 years ago

Need to have instructions for Red Hat / CentOS - site wide installation is under /usr/lib64/R/library, which is different then ubuntu

Need to install devtools on fresh install using the instructions on the github wiki. Also:

ERROR: dependency ‘pkgdown’ is not available for package ‘devtools’
* removing ‘/usr/lib64/R/library/devtools’

The downloaded source packages are in
    ‘/tmp/RtmpKfEggp/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("devtools") :
  installation of package ‘textshaping’ had non-zero exit status
2: In install.packages("devtools") :
  installation of package ‘ragg’ had non-zero exit status
3: In install.packages("devtools") :
  installation of package ‘pkgdown’ had non-zero exit status
4: In install.packages("devtools") :
  installation of package ‘devtools’ had non-zero exit status

Should first install:

--------------------------- [ANTICONF] --------------------------------
Configuration failed to find the harfbuzz freetype2 fribidi library. Try installing:
 * deb: libharfbuzz-dev libfribidi-dev (Debian, Ubuntu, etc)
 * rpm: harfbuzz-devel fribidi-devel (Fedora, EPEL)
 * csw: libharfbuzz_dev libfribidi_dev (Solaris)
 * brew: harfbuzz fribidi (OSX)
install.packages('pkgdown', lib='/usr/lib64/R/library')
install.packages('devtools', lib="/usr/lib64/R/library")
ghost commented 2 years ago

Linux LTS 22 does not have make installed, need to run sudo apt install make also sudo apt install libxml2-dev also sudo apt install g++

ghost commented 2 years ago

forgot that g++ and make should be included in build-essential libfontconfig1-dev sudo apt install libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev

ghost commented 2 years ago

image