Skip to content

Commit

Permalink
Merge pull request #177 from UUPharmacometrics/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Benjamin authored Mar 17, 2020
2 parents 4a0f2e2 + 9a05b16 commit ee1c060
Show file tree
Hide file tree
Showing 152 changed files with 7,841 additions and 4,974 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: xpose
Type: Package
Title: Diagnostics for Pharmacometric Models
Version: 0.4.7
Version: 0.4.8
Authors@R: c(
person('Benjamin', 'Guiastrennec',
role = c('aut', 'cre', 'cph'),
Expand Down Expand Up @@ -54,4 +54,4 @@ BugReports: https://github.com/UUPharmacometrics/xpose/issues
Encoding: UTF-8
LazyData: true
VignetteBuilder: knitr
RoxygenNote: 7.0.2
RoxygenNote: 7.1.0
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# xpose 0.4.8
* Compatibility fix for ggplot 3.3.0 and tibble 3.0.0

# xpose 0.4.7
* Fixed error in documentation check fail in R 4.0.0

Expand Down
2 changes: 1 addition & 1 deletion R/fetch_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ only_obs <- function(xpdb, .problem, quiet) {
string <- c('Filtering data by ', mdv_var, ' == 0')
body(fun) <- bquote({
msg(.(string), .(quiet))
x[x[, .(mdv_var)] == 0, ]
x[as.vector(x[, .(mdv_var)] == 0), ]
})
} else {
string <- c('No `evid` or `mdv` variable available to filter the data.')
Expand Down
2 changes: 1 addition & 1 deletion R/plot_amt.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @inheritSection xplot_scatter Template titles
#' @seealso \code{\link{xplot_scatter}}
#' @examples
#' amt_vs_idv(xpdb_ex_pk)
#' amt_vs_idv(xpdb_ex_pk, nrow = 2, ncol = 1)
#'
#' @export
amt_vs_idv <- function(xpdb,
Expand Down
9 changes: 7 additions & 2 deletions R/read_nm_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,13 @@ parse_nm_files <- function(dat, quiet) {
if (length(unlist(dat$raw)) == 0) {
tab_rows <- NULL
} else {
x <- dplyr::tibble(raw = unlist(dat$raw), problem = NA,
subprob = NA, method = NA, header = FALSE)
x <- dplyr::tibble(
raw = unlist(dat$raw),
problem = NA_character_,
subprob = NA_character_,
method = NA_character_,
header = FALSE
)
tab_rows <- which(stringr::str_detect(x$raw, '^\\s*TABLE NO'))
}

Expand Down
Binary file modified data/xpdb_ex_pk.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/CONTRIBUTING.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/about.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/access_xpdb_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/customize_plots.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/faq.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/import_model_outputs.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions docs/articles/interactive_plots.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Adjust margins outwards, so column contents line up with the edges of the
parent of container-fluid. */
.container-fluid.crosstalk-bscols {
margin-left: -30px;
margin-right: -30px;
white-space: normal;
}

/* But don't adjust the margins outwards if we're directly under the body,
i.e. we were the top-level of something at the console. */
body > .container-fluid.crosstalk-bscols {
margin-left: auto;
margin-right: auto;
}

.crosstalk-input-checkboxgroup .crosstalk-options-group .crosstalk-options-column {
display: inline-block;
padding-right: 12px;
vertical-align: top;
}

@media only screen and (max-width:480px) {
.crosstalk-input-checkboxgroup .crosstalk-options-group .crosstalk-options-column {
display: block;
padding-right: inherit;
}
}
Loading

0 comments on commit ee1c060

Please sign in to comment.