Novice R user here, so I might be doing something wrong.
Installing from github (both master and v3.0) installs version 0.2.3:
Restarting R session...
> library("dagitty")
Error in library("dagitty") : there is no package called ‘dagitty’
> library(devtools)
Loading required package: usethis
> install_github("jtextor/dagitty/r")
Downloading GitHub repo jtextor/dagitty@master
✓ checking for file ‘/private/var/folders/yk/3mfv2d_d33jc54854g68hktc0000gn/T/RtmpZVW1S6/remotes236e1ab6f7a7/jtextor-dagitty-d163478/r/DESCRIPTION’ ...
─ preparing ‘dagitty’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘dagitty_0.2-3.tar.gz’
* installing *source* package ‘dagitty’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (dagitty)
> packageVersion("dagitty")
[1] ‘0.2.3’
> remove.packages("dagitty")
Removing package from ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library’
(as ‘lib’ is unspecified)
Or from the v3.0 tag:
Restarting R session...
> library(devtools)
Loading required package: usethis
> packageVersion("dagitty")
Error in packageVersion("dagitty") : there is no package called ‘dagitty’
> install_github("jtextor/dagitty/r", ref = "v3.0")
Downloading GitHub repo jtextor/dagitty@v3.0
✓ checking for file ‘/private/var/folders/yk/3mfv2d_d33jc54854g68hktc0000gn/T/Rtmp48SgpV/remotes23bca075161/jtextor-dagitty-86215de/r/DESCRIPTION’ ...
─ preparing ‘dagitty’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘dagitty_0.2-3.tar.gz’
* installing *source* package ‘dagitty’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (dagitty)
> packageVersion("dagitty")
[1] ‘0.2.3’
Novice R user here, so I might be doing something wrong. Installing from github (both
master
andv3.0
) installs version 0.2.3:Or from the
v3.0
tag: