Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotspc upgrades #146

Merged
merged 10 commits into from
Jun 24, 2020
Merged

Plotspc upgrades #146

merged 10 commits into from
Jun 24, 2020

Conversation

dylanbeaudette
Copy link
Member

@dylanbeaudette dylanbeaudette commented Jun 24, 2020

Integrates several ideas from #59

@dylanbeaudette dylanbeaudette changed the title Plotspc upgrades adderessing #59 Plotspc upgrades Jun 24, 2020
lty=1,
default.color=grey(0.95),
...
) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dats nice.

@dylanbeaudette dylanbeaudette merged commit 934bb04 into master Jun 24, 2020
@dylanbeaudette dylanbeaudette deleted the plotSPC-upgrades branch June 24, 2020 21:57
Copy link
Member

@brownag brownag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled and tested latest commit. All tests passing.

@brownag
Copy link
Member

brownag commented Jun 24, 2020

Tests generate a warning related to not being able to delete the Rplots.pdf generated by the testing.

Also, this introduces an R CMD check warning.

  Undocumented arguments in documentation object 'plot,SoilProfileCollection,ANY-method'
    'x' 'color' 'width' 'name' 'name.style' 'label' 'hz.depths'
    'alt.label' 'alt.label.col' 'cex.names' 'cex.depth.axis' 'cex.id'
    'font.id' 'print.id' 'id.style' 'plot.order' 'relative.pos' 'add'
    'scaling.factor' 'y.offset' 'x.idx.offset' 'n' 'max.depth'
    'n.depth.ticks' 'shrink' 'shrink.cutoff' 'abbr' 'abbr.cutoff'
    'divide.hz' 'hz.distinctness.offset' 'hz.topography.lty'
    'axis.line.offset' 'plot.depth.axis' 'density' 'col.label'
    'col.palette' 'col.palette.bias' 'col.legend.cex' 'n.legend' 'lwd'
    'lty' 'default.color' '...'

@dylanbeaudette
Copy link
Member Author

That is really strange: I get no errors. What platform are you on? Likely one that understands permissions.

I need to do some research on how to properly document S4 stuff with roxygen. Ideas welcome.

@brownag
Copy link
Member

brownag commented Jun 24, 2020

No -- this was on the work machine. I pulled the latest version of your branch and ran devtools::test(). Resulted in one warning.

I agree that it doesnt make sense that I actually didn't have permission. -- it is possible that the plot device got left open.

@brownag
Copy link
Member

brownag commented Jun 25, 2020

As far as ideas for how to do S4 without creating errors, I can suggest checking out this commit 35b2724 and issue #139

@brownag
Copy link
Member

brownag commented Jun 28, 2020

These three small commits resolve the S4 errors and uncertainties about the plot generic.

e8d4bad
0de044c
0b5ee26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants