Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mcglm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leg
mcglm
Commits
f663e508
Commit
f663e508
authored
9 years ago
by
Walmes Marques Zeviani
Browse files
Options
Downloads
Patches
Plain Diff
Add build_vignette() in buildPkg.R.
parent
e5fa25df
Branches
Branches containing commit
Tags
v1.1.0
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildPkg.R
+17
-2
17 additions, 2 deletions
buildPkg.R
with
17 additions
and
2 deletions
buildPkg.R
+
17
−
2
View file @
f663e508
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
## Script to build and verify the package.
## Script to build and verify the package.
if
(
!
grepl
(
x
=
getwd
(),
pattern
=
"/mcglm$"
)){
if
(
!
grepl
(
x
=
getwd
(),
pattern
=
"/mcglm$"
)){
stop
(
"Move to /mcglm directory."
)
if
(
Sys.info
()[
"user"
]
==
"walmes"
){
setwd
(
"~/GitLab/mcglm"
)
}
## stop("Move to /mcglm directory.")
cat
(
getwd
(),
"\n"
)
}
}
##----------------------------------------------------------------------
##----------------------------------------------------------------------
...
@@ -12,7 +16,6 @@ library(devtools)
...
@@ -12,7 +16,6 @@ library(devtools)
## Load the package (to make functiona available).
## Load the package (to make functiona available).
load_all
()
load_all
()
search
()
## Create/update NAMESPACE, *.Rd files.
## Create/update NAMESPACE, *.Rd files.
document
()
document
()
...
@@ -39,6 +42,18 @@ build(manual = TRUE, vignettes = FALSE)
...
@@ -39,6 +42,18 @@ build(manual = TRUE, vignettes = FALSE)
# build the binary version for windows (not used)
# build the binary version for windows (not used)
# build_win()
# build_win()
##----------------------------------------------------------------------
## Package vignette.
## Based on: http://r-pkgs.had.co.nz/vignettes.html
## Create the vignette template. Do just once.
## use_vignette("vignette-01")
build_vignettes
()
## vignette()
## vignette("vignette-01", package="mcglm")
##----------------------------------------------------------------------
##----------------------------------------------------------------------
## Generate the README.md.
## Generate the README.md.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment