FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stringdist/build.bash at master · linearregression/stringdist · GitHub
linearregression
stringdist
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
stringdist
/
build.bash
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
37 lines (30 loc) · 639 Bytes
Breadcrumbs
stringdist
/
build.bash
Copy path
File metadata and controls
executable file
·
37 lines (30 loc) · 639 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!
/bin/bash
R=R
CHECKARG=
"
"
while
[
$#
-gt
0 ]
;
do
case
"
$1
"
in
-dev)
R=Rdev
shift
1 ;;
*
)
CHECKARG=
"
$CHECKARG
$1
"
shift
1 ;;
esac
done
echo
"
######## Removing building information...
"
rm -rf output
echo
"
######## Copying DESCRIPTION and NAMESPACE to pkg directory...
"
cp build/DESCRIPTION pkg
echo
"
######## Generate documentation...
"
$R
-q -f roxygen.R
echo
"
######## Building package in output...
"
mkdir output
cd
output
$R
CMD build ../pkg
echo
"
######## Testing package with
$CHECKARG
...
"
for
x
in
*
.tar.gz
do
$R
CMD check
$CHECKARG
$x
done
echo
"
**BUILT USING
$R
"
$R
--version
Back
|
FazBrowse Home
|
New Git URL